Commit 32a493ff by 刘鑫

fix(工作队cutoff 时间): cutoff时间修改不生效

1 parent 808f6e4c
...@@ -339,6 +339,9 @@ public class BusinessTeamServiceImpl implements BusinessTeamService { ...@@ -339,6 +339,9 @@ public class BusinessTeamServiceImpl implements BusinessTeamService {
if (entity == null) { if (entity == null) {
return Result.failed("工作队信息不存在!"); return Result.failed("工作队信息不存在!");
} }
if(StringUtils.isNotBlank(req.getCutoffTime())) {
entity.setCuteOff(req.getCutoffTime());
}
if (req.getWorkOff() != null) { if (req.getWorkOff() != null) {
entity.setCuteOff(req.getWorkOff()); entity.setCuteOff(req.getWorkOff());
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!