Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
ccb99b71
提交
ccb99b71
authored
8月 04, 2023
作者:
zhenjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
实名认证返回字段修改
上级
f7f4bc94
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
9 行删除
+3
-9
RealNameAuthDO.java
...rc/main/java/com/mmc/iuav/user/entity/RealNameAuthDO.java
+1
-1
RealNameAuthDao.xml
...ervice-user/src/main/resources/mapper/RealNameAuthDao.xml
+2
-8
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/entity/RealNameAuthDO.java
浏览文件 @
ccb99b71
...
@@ -53,7 +53,7 @@ public class RealNameAuthDO implements Serializable {
...
@@ -53,7 +53,7 @@ public class RealNameAuthDO implements Serializable {
public
RealNameAuthDTO
buildRealNameAuthDTO
()
{
public
RealNameAuthDTO
buildRealNameAuthDTO
()
{
SimpleDateFormat
cur
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
SimpleDateFormat
cur
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
return
RealNameAuthDTO
.
builder
().
id
(
this
.
id
).
userAccountId
(
this
.
userAccountId
).
uid
(
this
.
i
d
+
""
)
return
RealNameAuthDTO
.
builder
().
id
(
this
.
id
).
userAccountId
(
this
.
userAccountId
).
uid
(
this
.
userAccountI
d
+
""
)
.
nickName
(
this
.
nickName
).
userName
(
this
.
userName
).
phoneNum
(
this
.
phoneNum
).
idNumber
(
this
.
idNumber
)
.
nickName
(
this
.
nickName
).
userName
(
this
.
userName
).
phoneNum
(
this
.
phoneNum
).
idNumber
(
this
.
idNumber
)
.
resAddress
(
this
.
resAddress
).
checkStatus
(
this
.
checkStatus
)
.
resAddress
(
this
.
resAddress
).
checkStatus
(
this
.
checkStatus
)
.
createTime
((
this
.
createTime
==
null
)
?
null
:
cur
.
format
(
this
.
createTime
)).
remark
(
this
.
remark
).
build
();
.
createTime
((
this
.
createTime
==
null
)
?
null
:
cur
.
format
(
this
.
createTime
)).
remark
(
this
.
remark
).
build
();
...
...
csm-service/cms-service-user/src/main/resources/mapper/RealNameAuthDao.xml
浏览文件 @
ccb99b71
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<select
id=
"countListRealNameAuth"
resultType=
"java.lang.Integer"
>
<select
id=
"countListRealNameAuth"
resultType=
"java.lang.Integer"
>
select count(*) from user_account ua inner join real_name_auth rna on
select count(*) from user_account ua inner join real_name_auth rna on
ua.id=rna.user_account_id
ua.id=rna.user_account_id
where ua.`disable` = 0 and check_status = 1
where ua.`disable` = 0 and
rna.
check_status = 1
<if
test=
"keyword != null and keyword != '' "
>
<if
test=
"keyword != null and keyword != '' "
>
and ( ua.id like concat('%',#{keyword},'%')
and ( ua.id like concat('%',#{keyword},'%')
or
or
...
@@ -119,9 +119,6 @@
...
@@ -119,9 +119,6 @@
concat('%',#{keyword},'%')
concat('%',#{keyword},'%')
)
)
</if>
</if>
<if
test=
"checkStatus != null "
>
and rna.check_status = #{checkStatus}
</if>
</select>
</select>
<select
id=
"listRealNameAuth"
resultType=
"com.mmc.iuav.user.entity.RealNameAuthDO"
<select
id=
"listRealNameAuth"
resultType=
"com.mmc.iuav.user.entity.RealNameAuthDO"
...
@@ -130,7 +127,7 @@
...
@@ -130,7 +127,7 @@
rna.id,rna.user_account_id,ua.nick_name,rna.user_name,ua.phone_num,rna.check_status,rna.create_time,rna.remark
rna.id,rna.user_account_id,ua.nick_name,rna.user_name,ua.phone_num,rna.check_status,rna.create_time,rna.remark
from user_account ua inner join real_name_auth rna on
from user_account ua inner join real_name_auth rna on
ua.id=rna.user_account_id
ua.id=rna.user_account_id
where ua.`disable` = 0
where ua.`disable` = 0
and rna.check_status = 1
<if
test=
"keyword != null and keyword != '' "
>
<if
test=
"keyword != null and keyword != '' "
>
and ( ua.id like concat('%',#{keyword},'%')
and ( ua.id like concat('%',#{keyword},'%')
or
or
...
@@ -139,9 +136,6 @@
...
@@ -139,9 +136,6 @@
concat('%',#{keyword},'%')
concat('%',#{keyword},'%')
)
)
</if>
</if>
<if
test=
"checkStatus != null "
>
and rna.check_status = #{checkStatus}
</if>
order by rna.create_time DESC
order by rna.create_time DESC
limit #{pageNo},#{pageSize}
limit #{pageNo},#{pageSize}
</select>
</select>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论