Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-cloud-account
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.account
pica-cloud-account
提交
81ba42d1
提交
81ba42d1
编写于
3月 01, 2022
作者:
wenhao.qin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
补充上次
上级
2c3c33be
流水线
#42785
已取消 于阶段
变更
1
流水线
1
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
38 行增加
和
75 行删除
+38
-75
AccountMapper.xml
server/src/main/resources/mybatis/AccountMapper.xml
+38
-75
未找到文件。
server/src/main/resources/mybatis/AccountMapper.xml
浏览文件 @
81ba42d1
...
@@ -2,38 +2,6 @@
...
@@ -2,38 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.pica.cloud.account.account.server.mapper.AccountMapper"
>
<mapper
namespace=
"com.pica.cloud.account.account.server.mapper.AccountMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.pica.cloud.account.account.server.entity.Account"
>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"sex"
jdbcType=
"INTEGER"
property=
"sex"
/>
<result
column=
"name"
jdbcType=
"VARCHAR"
property=
"name"
/>
<result
column=
"mobile_phone"
jdbcType=
"VARCHAR"
property=
"mobilePhone"
/>
<result
column=
"acct_id"
jdbcType=
"INTEGER"
property=
"acctId"
/>
<result
column=
"status"
jdbcType=
"INTEGER"
property=
"status"
/>
<result
column=
"certify_status"
jdbcType=
"INTEGER"
property=
"certifyStatus"
/>
<result
column=
"nation"
jdbcType=
"VARCHAR"
property=
"nation"
/>
<result
column=
"avatar_image_url"
jdbcType=
"VARCHAR"
property=
"avatarImageUrl"
/>
<result
column=
"email"
jdbcType=
"VARCHAR"
property=
"email"
/>
<result
column=
"qrcode"
jdbcType=
"VARCHAR"
property=
"qrcode"
/>
<result
column=
"nickname"
jdbcType=
"VARCHAR"
property=
"nickname"
/>
<result
column=
"personal_sign"
jdbcType=
"VARCHAR"
property=
"personalSign"
/>
<result
column=
"delete_flag"
jdbcType=
"INTEGER"
property=
"deleteFlag"
/>
<result
column=
"creat_id"
jdbcType=
"INTEGER"
property=
"creatId"
/>
<result
column=
"creat_time"
jdbcType=
"TIMESTAMP"
property=
"creatTime"
/>
<result
column=
"modify_id"
jdbcType=
"INTEGER"
property=
"modifyId"
/>
<result
column=
"modify_time"
jdbcType=
"TIMESTAMP"
property=
"modifyTime"
/>
<result
column=
"password"
jdbcType=
"VARCHAR"
property=
"password"
/>
<result
column=
"info"
jdbcType=
"VARCHAR"
property=
"info"
/>
<result
column=
"entire_flag"
jdbcType=
"INTEGER"
property=
"entireFlag"
/>
<result
column=
"reg_time"
jdbcType=
"DATE"
property=
"regTime"
/>
<result
column=
"last_login_time"
jdbcType=
"TIMESTAMP"
property=
"lastLoginTime"
/>
<result
column=
"unionid"
jdbcType=
"VARCHAR"
property=
"unionid"
/>
<result
column=
"register_source"
jdbcType=
"INTEGER"
property=
"registerSource"
/>
<result
column=
"comment"
jdbcType=
"VARCHAR"
property=
"comment"
/>
<result
column=
"register_type"
jdbcType=
"INTEGER"
property=
"registerType"
/>
<result
column=
"first_login_time"
jdbcType=
"TIMESTAMP"
property=
"firstLoginTime"
/>
<result
column=
"card"
jdbcType=
"VARCHAR"
property=
"card"
/>
<result
column=
"birthday"
jdbcType=
"DATE"
property=
"birthday"
/>
</resultMap>
<resultMap
id=
"BaseResultMap"
type=
"com.pica.cloud.account.account.server.entity.Account"
>
<resultMap
id=
"BaseResultMap"
type=
"com.pica.cloud.account.account.server.entity.Account"
>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<id
column=
"id"
jdbcType=
"INTEGER"
property=
"id"
/>
<result
column=
"sex"
jdbcType=
"INTEGER"
property=
"sex"
/>
<result
column=
"sex"
jdbcType=
"INTEGER"
property=
"sex"
/>
...
@@ -72,19 +40,17 @@
...
@@ -72,19 +40,17 @@
id, sex, name, mobile_phone, status, certify_status, nation, avatar_image_url, email, qrcode, nickname, personal_sign, delete_flag,
id, sex, name, mobile_phone, status, certify_status, nation, avatar_image_url, email, qrcode, nickname, personal_sign, delete_flag,
creat_id, creat_time, modify_id, modify_time, password, info, entire_flag, reg_time, last_login_time,
creat_id, creat_time, modify_id, modify_time, password, info, entire_flag, reg_time, last_login_time,
unionid, register_source, comment, register_type, first_login_time, card, birthday
unionid, register_source, comment, register_type, first_login_time, card, birthday
</sql>
unionid, register_source, comment, register_type, first_login_time, card, birthday, hospital_id
unionid, register_source, comment, register_type, first_login_time, card, birthday, hospital_id
</sql>
</sql>
<select
id=
"selectById"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
<select
id=
"selectById"
parameterType=
"java.lang.Long"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from p_doctor
from p_doctor
where id = #{id,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</select>
</select>
<insert
id=
"insertSelective"
parameterType=
"com.pica.cloud.account.account.server.entity.Account"
<insert
id=
"insertSelective"
parameterType=
"com.pica.cloud.account.account.server.entity.Account"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into p_doctor
insert into p_doctor
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"sex != null"
>
<if
test=
"sex != null"
>
...
@@ -344,14 +310,14 @@
...
@@ -344,14 +310,14 @@
<select
id=
"getByMobilePhone"
resultMap=
"BaseResultMap"
>
<select
id=
"getByMobilePhone"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from p_doctor
from p_doctor
where mobile_phone = #{mobilePhone} and delete_flag = 1 limit 1
where mobile_phone = #{mobilePhone} and delete_flag = 1 limit 1
</select>
</select>
<select
id=
"getByUnionid"
resultMap=
"BaseResultMap"
>
<select
id=
"getByUnionid"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from p_doctor
from p_doctor
where unionid = #{unionid} and delete_flag = 1
where unionid = #{unionid} and delete_flag = 1
limit 1
limit 1
...
@@ -359,7 +325,7 @@
...
@@ -359,7 +325,7 @@
<select
id=
"getByCard"
resultMap=
"BaseResultMap"
>
<select
id=
"getByCard"
resultMap=
"BaseResultMap"
>
select
select
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
from p_doctor
from p_doctor
where card = #{card} and delete_flag = 1
where card = #{card} and delete_flag = 1
limit 1
limit 1
...
@@ -377,7 +343,6 @@
...
@@ -377,7 +343,6 @@
</if>
</if>
limit #{offset}, #{size}
limit #{offset}, #{size}
</select>
</select>
<sql
id=
"select_list_page"
>
<sql
id=
"select_list_page"
>
p.delete_flag=1 AND p.hospital_id=#{hospitalId}
p.delete_flag=1 AND p.hospital_id=#{hospitalId}
<if
test=
"mobile != null"
>
<if
test=
"mobile != null"
>
...
@@ -413,6 +378,4 @@
...
@@ -413,6 +378,4 @@
ORDER BY p.reg_time DESC
ORDER BY p.reg_time DESC
limit #{pageNo},#{pageSize}
limit #{pageNo},#{pageSize}
</select>
</select>
</mapper>
</mapper>
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录