| | |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.Objects; |
| | | |
| | |
| | | } |
| | | WrkMastLog mastLog = new WrkMastLog(); |
| | | BeanUtils.copyProperties(mast, mastLog); |
| | | // mastLog.setLogId(mast.getId()); |
| | | // |
| | | if (mast.getWrkSts() != null) { |
| | | mastLog.setWrkSts(mast.getWrkSts().intValue()); |
| | | } |
| | | mastLog.setLogId(Long.valueOf(mast.getWrkNo())); |
| | | |
| | | if (!wrkMastLogService.insert(mastLog)) { |
| | | throw new CoolException("任务日志保存失败!!"); |
| | | } |
| | |
| | | return R.ok(page); |
| | | } |
| | | |
| | | @Override |
| | | public List<InventoryFlowDto> inventoryFlowAll(Map<String, Object> param) { |
| | | return this.baseMapper.inventoryFlowAll(param); |
| | | } |
| | | |
| | | } |