|
|
@ -1420,17 +1420,18 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
// 交接班接班信息填充
|
|
|
|
// 交接班接班信息填充
|
|
|
|
recDTO.setStatus(DutyRecStatus.ACCEPT.getVal()); |
|
|
|
recDTO.setStatus(DutyRecStatus.ACCEPT.getVal()); |
|
|
|
recDTO.setAcceptTime(new Date()); |
|
|
|
recDTO.setAcceptTime(new Date()); |
|
|
|
ImsDutyLogEntity imsDutyLogEntity = recDTO.getImsDutyLogEntity(); |
|
|
|
|
|
|
|
ImsDutyLogEntity update = imsDutyLogService.getOne(Wrappers.<ImsDutyLogEntity>lambdaQuery() |
|
|
|
ImsDutyLogEntity update = imsDutyLogService.getOne(Wrappers.<ImsDutyLogEntity>lambdaQuery() |
|
|
|
.eq(ImsDutyLogEntity::getDutyId, imsDutyLogEntity.getDutyId()) |
|
|
|
.eq(ImsDutyLogEntity::getDutyId, headDutyMain.getId()) |
|
|
|
.last("limit 1")); |
|
|
|
.last("limit 1")); |
|
|
|
update.setCarryTime(DateUtil.format(new Date(), PATTERN_DATETIME)); |
|
|
|
if(ObjectUtil.isNotEmpty(update)) { |
|
|
|
imsDutyLogService.updateById(update); |
|
|
|
update.setCarryTime(DateUtil.format(new Date(), PATTERN_DATETIME)); |
|
|
|
|
|
|
|
imsDutyLogService.updateById(update); |
|
|
|
// imsDutyLogService.update(Wrappers.<ImsDutyLogEntity>lambdaUpdate()
|
|
|
|
// imsDutyLogService.update(Wrappers.<ImsDutyLogEntity>lambdaUpdate()
|
|
|
|
// .set(ImsDutyLogEntity::getCarryTime, DateUtil.format(new Date(), PATTERN_DATETIME))
|
|
|
|
// .set(ImsDutyLogEntity::getCarryTime, DateUtil.format(new Date(), PATTERN_DATETIME))
|
|
|
|
// .eq(ImsDutyLogEntity::getDutyId,imsDutyLogEntity.getDutyId())
|
|
|
|
// .eq(ImsDutyLogEntity::getDutyId,imsDutyLogEntity.getDutyId())
|
|
|
|
// );
|
|
|
|
// );
|
|
|
|
log.info("更新值班日志"); |
|
|
|
log.info("更新值班日志"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
ImsDutyRecEntity dutyRec = BeanUtil.copy(recDTO, ImsDutyRecEntity.class); |
|
|
|
ImsDutyRecEntity dutyRec = BeanUtil.copy(recDTO, ImsDutyRecEntity.class); |
|
|
|
// 更新交班值班
|
|
|
|
// 更新交班值班
|
|
|
|