提交 3c07292a authored 作者: douxy's avatar douxy

CP计划小程序改造,新增获取当前时间接口

上级 d4db35e8
...@@ -132,7 +132,7 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC ...@@ -132,7 +132,7 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC
public void clockInTodayPlan(TemporaryClockDto dto, Integer clockType) { public void clockInTodayPlan(TemporaryClockDto dto, Integer clockType) {
if (Objects.isNull(dto.getId())) { if (Objects.isNull(dto.getId())) {
ActivityPlanInfoDto planInfo = promPlanQueryService.selectById(dto.getPlanId()); ActivityPlanInfoDto planInfo = promPlanQueryService.selectById(dto.getPlanId());
if (Objects.isNull(planInfo) || (planInfo.getPlanStatus().equals(PlanStatus.EXECUTION.getCode()))){ if (Objects.isNull(planInfo)){
throw new ParamException(RCode.NOT_CLOCK_STORE_ERROR); throw new ParamException(RCode.NOT_CLOCK_STORE_ERROR);
} }
ManageEmployeeInfoDto employeeDto = manageEmployeeInfoDao.selectById(planInfo.getEmployeeId()); ManageEmployeeInfoDto employeeDto = manageEmployeeInfoDao.selectById(planInfo.getEmployeeId());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论