Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
iuav
ims
Commits
e3eef4e3
提交
e3eef4e3
authored
11月 20, 2023
作者:
刘明祎-运维用途
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改小程序大厅展示订单
上级
f0752fd0
流水线
#7091
已通过 于阶段
in 2 分 55 秒
变更
4
流水线
1
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
16 行增加
和
1 行删除
+16
-1
RequirementsDao.java
...rc/main/java/com/mmc/csf/release/dao/RequirementsDao.java
+7
-0
RequirementsInfoDO.java
...c/csf/release/entity/requirements/RequirementsInfoDO.java
+1
-0
RequirementsServiceImpl.java
...mmc/csf/release/service/impl/RequirementsServiceImpl.java
+5
-1
RequirementsDao.xml
...rc/main/resources/mapper/requirements/RequirementsDao.xml
+3
-0
没有找到文件。
release-service/src/main/java/com/mmc/csf/release/dao/RequirementsDao.java
浏览文件 @
e3eef4e3
...
@@ -355,4 +355,11 @@ public interface RequirementsDao {
...
@@ -355,4 +355,11 @@ public interface RequirementsDao {
Integer
selectServiceFlowIdFromAgreePilot
(
Integer
requireId
,
Integer
userAccountId
);
Integer
selectServiceFlowIdFromAgreePilot
(
Integer
requireId
,
Integer
userAccountId
);
RequirementsServicePilotInfoDO
selectPilotInfoByRequireId
(
Integer
requireId
);
RequirementsServicePilotInfoDO
selectPilotInfoByRequireId
(
Integer
requireId
);
/**
* 根据流程id查询订单所处状态
* @param serviceFlowId
* @return {@link String}
*/
String
selectOrderStatusByServiceFlowId
(
Integer
serviceFlowId
);
}
}
release-service/src/main/java/com/mmc/csf/release/entity/requirements/RequirementsInfoDO.java
浏览文件 @
e3eef4e3
...
@@ -211,6 +211,7 @@ public class RequirementsInfoDO implements Serializable {
...
@@ -211,6 +211,7 @@ public class RequirementsInfoDO implements Serializable {
.
updateOrderAmount
(
this
.
updateOrderAmount
)
.
updateOrderAmount
(
this
.
updateOrderAmount
)
.
reason
(
this
.
reason
)
.
reason
(
this
.
reason
)
.
url
(
this
.
url
)
.
url
(
this
.
url
)
.
orderStatus
(
this
.
orderStatus
)
.
afterModificationReason
(
this
.
afterModificationReason
)
.
afterModificationReason
(
this
.
afterModificationReason
)
.
afterModificationUrl
(
this
.
afterModificationUrl
)
.
afterModificationUrl
(
this
.
afterModificationUrl
)
.
pilotCertificationUserId
(
this
.
pilotCertificationUserId
)
.
pilotCertificationUserId
(
this
.
pilotCertificationUserId
)
...
...
release-service/src/main/java/com/mmc/csf/release/service/impl/RequirementsServiceImpl.java
浏览文件 @
e3eef4e3
...
@@ -197,7 +197,10 @@ public class RequirementsServiceImpl implements RequirementsService {
...
@@ -197,7 +197,10 @@ public class RequirementsServiceImpl implements RequirementsService {
//远程调用服务一级分类
//远程调用服务一级分类
// List<IndustryTypeDTO> industryTypeDTOS = listIndustry();
// List<IndustryTypeDTO> industryTypeDTOS = listIndustry();
List
<
RequirementsInfoVO
>
collect
=
requirementsInfoDOS
.
stream
().
map
(
RequirementsInfoDO:
:
buildRequirementsInfoVO
).
collect
(
Collectors
.
toList
());
List
<
RequirementsInfoVO
>
collect
=
requirementsInfoDOS
.
stream
().
map
(
requirementsInfoDO
->
{
requirementsInfoDO
.
setOrderStatus
(
requirementsDao
.
selectOrderStatusByServiceFlowId
(
requirementsInfoDO
.
getServiceFlowId
()));
return
requirementsInfoDO
;
}).
map
(
RequirementsInfoDO:
:
buildRequirementsInfoVO
).
collect
(
Collectors
.
toList
());
/* for (RequirementsInfoVO requirementsInfoVO : collect) {
/* for (RequirementsInfoVO requirementsInfoVO : collect) {
for (IndustryTypeDTO industryTypeDTO : industryTypeDTOS) {
for (IndustryTypeDTO industryTypeDTO : industryTypeDTOS) {
if (requirementsInfoVO.getServiceId() != null && requirementsInfoVO.getServiceId().equals(industryTypeDTO.getId())) {
if (requirementsInfoVO.getServiceId() != null && requirementsInfoVO.getServiceId().equals(industryTypeDTO.getId())) {
...
@@ -205,6 +208,7 @@ public class RequirementsServiceImpl implements RequirementsService {
...
@@ -205,6 +208,7 @@ public class RequirementsServiceImpl implements RequirementsService {
}
}
}
}
}*/
}*/
return
ResultBody
.
success
(
collect
);
return
ResultBody
.
success
(
collect
);
}
}
...
...
release-service/src/main/resources/mapper/requirements/RequirementsDao.xml
浏览文件 @
e3eef4e3
...
@@ -1818,6 +1818,9 @@
...
@@ -1818,6 +1818,9 @@
,ra.order_amount DESC
,ra.order_amount DESC
</if>
</if>
</select>
</select>
<select
id=
"selectOrderStatusByServiceFlowId"
resultType=
"java.lang.String"
>
select order_status from service_flow where id = #{serviceFlowId}
</select>
<delete
id=
"deleteRequirementsServiceInfo"
>
<delete
id=
"deleteRequirementsServiceInfo"
>
delete from requirements_service where requirements_info_id = #{requireId} and pilot_certification_user_id = #{userAccountId}
delete from requirements_service where requirements_info_id = #{requireId} and pilot_certification_user_id = #{userAccountId}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论