2461fd66 by 肖初晴

【DAOP-1.0】企业认证

【功能点】消息问题处理
1 parent cc0314cf
1 package com.csbr.qingcloud.portal.domain.vo; 1 package com.csbr.qingcloud.portal.domain.vo;
2 2
3 import com.fasterxml.jackson.annotation.JsonFormat;
3 import io.swagger.v3.oas.annotations.media.Schema; 4 import io.swagger.v3.oas.annotations.media.Schema;
4 import lombok.Data; 5 import lombok.Data;
6
7 import java.util.Date;
5 import java.util.List; 8 import java.util.List;
6 9
7 /** 10 /**
...@@ -32,5 +35,8 @@ public class DemandUpdateStateVO { ...@@ -32,5 +35,8 @@ public class DemandUpdateStateVO {
32 @Schema(description = "产品验收状态【N未开始 A进行中 Y已完成】") 35 @Schema(description = "产品验收状态【N未开始 A进行中 Y已完成】")
33 private String productAcceptState; 36 private String productAcceptState;
34 37
38 @Schema(description ="产品验收验收完成时间")
39 @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
40 private Date acceptFinishTime;
35 41
36 } 42 }
......
...@@ -352,7 +352,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -352,7 +352,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
352 // todo 352 // todo
353 approvalDTO.setFuncCode("SJXQ"); 353 approvalDTO.setFuncCode("SJXQ");
354 // 流程消息中的变量替换参数 354 // 流程消息中的变量替换参数
355 approvalDTO.setFlowMessageBody(null); 355 approvalDTO.setFlowMessageBody(String.format("%s,%s", CommonUtil.getUserInfo().getUserName(),entity.getDataDemandName()));
356 // 流程列表数据核心param参数处理 356 // 流程列表数据核心param参数处理
357 approvalDTO.setParam1(entity.getDataDemandName()); 357 approvalDTO.setParam1(entity.getDataDemandName());
358 approvalDTO.setParam2(null); 358 approvalDTO.setParam2(null);
...@@ -596,6 +596,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService ...@@ -596,6 +596,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
596 vo.setProductProcessingState(voState.getProductProcessingState()); 596 vo.setProductProcessingState(voState.getProductProcessingState());
597 vo.setProductDeliveryState(voState.getProductDeliveryState()); 597 vo.setProductDeliveryState(voState.getProductDeliveryState());
598 vo.setProductAcceptState(voState.getProductAcceptState()); 598 vo.setProductAcceptState(voState.getProductAcceptState());
599 vo.setAcceptFinishTime(voState.getAcceptFinishTime());
599 } 600 }
600 } 601 }
601 return vo; 602 return vo;
......
...@@ -32,6 +32,7 @@ import com.csbr.qingcloud.portal.service.EnterpriseService; ...@@ -32,6 +32,7 @@ import com.csbr.qingcloud.portal.service.EnterpriseService;
32 import com.csbr.qingcloud.portal.util.ObjectUtil; 32 import com.csbr.qingcloud.portal.util.ObjectUtil;
33 import csbr.cloud.entity.domain.base.vo.PageListVO; 33 import csbr.cloud.entity.domain.base.vo.PageListVO;
34 import csbr.cloud.entity.enums.ApprovalStateEnum; 34 import csbr.cloud.entity.enums.ApprovalStateEnum;
35 import csbr.cloud.entity.utils.UserContextHolder;
35 import io.seata.common.util.DateUtil; 36 import io.seata.common.util.DateUtil;
36 import io.seata.spring.annotation.GlobalTransactional; 37 import io.seata.spring.annotation.GlobalTransactional;
37 import jakarta.annotation.Resource; 38 import jakarta.annotation.Resource;
...@@ -556,7 +557,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -556,7 +557,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
556 // todo 557 // todo
557 approvalDTO.setFuncCode("QYRZ"); 558 approvalDTO.setFuncCode("QYRZ");
558 // 流程消息中的变量替换参数 559 // 流程消息中的变量替换参数
559 approvalDTO.setFlowMessageBody(null); 560 approvalDTO.setFlowMessageBody(String.format("%s", entity.getTenantName()));
560 // 流程列表数据核心param参数处理 561 // 流程列表数据核心param参数处理
561 approvalDTO.setParam1(entity.getTenantName()); 562 approvalDTO.setParam1(entity.getTenantName());
562 approvalDTO.setParam2(entity.getTenantType()); 563 approvalDTO.setParam2(entity.getTenantType());
......
...@@ -284,7 +284,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser ...@@ -284,7 +284,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
284 // todo 284 // todo
285 approvalDTO.setFuncCode("FWSWH"); 285 approvalDTO.setFuncCode("FWSWH");
286 // 流程消息中的变量替换参数 286 // 流程消息中的变量替换参数
287 approvalDTO.setFlowMessageBody(null); 287 approvalDTO.setFlowMessageBody(String.format("%s,%s",entity.getCreateUserName(),entity.getTenantName()));
288 // 流程列表数据核心param参数处理 288 // 流程列表数据核心param参数处理
289 approvalDTO.setParam1(null); 289 approvalDTO.setParam1(null);
290 approvalDTO.setParam2(null); 290 approvalDTO.setParam2(null);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!