feat: 不符合项库 增加关闭人关闭时间字段
This commit is contained in:
+15
@@ -254,6 +254,21 @@ public class LawsEvaluationNotMetLibrary implements Serializable {
|
||||
@ApiModelProperty(value = "这条数据的所有审批人员")
|
||||
private String allApprovalUser;
|
||||
|
||||
/**
|
||||
* 关闭人
|
||||
*/
|
||||
@ApiModelProperty(value = "关闭人")
|
||||
private String closeUser;
|
||||
|
||||
/**
|
||||
* 关闭时间
|
||||
*/
|
||||
@ApiModelProperty(value = "关闭时间")
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd")
|
||||
@Excel(name = "关闭时间", width = 15, orderNum = "12", format = "yyyy-MM-dd")
|
||||
private Date closeTime;
|
||||
|
||||
/**
|
||||
* 关闭用主键ids
|
||||
*/
|
||||
|
||||
+2
@@ -101,6 +101,8 @@ public class LawsEvaluationNotMetLibraryServiceImpl extends ServiceImpl<LawsEval
|
||||
LawsEvaluationNotMetLibrary::getFile, lawsEvaluationNotMet.getFile());
|
||||
wrapper.set(LawsEvaluationNotMetLibrary::getUpdateTime, new Date());
|
||||
wrapper.set(LawsEvaluationNotMetLibrary::getUpdateBy, UserUtils.getCurrentUser().getUsername());
|
||||
wrapper.set(LawsEvaluationNotMetLibrary::getCloseUser, UserUtils.getCurrentUser().getId());
|
||||
wrapper.set(LawsEvaluationNotMetLibrary::getCloseTime, new Date());
|
||||
wrapper.in(LawsEvaluationNotMetLibrary::getId, ids);
|
||||
update(wrapper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user