1.技术监督功能干扰源用户代码提交

This commit is contained in:
cdf
2024-04-11 09:44:04 +08:00
parent ec1e8eb04a
commit 560cef483c
3 changed files with 5 additions and 2 deletions

View File

@@ -103,6 +103,6 @@ public class FlowTaskDto implements Serializable {
@ApiModelProperty("此流程对应的发起表单功能的id") @ApiModelProperty("此流程对应的发起表单功能的id")
private String formAssId; private String formAssId;
@ApiModelProperty("1.普测电站 1.干扰源用户") @ApiModelProperty("1.普测电站 2.干扰源用户 3.电能质量问题" )
private Integer formType; private Integer formType;
} }

View File

@@ -40,7 +40,7 @@ public class FlowableAss{
/** /**
* 技术监督功能 1.普测电站 2.干扰源用户 * 技术监督功能 1.普测电站 2.干扰源用户 3.电能质量问题
*/ */
private Integer type; private Integer type;

View File

@@ -203,6 +203,9 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
FlowableAss flowableAss = flowableAssMapper.selectOne(new LambdaQueryWrapper<FlowableAss>().eq(FlowableAss::getExecIndex,hisIns.getId())); FlowableAss flowableAss = flowableAssMapper.selectOne(new LambdaQueryWrapper<FlowableAss>().eq(FlowableAss::getExecIndex,hisIns.getId()));
flowTask.setFormAssId(flowableAss.getThsIndex()); flowTask.setFormAssId(flowableAss.getThsIndex());
flowTask.setFormType(flowableAss.getType());
// 计算耗时 // 计算耗时
if (Objects.nonNull(hisIns.getEndTime())) { if (Objects.nonNull(hisIns.getEndTime())) {
long time = hisIns.getEndTime().getTime() - hisIns.getStartTime().getTime(); long time = hisIns.getEndTime().getTime() - hisIns.getStartTime().getTime();