Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
I
ims-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
ims-ci-test
Commits
0e96d030
提交
0e96d030
authored
8月 30, 2023
作者:
张小凤
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ReleaseSuccessDTO(add)
上级
29edc147
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
87 行增加
和
5 行删除
+87
-5
FlowDictionaryAndTimeDTO.java
.../com/mmc/csf/infomation/dto/FlowDictionaryAndTimeDTO.java
+4
-0
ReleaseSuccessDTO.java
...in/java/com/mmc/csf/infomation/dto/ReleaseSuccessDTO.java
+43
-0
RequirementsInfoVO.java
...in/java/com/mmc/csf/infomation/vo/RequirementsInfoVO.java
+3
-0
RequirementsDao.java
...rc/main/java/com/mmc/csf/release/dao/RequirementsDao.java
+2
-0
RequirementsInfoDO.java
...c/csf/release/entity/requirements/RequirementsInfoDO.java
+4
-0
RequirementsServiceDO.java
...sf/release/entity/requirements/RequirementsServiceDO.java
+1
-0
RequirementsServiceImpl.java
...mmc/csf/release/service/impl/RequirementsServiceImpl.java
+5
-1
BackRequirementsDao.xml
...ain/resources/mapper/requirements/BackRequirementsDao.xml
+3
-3
RequirementsDao.xml
...rc/main/resources/mapper/requirements/RequirementsDao.xml
+22
-1
没有找到文件。
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/dto/FlowDictionaryAndTimeDTO.java
浏览文件 @
0e96d030
...
@@ -19,6 +19,10 @@ import java.io.Serializable;
...
@@ -19,6 +19,10 @@ import java.io.Serializable;
@NoArgsConstructor
@NoArgsConstructor
public
class
FlowDictionaryAndTimeDTO
implements
Serializable
{
public
class
FlowDictionaryAndTimeDTO
implements
Serializable
{
@ApiModelProperty
(
value
=
"发布成功"
,
example
=
"发布成功"
)
private
ReleaseSuccessDTO
releaseSuccess
;
//抢单
//抢单
@ApiModelProperty
(
value
=
"抢单"
,
example
=
"抢单"
)
@ApiModelProperty
(
value
=
"抢单"
,
example
=
"抢单"
)
private
RequirementsServiceDTO
requirementsServiceDTO
;
private
RequirementsServiceDTO
requirementsServiceDTO
;
...
...
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/dto/ReleaseSuccessDTO.java
0 → 100644
浏览文件 @
0e96d030
package
com
.
mmc
.
csf
.
infomation
.
dto
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
/**
* @Author small
* @Date 2023/8/30 15:12
* @Version 1.0
*/
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
ReleaseSuccessDTO
{
@ApiModelProperty
(
value
=
"服务id"
,
example
=
"服务id"
)
private
Integer
requirementsInfoId
;
/**
* 抢单时间
*/
@ApiModelProperty
(
value
=
"抢单时间"
,
example
=
"抢单时间"
)
private
String
createTime
;
/**
* 修改时间
*/
@ApiModelProperty
(
value
=
"更新时间"
,
example
=
"更新时间"
)
private
String
updateTime
;
@ApiModelProperty
(
value
=
"流程id"
,
hidden
=
true
)
private
Integer
serviceFlowId
;
@ApiModelProperty
(
value
=
"流程字典"
,
example
=
"流程字典"
)
private
FlowDictionaryDTO
flowDictionaryDTO
;
}
csf-common/csf-common-model/src/main/java/com/mmc/csf/infomation/vo/RequirementsInfoVO.java
浏览文件 @
0e96d030
...
@@ -178,4 +178,7 @@ public class RequirementsInfoVO implements Serializable {
...
@@ -178,4 +178,7 @@ public class RequirementsInfoVO implements Serializable {
@ApiModelProperty
(
value
=
"抢单飞手用户id "
)
@ApiModelProperty
(
value
=
"抢单飞手用户id "
)
private
Integer
pilotCertificationUserId
;
private
Integer
pilotCertificationUserId
;
@ApiModelProperty
(
value
=
"抢单飞手id"
)
private
Integer
pilotCertificationId
;
}
}
release-service/src/main/java/com/mmc/csf/release/dao/RequirementsDao.java
浏览文件 @
0e96d030
...
@@ -177,4 +177,6 @@ public interface RequirementsDao {
...
@@ -177,4 +177,6 @@ public interface RequirementsDao {
void
updateRequirementsAmount
(
RequirementsInfoDO
requirementsInfoDO
);
void
updateRequirementsAmount
(
RequirementsInfoDO
requirementsInfoDO
);
void
updateAmounts
(
RequirementsServiceDO
requirementsServiceDO
);
void
updateAmounts
(
RequirementsServiceDO
requirementsServiceDO
);
ReleaseSuccessDTO
releaseSuccessDTO
(
Integer
requirementsInfoId
);
}
}
release-service/src/main/java/com/mmc/csf/release/entity/requirements/RequirementsInfoDO.java
浏览文件 @
0e96d030
...
@@ -171,6 +171,9 @@ public class RequirementsInfoDO implements Serializable {
...
@@ -171,6 +171,9 @@ public class RequirementsInfoDO implements Serializable {
@IsNullConvertZero
@IsNullConvertZero
private
BigDecimal
orderEarnings
;
private
BigDecimal
orderEarnings
;
@ApiModelProperty
(
value
=
"抢单飞手id"
)
private
Integer
pilotCertificationId
;
public
RequirementsInfoVO
buildRequirementsInfoVO
()
{
public
RequirementsInfoVO
buildRequirementsInfoVO
()
{
return
RequirementsInfoVO
.
builder
().
id
(
this
.
id
).
requirementTypeId
(
this
.
requirementTypeId
).
userAccountId
(
this
.
userAccountId
).
publishName
(
this
.
publishName
)
return
RequirementsInfoVO
.
builder
().
id
(
this
.
id
).
requirementTypeId
(
this
.
requirementTypeId
).
userAccountId
(
this
.
userAccountId
).
publishName
(
this
.
publishName
)
.
publishPhone
(
this
.
publishPhone
).
requireDescription
(
this
.
requireDescription
).
solved
(
this
.
solved
).
taskStartTime
(
this
.
taskStartTime
).
taskEndTime
(
this
.
taskEndTime
)
.
publishPhone
(
this
.
publishPhone
).
requireDescription
(
this
.
requireDescription
).
solved
(
this
.
solved
).
taskStartTime
(
this
.
taskStartTime
).
taskEndTime
(
this
.
taskEndTime
)
...
@@ -201,6 +204,7 @@ public class RequirementsInfoDO implements Serializable {
...
@@ -201,6 +204,7 @@ public class RequirementsInfoDO implements Serializable {
.
afterModificationUrl
(
this
.
afterModificationUrl
)
.
afterModificationUrl
(
this
.
afterModificationUrl
)
.
pilotCertificationUserId
(
this
.
pilotCertificationUserId
)
.
pilotCertificationUserId
(
this
.
pilotCertificationUserId
)
.
preemptPhone
(
this
.
preemptPhone
)
.
preemptPhone
(
this
.
preemptPhone
)
.
pilotCertificationId
(
this
.
pilotCertificationId
)
.
build
();
.
build
();
}
}
...
...
release-service/src/main/java/com/mmc/csf/release/entity/requirements/RequirementsServiceDO.java
浏览文件 @
0e96d030
...
@@ -82,6 +82,7 @@ public class RequirementsServiceDO implements Serializable {
...
@@ -82,6 +82,7 @@ public class RequirementsServiceDO implements Serializable {
@IsNullConvertZero
@IsNullConvertZero
private
BigDecimal
orderEarnings
;
private
BigDecimal
orderEarnings
;
public
RequirementsServiceDO
(
PilotCertificationInteriorDTO
pilot
,
ServiceRequirementsDO
requirementsInfoDO
)
{
public
RequirementsServiceDO
(
PilotCertificationInteriorDTO
pilot
,
ServiceRequirementsDO
requirementsInfoDO
)
{
this
.
pilotCertificationId
=
pilot
.
getId
();
this
.
pilotCertificationId
=
pilot
.
getId
();
this
.
pilotCertificationUserId
=
pilot
.
getUserAccountId
();
this
.
pilotCertificationUserId
=
pilot
.
getUserAccountId
();
...
...
release-service/src/main/java/com/mmc/csf/release/service/impl/RequirementsServiceImpl.java
浏览文件 @
0e96d030
...
@@ -1436,6 +1436,10 @@ public class RequirementsServiceImpl implements RequirementsService {
...
@@ -1436,6 +1436,10 @@ public class RequirementsServiceImpl implements RequirementsService {
@Override
@Override
public
ResultBody
<
FlowDictionaryAndTimeDTO
>
flowDictionaryAndTime
(
Integer
requirementsInfoId
)
{
public
ResultBody
<
FlowDictionaryAndTimeDTO
>
flowDictionaryAndTime
(
Integer
requirementsInfoId
)
{
FlowDictionaryAndTimeDTO
flowDictionaryAndTimeDTO
=
new
FlowDictionaryAndTimeDTO
();
FlowDictionaryAndTimeDTO
flowDictionaryAndTimeDTO
=
new
FlowDictionaryAndTimeDTO
();
ReleaseSuccessDTO
releaseSuccessDTO
=
requirementsDao
.
releaseSuccessDTO
(
requirementsInfoId
);
flowDictionaryAndTimeDTO
.
setReleaseSuccess
(
releaseSuccessDTO
);
//抢单
//抢单
RequirementsServiceDTO
requirementsServiceDTO
=
requirementsDao
.
requirementsServiceDTO
(
requirementsInfoId
);
RequirementsServiceDTO
requirementsServiceDTO
=
requirementsDao
.
requirementsServiceDTO
(
requirementsInfoId
);
flowDictionaryAndTimeDTO
.
setRequirementsServiceDTO
(
requirementsServiceDTO
);
flowDictionaryAndTimeDTO
.
setRequirementsServiceDTO
(
requirementsServiceDTO
);
...
@@ -2273,7 +2277,7 @@ public class RequirementsServiceImpl implements RequirementsService {
...
@@ -2273,7 +2277,7 @@ public class RequirementsServiceImpl implements RequirementsService {
}
}
return
ResultBody
.
success
();
return
ResultBody
.
success
();
}
}
public
ResultBody
feignWalletFlow
(
PublisherWalletFlowVO
publisherWalletFlowVO
,
String
token
)
{
public
ResultBody
feignWalletFlow
(
PublisherWalletFlowVO
publisherWalletFlowVO
,
String
token
)
{
HttpHeaders
headers
=
new
HttpHeaders
();
HttpHeaders
headers
=
new
HttpHeaders
();
headers
.
setContentType
(
MediaType
.
APPLICATION_JSON
);
headers
.
setContentType
(
MediaType
.
APPLICATION_JSON
);
...
...
release-service/src/main/resources/mapper/requirements/BackRequirementsDao.xml
浏览文件 @
0e96d030
...
@@ -42,10 +42,10 @@
...
@@ -42,10 +42,10 @@
poe.update_time,
poe.update_time,
poe.user_account_id,
poe.user_account_id,
ra.order_level_amount,
ra.order_level_amount,
ra.order_level
_amount
ra.order_level
FROM platform_order_earnings poe
FROM platform_order_earnings poe
LEFT JOIN requirements_amount ra ON poe.requirements_info_id = ra.id
LEFT JOIN requirements_amount ra ON poe.requirements_info_id = ra.
requirements_info_
id
where poe
.requirements_info_id = #{requirementsInfoId}
WHERE ra
.requirements_info_id = #{requirementsInfoId}
</select>
</select>
...
...
release-service/src/main/resources/mapper/requirements/RequirementsDao.xml
浏览文件 @
0e96d030
...
@@ -99,6 +99,15 @@
...
@@ -99,6 +99,15 @@
WHERE requirements_info_id = #{requirementsInfoId}
WHERE requirements_info_id = #{requirementsInfoId}
</select>
</select>
<select
id=
"releaseSuccessDTO"
resultMap=
"releaseSuccessMap"
>
SELECT id,
create_time,
update_time,
service_flow
FROM requirements_info
WHERE id = #{requirementsInfoId}
</select>
<update
id=
"solveRequire"
>
<update
id=
"solveRequire"
>
update requirements_info
update requirements_info
set is_solved = 1
set is_solved = 1
...
@@ -414,7 +423,8 @@
...
@@ -414,7 +423,8 @@
rau.reason AS afterModificationReason,
rau.reason AS afterModificationReason,
rau.url AS afterModificationUrl,
rau.url AS afterModificationUrl,
rs.pilot_certification_user_id AS pilotCertificationUserId,
rs.pilot_certification_user_id AS pilotCertificationUserId,
rs.preempt_phone AS preemptPhone
rs.preempt_phone AS preemptPhone,
rs.pilot_certification_id
FROM requirements_info ri
FROM requirements_info ri
LEFT JOIN requirements_type rt
LEFT JOIN requirements_type rt
ON rt.id = ri.requirement_type_id
ON rt.id = ri.requirement_type_id
...
@@ -954,6 +964,17 @@
...
@@ -954,6 +964,17 @@
</collection>
</collection>
</resultMap>
</resultMap>
<resultMap
id=
"releaseSuccessMap"
type=
"com.mmc.csf.infomation.dto.ReleaseSuccessDTO"
>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"requirementsInfoId"
column=
"id"
/>
<result
property=
"serviceFlowId"
column=
"service_flow"
/>
<collection
property=
"flowDictionaryDTO"
ofType=
"com.mmc.csf.infomation.dto.FlowDictionaryDTO"
select=
"selectServiceFlow"
column=
"{serviceFlowId=service_flow}"
>
</collection>
</resultMap>
<resultMap
id=
"serviceEvaluateMap"
type=
"com.mmc.csf.infomation.dto.ServiceEvaluateDTO"
>
<resultMap
id=
"serviceEvaluateMap"
type=
"com.mmc.csf.infomation.dto.ServiceEvaluateDTO"
>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论