Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
7a346eae
提交
7a346eae
authored
12月 01, 2023
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
6a223898
流水线
#7361
已通过 于阶段
in 2 分 55 秒
变更
3
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
13 行增加
和
7 行删除
+13
-7
AgreeOrRefusePilotQO.java
.../java/com/mmc/csf/infomation/qo/AgreeOrRefusePilotQO.java
+5
-3
RequirementsController.java
...om/mmc/csf/release/controller/RequirementsController.java
+2
-1
RequirementsDao.xml
...rc/main/resources/mapper/requirements/RequirementsDao.xml
+6
-3
没有找到文件。
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/qo/AgreeOrRefusePilotQO.java
浏览文件 @
7a346eae
package
com
.
mmc
.
csf
.
infomation
.
qo
;
package
com
.
mmc
.
csf
.
infomation
.
qo
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
javax.validation.constraints.NotNull
;
/**
/**
* @author 张培
* @author 张培
*/
*/
...
@@ -16,9 +17,10 @@ public class AgreeOrRefusePilotQO {
...
@@ -16,9 +17,10 @@ public class AgreeOrRefusePilotQO {
@ApiModelProperty
(
value
=
"订单id"
)
@ApiModelProperty
(
value
=
"订单id"
)
private
Integer
requireInfoId
;
private
Integer
requireInfoId
;
@ApiModelProperty
(
value
=
"同意传2 进入飞手到达现场 拒绝传 1
1
"
)
@ApiModelProperty
(
value
=
"同意传2 进入飞手到达现场 拒绝传 1"
)
private
Integer
serviceFlowId
;
private
Integer
serviceFlowId
;
@ApiModelProperty
(
value
=
"接单飞手的user_id"
)
@ApiModelProperty
(
value
=
"接单飞手的user_id"
,
required
=
true
)
@NotNull
(
message
=
"飞手id不能为空"
)
private
Integer
pilotCertificationUserId
;
private
Integer
pilotCertificationUserId
;
}
}
release-service/src/main/java/com/mmc/csf/release/controller/RequirementsController.java
浏览文件 @
7a346eae
...
@@ -366,7 +366,7 @@ public class RequirementsController extends BaseController {
...
@@ -366,7 +366,7 @@ public class RequirementsController extends BaseController {
@ApiOperation
(
value
=
"小程序—发单方(同意/拒绝)该飞手"
)
@ApiOperation
(
value
=
"小程序—发单方(同意/拒绝)该飞手"
)
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)})
@ApiResponses
({
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ResultBody
.
class
)})
@PostMapping
(
"agreeOrRefusePilot"
)
@PostMapping
(
"agreeOrRefusePilot"
)
public
ResultBody
agreeOrRefusePilot
(
@RequestBody
AgreeOrRefusePilotQO
param
)
{
public
ResultBody
agreeOrRefusePilot
(
@
Validated
@
RequestBody
AgreeOrRefusePilotQO
param
)
{
return
requirementsService
.
agreeOrRefusePilot
(
param
);
return
requirementsService
.
agreeOrRefusePilot
(
param
);
}
}
}
}
\ No newline at end of file
release-service/src/main/resources/mapper/requirements/RequirementsDao.xml
浏览文件 @
7a346eae
...
@@ -710,7 +710,7 @@
...
@@ -710,7 +710,7 @@
LEFT JOIN requirements_amount_update rau ON rau.requirements_info_id = ri.id
LEFT JOIN requirements_amount_update rau ON rau.requirements_info_id = ri.id
WHERE ri.user_account_id = #{userAccountId} and ri.is_deleted!=1
WHERE ri.user_account_id = #{userAccountId} and ri.is_deleted!=1
<if
test=
" requirementsInfoId != null "
>
<if
test=
" requirementsInfoId != null "
>
and ri.id=#{requirementsInfoId}
and ri.
father_require_
id=#{requirementsInfoId}
</if>
</if>
<if
test=
"requireDescription!=null and requireDescription!='' "
>
<if
test=
"requireDescription!=null and requireDescription!='' "
>
and ri.require_description like CONCAT("%",#{requireDescription},"%")
and ri.require_description like CONCAT("%",#{requireDescription},"%")
...
@@ -747,13 +747,16 @@
...
@@ -747,13 +747,16 @@
ri.publish,
ri.publish,
ri.require_num,
ri.require_num,
rau.update_order_amount,
rau.update_order_amount,
ri.repertory
ri.repertory,
rs.pilot_certification_id,
rs.pilot_certification_user_id
FROM
FROM
requirements_info ri
requirements_info ri
LEFT JOIN requirements_type rt ON rt.id = ri.requirement_type_id
LEFT JOIN requirements_type rt ON rt.id = ri.requirement_type_id
LEFT JOIN service_flow sf ON sf.id = ri.service_flow_id
LEFT JOIN service_flow sf ON sf.id = ri.service_flow_id
LEFT JOIN requirements_amount ra ON ra.requirements_info_id = ri.id
LEFT JOIN requirements_amount ra ON ra.requirements_info_id = ri.id
LEFT JOIN requirements_amount_update rau ON rau.requirements_info_id = ri.id
LEFT JOIN requirements_amount_update rau ON rau.requirements_info_id = ri.id
left join requirements_service rs on ri.id = rs.requirements_info_id
WHERE ri.user_account_id = #{userAccountId} and ri.is_deleted!=1
WHERE ri.user_account_id = #{userAccountId} and ri.is_deleted!=1
and father_require_id = 0
and father_require_id = 0
<if
test=
" requirementsInfoId != null "
>
<if
test=
" requirementsInfoId != null "
>
...
@@ -1355,7 +1358,7 @@
...
@@ -1355,7 +1358,7 @@
<select
id=
"serviceAgreePilotOrderDTO"
resultMap=
"serviceAgreePilotOrderMap"
>
<select
id=
"serviceAgreePilotOrderDTO"
resultMap=
"serviceAgreePilotOrderMap"
>
select require_info_id,create_time,service_flow_id from agree_pilot_order
select require_info_id,create_time,service_flow_id from agree_pilot_order
where service_flow_id = 2 and require_info_id = #{requirementsInfoId}
where service_flow_id = 2 and require_info_id = #{requirementsInfoId}
limit 1
</select>
</select>
<select
id=
"serviceFulfilATaskDTO"
resultMap=
"serviceFulfilATaskMap"
>
<select
id=
"serviceFulfilATaskDTO"
resultMap=
"serviceFulfilATaskMap"
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论