fix: 流程结束入库丢失字段修复
This commit is contained in:
+2
-2
@@ -93,7 +93,7 @@ public class ProcessStandardComplianceCheckDetail implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "车型状态")
|
@ApiModelProperty(value = "车型状态")
|
||||||
@Dict(dicCode = "model_status")
|
@Dict(dicCode = "model_status")
|
||||||
private String modelState;
|
private String modelStatus;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 评估人
|
* 评估人
|
||||||
@@ -145,7 +145,7 @@ public class ProcessStandardComplianceCheckDetail implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "整改周期")
|
@ApiModelProperty(value = "整改周期")
|
||||||
@Dict(dicCode = "correction_period")
|
@Dict(dicCode = "correction_period")
|
||||||
private String correctionCycle;
|
private String correctionPeriod;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 整改费用
|
* 整改费用
|
||||||
|
|||||||
+3
-1
@@ -340,6 +340,7 @@ public class ProcessStandardComplianceCheckServiceImpl extends ServiceImpl<Proce
|
|||||||
});
|
});
|
||||||
// 先删后增
|
// 先删后增
|
||||||
removeByIds(detailInfoListIds);
|
removeByIds(detailInfoListIds);
|
||||||
|
detailInfoList.forEach(detail -> detail.setValuationTime(new Date()));
|
||||||
sccDetailService.saveBatch(detailInfoList);
|
sccDetailService.saveBatch(detailInfoList);
|
||||||
}
|
}
|
||||||
runtimeService.setVariable(processInstanceId, DISTRIBUTE, distributeFlag);
|
runtimeService.setVariable(processInstanceId, DISTRIBUTE, distributeFlag);
|
||||||
@@ -351,6 +352,7 @@ public class ProcessStandardComplianceCheckServiceImpl extends ServiceImpl<Proce
|
|||||||
detailInfoList.forEach(detail -> {
|
detailInfoList.forEach(detail -> {
|
||||||
detail.setAssessor(curUserId);
|
detail.setAssessor(curUserId);
|
||||||
detail.setAuthDept(curUserDepartIds);
|
detail.setAuthDept(curUserDepartIds);
|
||||||
|
detail.setValuationTime(new Date());
|
||||||
});
|
});
|
||||||
// 先删后增
|
// 先删后增
|
||||||
removeByIds(detailInfoListIds);
|
removeByIds(detailInfoListIds);
|
||||||
@@ -580,7 +582,7 @@ public class ProcessStandardComplianceCheckServiceImpl extends ServiceImpl<Proce
|
|||||||
for (ModelExcelVO modelExcelVO : modelExcelVOList) {
|
for (ModelExcelVO modelExcelVO : modelExcelVOList) {
|
||||||
ProcessStandardComplianceCheckDetail detail = new ProcessStandardComplianceCheckDetail();
|
ProcessStandardComplianceCheckDetail detail = new ProcessStandardComplianceCheckDetail();
|
||||||
detail.setModel(modelExcelVO.getModel());
|
detail.setModel(modelExcelVO.getModel());
|
||||||
detail.setModelState(modelExcelVO.getModelState());
|
detail.setModelStatus(modelExcelVO.getModelState());
|
||||||
detail.setTermNumber(detailInfo.getTermNumber());
|
detail.setTermNumber(detailInfo.getTermNumber());
|
||||||
detail.setTermTitle(detailInfo.getTermTitle());
|
detail.setTermTitle(detailInfo.getTermTitle());
|
||||||
detail.setTermContent(detailInfo.getTermContent());
|
detail.setTermContent(detailInfo.getTermContent());
|
||||||
|
|||||||
+16
-17
@@ -4,15 +4,15 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
|||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import java.io.Serializable;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import com.jero.common.aspect.annotation.Dict;
|
import com.jero.common.aspect.annotation.Dict;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 法规符合性评估库
|
* 法规符合性评估库
|
||||||
* @TableName laws_conformity_assessment_library
|
* @TableName laws_conformity_assessment_library
|
||||||
@@ -40,6 +40,19 @@ public class LawsConformityAssessmentLibrary implements Serializable {
|
|||||||
@ApiModelProperty(value = "标准ID")
|
@ApiModelProperty(value = "标准ID")
|
||||||
private String standardId;
|
private String standardId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 标准编号
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "标准编号")
|
||||||
|
private String standardNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 标准名称
|
||||||
|
*/
|
||||||
|
@ApiModelProperty(value = "标准名称")
|
||||||
|
private String standardName;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 评估日期
|
* 评估日期
|
||||||
*/
|
*/
|
||||||
@@ -62,20 +75,6 @@ public class LawsConformityAssessmentLibrary implements Serializable {
|
|||||||
@ApiModelProperty(value = "结束评估日期")
|
@ApiModelProperty(value = "结束评估日期")
|
||||||
private Date endValuationTime;
|
private Date endValuationTime;
|
||||||
|
|
||||||
/**
|
|
||||||
* 标准编号
|
|
||||||
*/
|
|
||||||
@TableField(exist = false)
|
|
||||||
@ApiModelProperty(value = "标准编号")
|
|
||||||
private String standardNumber;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 标准名称
|
|
||||||
*/
|
|
||||||
@TableField(exist = false)
|
|
||||||
@ApiModelProperty(value = "标准名称")
|
|
||||||
private String standardName;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 适用市场
|
* 适用市场
|
||||||
*/
|
*/
|
||||||
|
|||||||
-2
@@ -229,7 +229,6 @@ public class LawsEvaluationNotMetLibrary implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 标准编号
|
* 标准编号
|
||||||
*/
|
*/
|
||||||
@TableField(exist = false)
|
|
||||||
@ApiModelProperty(value = "标准编号")
|
@ApiModelProperty(value = "标准编号")
|
||||||
@Excel(name = "标准编号", width = 15, orderNum = "3")
|
@Excel(name = "标准编号", width = 15, orderNum = "3")
|
||||||
private String standardNumber;
|
private String standardNumber;
|
||||||
@@ -237,7 +236,6 @@ public class LawsEvaluationNotMetLibrary implements Serializable {
|
|||||||
/**
|
/**
|
||||||
* 标准名称
|
* 标准名称
|
||||||
*/
|
*/
|
||||||
@TableField(exist = false)
|
|
||||||
@ApiModelProperty(value = "标准名称")
|
@ApiModelProperty(value = "标准名称")
|
||||||
@Excel(name = "标准编号", width = 15, orderNum = "4")
|
@Excel(name = "标准编号", width = 15, orderNum = "4")
|
||||||
private String standardName;
|
private String standardName;
|
||||||
|
|||||||
Reference in New Issue
Block a user