Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
cms-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
cms-ci-test
Commits
5df605ea
提交
5df605ea
authored
9月 22, 2023
作者:
xiaowang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
数据看板bug修复
上级
43d7277e
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
32 行增加
和
16 行删除
+32
-16
UserServiceDao.xml
...service-user/src/main/resources/mapper/UserServiceDao.xml
+27
-13
PilotCertificationDao.xml
...ain/resources/mapper/dronepilot/PilotCertificationDao.xml
+5
-3
没有找到文件。
csm-service/cms-service-user/src/main/resources/mapper/UserServiceDao.xml
浏览文件 @
5df605ea
...
@@ -505,6 +505,7 @@
...
@@ -505,6 +505,7 @@
select count(*)
select count(*)
from user_account
from user_account
where disable = 0
where disable = 0
and port_type = 100
</select>
</select>
<select
id=
"getYesterdayAddUserCount"
resultType=
"java.lang.Integer"
>
<select
id=
"getYesterdayAddUserCount"
resultType=
"java.lang.Integer"
>
SELECT count(*)
SELECT count(*)
...
@@ -519,15 +520,23 @@
...
@@ -519,15 +520,23 @@
</select>
</select>
<select
id=
"countPhoneNum"
resultType=
"java.lang.Integer"
>
<select
id=
"countPhoneNum"
resultType=
"java.lang.Integer"
>
select count(*) from user_account where phone_num = #{phoneNum} and `disable`=0 and account_status=1
select count(*)
from user_account
where phone_num = #{phoneNum}
and `disable` = 0
and account_status = 1
</select>
</select>
<select
id=
"countPhoneNums"
resultType=
"java.lang.Integer"
>
<select
id=
"countPhoneNums"
resultType=
"java.lang.Integer"
>
select count(*) from user_account where phone_num = #{phoneNum}
select count(*)
and `disable`=0 and account_status=1 and id=#{userAccountId}
from user_account
where phone_num = #{phoneNum}
and `disable` = 0
and account_status = 1
and id = #{userAccountId}
</select>
</select>
<select
id=
"updateAccountPhone"
>
<select
id=
"updateAccountPhone"
>
update user_account
update user_account
<set>
<set>
phone_num = #{phoneNum}
phone_num = #{phoneNum}
...
@@ -559,22 +568,27 @@
...
@@ -559,22 +568,27 @@
<select
id=
"selectUserAccount"
resultType=
"java.lang.Integer"
<select
id=
"selectUserAccount"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.iuav.user.model.qo.UserMessageQO"
>
parameterType=
"com.mmc.iuav.user.model.qo.UserMessageQO"
>
select count(*) from user_account where disable=0 and nick_name=#{nickName} and id!=#{id}
select count(*)
from user_account
where disable = 0
and nick_name = #{nickName}
and id!=#{id}
</select>
</select>
<select
id=
"selectUserAccountNickName"
resultType=
"java.lang.Integer"
<select
id=
"selectUserAccountNickName"
resultType=
"java.lang.Integer"
parameterType=
"com.mmc.iuav.user.entity.UserAccountDO"
>
parameterType=
"com.mmc.iuav.user.entity.UserAccountDO"
>
select count(*) from user_account where disable=0 and nick_name=#{nickName} and id!=#{id}
select count(*)
from user_account
where disable = 0
and nick_name = #{nickName}
and id!=#{id}
</select>
</select>
<select
id=
"getDistrictChild"
resultType=
"java.lang.String"
>
<select
id=
"getDistrictChild"
resultType=
"java.lang.String"
>
SELECT
SELECT concat(p1.`name`, p2.`name`) AS region
concat( p1.`name`, p2.`name` ) AS region
FROM sys_district p1,
FROM
sys_district p2
sys_district p1,
WHERE p2.LEVEL != 3
sys_district p2
WHERE
p2.LEVEL != 3
AND p1.id = p2.pid
AND p1.id = p2.pid
AND p2.id = #{districtChildId}
AND p2.id = #{districtChildId}
</select>
</select>
...
...
csm-service/cms-service-user/src/main/resources/mapper/dronepilot/PilotCertificationDao.xml
浏览文件 @
5df605ea
...
@@ -361,8 +361,10 @@
...
@@ -361,8 +361,10 @@
where id = #{id}
where id = #{id}
</select>
</select>
<select
id=
"getDronePilotCount"
resultType=
"java.lang.Integer"
>
<select
id=
"getDronePilotCount"
resultType=
"java.lang.Integer"
>
select count(*)
SELECT count(*)
from pilot_certification
FROM pilot_certification pc
where audit_status = 1
LEFT JOIN user_account ua ON pc.user_account_id = ua.id
WHERE pc.audit_status = 1
AND ua.`disable` = 0
</select>
</select>
</mapper>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论