Browse Source

更新UpdatedBy

master
yinzuomei 3 years ago
parent
commit
419a882c23
  1. 8
      epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java

8
epmet-module/epmet-heart/epmet-heart-server/src/main/java/com/epmet/service/impl/IcUserDemandRecServiceImpl.java

@ -556,28 +556,28 @@ public class IcUserDemandRecServiceImpl extends BaseServiceImpl<IcUserDemandRecD
LambdaUpdateWrapper<IcUserDemandRecEntity> wrapper = new LambdaUpdateWrapper();
wrapper.eq(IcUserDemandRecEntity::getId, id)
.set(IcUserDemandRecEntity::getUpdatedTime, nowTime)
.set(IcUserDemandRecEntity::getCreatedBy, currentUserId)
.set(IcUserDemandRecEntity::getUpdatedBy, currentUserId)
.set(IcUserDemandRecEntity::getDelFlag, NumConstant.ONE_STR);
baseDao.update(null, wrapper);
LambdaUpdateWrapper<IcUserDemandServiceEntity> serviceWrapper = new LambdaUpdateWrapper();
serviceWrapper.eq(IcUserDemandServiceEntity::getDemandRecId, id)
.set(IcUserDemandServiceEntity::getUpdatedTime, nowTime)
.set(IcUserDemandServiceEntity::getCreatedBy, currentUserId)
.set(IcUserDemandServiceEntity::getUpdatedBy, currentUserId)
.set(IcUserDemandServiceEntity::getDelFlag, NumConstant.ONE_STR);
demandServiceDao.update(null, serviceWrapper);
LambdaUpdateWrapper<IcUserDemandSatisfactionEntity> statWrapper = new LambdaUpdateWrapper();
statWrapper.eq(IcUserDemandSatisfactionEntity::getDemandRecId, id)
.set(IcUserDemandSatisfactionEntity::getUpdatedTime, nowTime)
.set(IcUserDemandSatisfactionEntity::getCreatedBy, currentUserId)
.set(IcUserDemandSatisfactionEntity::getUpdatedBy, currentUserId)
.set(IcUserDemandSatisfactionEntity::getDelFlag, NumConstant.ONE_STR);
demandSatisfactionDao.update(null, statWrapper);
LambdaUpdateWrapper<IcUserDemandOperateLogEntity> logWrapper = new LambdaUpdateWrapper();
logWrapper.eq(IcUserDemandOperateLogEntity::getDemandRecId, id)
.set(IcUserDemandOperateLogEntity::getUpdatedTime, nowTime)
.set(IcUserDemandOperateLogEntity::getCreatedBy, currentUserId)
.set(IcUserDemandOperateLogEntity::getUpdatedBy, currentUserId)
.set(IcUserDemandOperateLogEntity::getDelFlag, NumConstant.ONE_STR);
operateLogDao.update(null, logWrapper);
}

Loading…
Cancel
Save