|  |  | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     @Transactional | 
 |  |  |     public void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId) { | 
 |  |  |     public void createWorkDetail(Integer workNo, List<DetlDto> detlDtos, String barcode, Long userId, Date now) { | 
 |  |  |         if (detlDtos.isEmpty()){ | 
 |  |  |             return; | 
 |  |  |         } | 
 |  |  |         Date now = new Date(); | 
 |  |  |         for (DetlDto dto : detlDtos) { | 
 |  |  |             Mat mat = matService.selectByMatnr(dto.getMatnr()); | 
 |  |  |             if (Cools.isEmpty(mat)){ | 
 |  |  | 
 |  |  |     public boolean updateInspect(Integer wrkNo, String matnr, String batch) { | 
 |  |  |         return this.baseMapper.updateInspect(wrkNo, matnr, batch) > 0; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<WrkDetl> selectPakoutQuery(Integer staNo, String matnr) { | 
 |  |  |         return this.baseMapper.selectPakoutQuery(staNo, matnr); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public List<WrkDetl> selectAndLogByOrderNoGroupByMatnrOfSum(String orderNo) { | 
 |  |  |         return this.baseMapper.selectAndLogByOrderNoGroupByMatnrOfSum(orderNo); | 
 |  |  |     } | 
 |  |  |     @Override | 
 |  |  |     public boolean updateIoTimeWms(Integer workNo, Date ioTime) { | 
 |  |  |         return this.baseMapper.updateIoTimeWms(workNo, ioTime) > 0; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override | 
 |  |  |     public boolean updateIoTime(Integer workNo, Date ioTime) { | 
 |  |  |         return this.baseMapper.updateIoTime(workNo, ioTime) > 0; | 
 |  |  |     } | 
 |  |  |     @Override | 
 |  |  |     public List<WrkDetl> findByWorkNo(Integer workNo) { | 
 |  |  |         return this.baseMapper.findByWorkNo(workNo); | 
 |  |  |     } | 
 |  |  | } |