法规清单-update

This commit is contained in:
wangzhijiang
2022-05-30 10:40:30 +08:00
parent 752d06446e
commit 4f68733643
2 changed files with 15 additions and 12 deletions
@@ -121,7 +121,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "新车型实施日期")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date xin1Che1Xing2Shi2Shi1Ri4Qi1;
@TableField(exist = false)
private String xin1Che1Xing2Shi2Shi1Ri4Qi1String;
@@ -131,7 +131,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "在产车实施日期")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date implementTime;
@TableField(exist = false)
private String implementTimeString;
@@ -218,7 +218,7 @@ public class ProjectLawsInventoryEO implements Serializable {
private String designInitiator;
/**设计符合性确认-发起人id*/
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
@ApiModelProperty(value = "设计符合性确认-发起人id")
private String designInitiatorId;
@@ -234,7 +234,7 @@ public class ProjectLawsInventoryEO implements Serializable {
/**设计符合性确认-责任人id*/
@ApiModelProperty(value = "设计符合性确认-责任人id")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private String designDutyId;
/**设计符合性确认-责任人名称*/
@@ -247,7 +247,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "设计符合性确认-截止时间")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date designDueDate;
@TableField(exist = false)
private String designDueDateString;
@@ -280,7 +280,7 @@ public class ProjectLawsInventoryEO implements Serializable {
/**prehomo确认-发起人id*/
@ApiModelProperty(value = "prehomo确认-发起人id")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private String prehomoInitiatorId;
/**prehomo确认-发起人名称*/
@@ -295,7 +295,7 @@ public class ProjectLawsInventoryEO implements Serializable {
/**prehomo确认-责任人id*/
@ApiModelProperty(value = "prehomo确认-责任人id")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private String prehomoDutyId;
/**prehomo确认-责任人名称*/
@@ -308,7 +308,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "prehomo确认-截止时间")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date prehomoDueDate;
@TableField(exist = false)
private String prehomoDueDateString;
@@ -341,7 +341,7 @@ public class ProjectLawsInventoryEO implements Serializable {
/**验证符合性确认-发起人id*/
@ApiModelProperty(value = "验证符合性确认-发起人id")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private String verifyInitiatorId;
/**验证符合性确认-发起人名称*/
@@ -356,7 +356,7 @@ public class ProjectLawsInventoryEO implements Serializable {
/**验证符合性确认-责任人id*/
@ApiModelProperty(value = "验证符合性确认-责任人id")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private String verifyDutyId;
/**验证符合性确认-责任人名称*/
@@ -369,7 +369,7 @@ public class ProjectLawsInventoryEO implements Serializable {
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
@DateTimeFormat(pattern="yyyy-MM-dd")
@ApiModelProperty(value = "验证符合性确认-截止时间")
@TableField(updateStrategy = FieldStrategy.IGNORED)
//@TableField(updateStrategy = FieldStrategy.IGNORED)
private Date verifyDueDate;
@TableField(exist = false)
private String verifyDueDateString;
@@ -1386,7 +1386,10 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
if(StringUtils.equals(operatorType,OperatorTypeEnum.UPDATE_STATUS.getValue())){
ProjectLawsInventoryEO projectLawsInventoryEO = JSONObject.parseObject(jsonObject.toString(), ProjectLawsInventoryEO.class);
this.baseMapper.updateById(projectLawsInventoryEO);
//this.baseMapper.updateById(projectLawsInventoryEO);
QueryWrapper<ProjectLawsInventoryEO> lawsInventoryUpdateWrapper = new QueryWrapper<>();
lawsInventoryUpdateWrapper.lambda().eq(ProjectLawsInventoryEO::getId,projectLawsInventoryEO.getId());
this.baseMapper.update(projectLawsInventoryEO,lawsInventoryUpdateWrapper);
}
if(StringUtils.equals(operatorType,OperatorTypeEnum.ADD.getValue())){