Commit d549c9e0 authored by nie'hong's avatar nie'hong

测试

parent 9aec99f6
......@@ -49,10 +49,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
private WorkDeptService workDeptService;
@Autowired
private WorkTimeOrderService workTimeOrderService;
@Autowired
private WorkSubmitAdoptService workSbumitAdoptService;
private WorkSubmitAdoptService workSubmitAdoptService;
@Autowired
private WorkHolidayService workHolidayService;
......@@ -528,7 +525,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
log.info("WorkOrderServiceImpl[]checkWorkOrderInfo[]input.method");
// 1、工单时间不能大于当前天
Date date = new Date();
WorkSubmitAdopt workSubmitAdopt = workSbumitAdoptService.getById(1);
WorkSubmitAdopt workSubmitAdopt = workSubmitAdoptService.getById(1);
Integer submitTime = workSubmitAdopt.getSubmitTime();
for (WorkTimeOrderDto dto : list) {
if (null == dto.getDes()) {
......@@ -589,7 +586,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
// 驳回重新填报
private void reSubmit(List<WorkTimeOrderDto> workTimeOrders) {
WorkSubmitAdopt workSubmitAdopt = workSbumitAdoptService.getById(1);
WorkSubmitAdopt workSubmitAdopt = workSubmitAdoptService.getById(1);
Integer submitTime = workSubmitAdopt.getSubmitTime();
for (WorkTimeOrderDto workTimeOrderDto : workTimeOrders) {
if (null == workTimeOrderDto.getDes()) {
......
......@@ -48,7 +48,7 @@ public class WorkUserServiceImpl implements WorkUserService {
}
WorkUser workUser = workUserMapper.selectById(id);
if (null == workUser) {
throw new BaseCustomException(BASE_RESP_CODE_ENUM.DEPT_NOT_HAVE_USER);
throw new BaseCustomException(BASE_RESP_CODE_ENUM.QUERY_USER_INFO_FAIL);
}
return workUser;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment