set verify_user_name and verify_time when invalidate config modify ap… (#788)

* set verify_user_name and verify_time when invalidate config modify application

* set verify_user_name and verify_time when invalidate config modify application
pull/791/head
shanjianq 2 years ago committed by GitHub
parent 7e16528de3
commit c4398d05e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,7 +83,9 @@ public abstract class AbstractConfigModificationVerifyService implements ConfigM
.and(reqDTO.getIdentify() != null, wrapper -> wrapper.eq(HisConfigVerifyInfo::getIdentify, reqDTO.getIdentify()).or().eq(HisConfigVerifyInfo::getModifyAll, true))
.lt(HisConfigVerifyInfo::getGmtCreate, gmtCreate)
.eq(HisConfigVerifyInfo::getVerifyStatus, VerifyEnum.TO_VERIFY.getVerifyStatus())
.set(HisConfigVerifyInfo::getVerifyStatus, VerifyEnum.VERIFY_INVALID.getVerifyStatus());
.set(HisConfigVerifyInfo::getVerifyStatus, VerifyEnum.VERIFY_INVALID.getVerifyStatus())
.set(HisConfigVerifyInfo::getVerifyUser, UserContext.getUserName())
.set(HisConfigVerifyInfo::getGmtVerify, new Date());
hisConfigVerifyMapper.update(null, invalidUpdateWrapper);
}

Loading…
Cancel
Save