Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
fab33c77
提交
fab33c77
authored
12月 01, 2023
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
飞手团队可以查看飞手接的订单和飞手发的订单
上级
565f74ae
流水线
#7351
已通过 于阶段
in 2 分 42 秒
变更
2
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
25 行增加
和
5 行删除
+25
-5
ServiceOrderQO.java
...c/main/java/com/mmc/csf/infomation/qo/ServiceOrderQO.java
+3
-0
BackRequirementsDao.xml
...ain/resources/mapper/requirements/BackRequirementsDao.xml
+22
-5
没有找到文件。
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/qo/ServiceOrderQO.java
浏览文件 @
fab33c77
...
...
@@ -41,6 +41,9 @@ public class ServiceOrderQO {
@Min
(
value
=
1
,
groups
=
Page
.
class
)
private
Integer
pageSize
;
@ApiModelProperty
(
value
=
"0 查看飞手团队中飞手发的单子,1 查找的是飞手团队中飞手接的订单"
)
private
int
isPilotOrder
;
@ApiModelProperty
(
value
=
"查询指定飞手列表中飞手的订单"
)
@JsonIgnore
private
List
<
Integer
>
pilotUserIdList
=
null
;
...
...
release-service/src/main/resources/mapper/requirements/BackRequirementsDao.xml
浏览文件 @
fab33c77
...
...
@@ -77,9 +77,17 @@
LEFT JOIN service_flow sf ON ri.service_flow_id = sf.id
WHERE
ri.publish =1 and ri.father_require_id = 0
<bind
name=
"isPilotUserIdListEmpty"
value=
"pilotUserIdList != null and !pilotUserIdList.isEmpty()"
/>
<bind
name=
"isPilotUserIdListEmpty"
value=
"pilotUserIdList != null and !pilotUserIdList.isEmpty()"
/>
<if
test=
"isPilotUserIdListEmpty"
>
AND ri.user_account_id IN
AND
<choose>
<when
test=
"isPilotOrder == 0"
>
ri.user_account_id IN
</when>
<when
test=
"isPilotOrder == 1"
>
rs.pilot_certification_user_id IN
</when>
</choose>
<foreach
item=
"item"
collection=
"pilotUserIdList"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
...
...
@@ -106,9 +114,18 @@
LEFT JOIN requirements_service rs ON rs.requirements_info_id = ri.id
LEFT JOIN service_flow sf ON ri.service_flow_id = sf.id
WHERE
ri.publish =1
<if
test=
"pilotUserIdList != null"
>
AND ri.user_account_id IN
ri.publish =1 and ri.father_require_id = 0
<bind
name=
"isPilotUserIdListEmpty"
value=
"pilotUserIdList != null and !pilotUserIdList.isEmpty()"
/>
<if
test=
"isPilotUserIdListEmpty"
>
AND
<choose>
<when
test=
"isPilotOrder == 0"
>
ri.user_account_id IN
</when>
<when
test=
"isPilotOrder == 1"
>
rs.pilot_certification_user_id IN
</when>
</choose>
<foreach
item=
"item"
collection=
"pilotUserIdList"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论