|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|