Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
173ef5d7
提交
173ef5d7
authored
6月 10, 2023
作者:
zhenjie
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
用户列表认证状态过滤
上级
e923828e
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
7 行增加
和
6 行删除
+7
-6
UserAccountController.java
...a/com/mmc/iuav/user/controller/UserAccountController.java
+1
-1
UserServiceDao.xml
...service-user/src/main/resources/mapper/UserServiceDao.xml
+5
-5
not-check.yml
...service/cms-service-user/src/main/resources/not-check.yml
+1
-0
没有找到文件。
csm-service/cms-service-user/src/main/java/com/mmc/iuav/user/controller/UserAccountController.java
浏览文件 @
173ef5d7
...
...
@@ -30,7 +30,7 @@ public class UserAccountController extends BaseController{
@ApiOperation
(
value
=
"客户列表"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
UserAccountVO
.
class
)
})
@PostMapping
(
"listAppUser"
)
public
ResultBody
listAppUser
(
@Validated
(
value
=
{
Page
.
class
})
@RequestBody
UserAccountQO
userAccountQO
){
public
ResultBody
<
UserAccountVO
>
listAppUser
(
@Validated
(
value
=
{
Page
.
class
})
@RequestBody
UserAccountQO
userAccountQO
){
return
userAccountService
.
listAppUser
(
userAccountQO
);
}
...
...
csm-service/cms-service-user/src/main/resources/mapper/UserServiceDao.xml
浏览文件 @
173ef5d7
...
...
@@ -261,8 +261,8 @@
<if
test=
"phoneNum != null and phoneNum != '' "
>
and ( ua.phone_num like CONCAT("%",#{phoneNum},"%") )
</if>
<if
test=
"companyAuthStatus != null
"
>
AND
ca.auth_status >
= #{companyAuthStatus}
<if
test=
"companyAuthStatus != null"
>
AND
IFNULL(ca.auth_status, 0)
= #{companyAuthStatus}
</if>
<if
test=
"startTime != null "
>
AND ua.create_time >= #{startTime}
...
...
@@ -284,15 +284,15 @@
<select
id=
"listAppUser"
resultType=
"com.mmc.iuav.user.entity.UserAccountDO"
parameterType=
"com.mmc.iuav.user.model.qo.UserAccountQO"
>
select ua.id, ua.account_type, ua.account_no, ua.uid, ua.phone_num, ua.user_name, ua.nick_name, ua.user_img, ua.open_id, ua.union_id, ua.user_sex, ua.email, ua.source, ua.account_status, ua.remark,
ua.port_type, ua.is_deleted as deleted, ua.create_time, ua.update_time, ut.cooperation_tag_id,
ca.auth_status
as companyAuthStatus, ca.company_name
ua.port_type, ua.is_deleted as deleted, ua.create_time, ua.update_time, ut.cooperation_tag_id,
IFNULL(ca.auth_status, 0)
as companyAuthStatus, ca.company_name
from user_account ua left join user_tag ut on ua.id = ut.user_account_id left join company_auth ca on ua.id = ca.user_account_id
where
ua.is_deleted = 0 and ua.port_type = 100
<if
test=
"phoneNum != null and phoneNum != '' "
>
and ( ua.phone_num like CONCAT("%",#{phoneNum},"%") )
</if>
<if
test=
"companyAuthStatus != null
and companyAuthStatus != 0
"
>
AND
ca.auth_status >
= #{companyAuthStatus}
<if
test=
"companyAuthStatus != null"
>
AND
IFNULL(ca.auth_status, 0)
= #{companyAuthStatus}
</if>
<if
test=
"startTime != null "
>
AND ua.create_time >= #{startTime}
...
...
csm-service/cms-service-user/src/main/resources/not-check.yml
浏览文件 @
173ef5d7
...
...
@@ -11,6 +11,7 @@ data-filter:
-
/userapp/auth/appletLogin
-
/userapp/auth/backEndLogin
-
/userapp/cooperation/listTag
-
/userapp/cooperation/feignListCooperationTag
-
/userapp/cooperation/getTagById
-
/userapp/temp-auth/getLoginInfo
-
/userapp/wx/getAppletQRCode
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论