| | |
| | | //log.info("zc添加库存日志:{}", JSON.toJSON(agvLocDetl)); |
| | | this.insert(agvLocDetl); |
| | | // 流水 -- 新增订单明细 |
| | | OrderDetl orderDetl = orderDetlService.selectItem(agvWrkDetl.getOrderNo(), agvWrkDetl.getMatnr(), agvWrkDetl.getBatch(), agvWrkDetl.getThreeCode()); |
| | | //OrderDetl orderDetl = orderDetlService.selectItem(agvWrkDetl.getOrderNo(), agvWrkDetl.getMatnr(), agvWrkDetl.getBatch(), agvWrkDetl.getThreeCode()); |
| | | // FlowLog flowLog = new FlowLog(); |
| | | // flowLog.setFid(String.valueOf(flowId)); |
| | | // flowLog.setSpare2(String.valueOf(taskCode)); |
| | |
| | | /* |
| | | 更新库存明细 |
| | | */ |
| | | public void updateStock(String sourceLoc, String targetLoc) { |
| | | this.baseMapper.updateStock(sourceLoc, targetLoc); |
| | | public void updateStock(String sourceLoc, String targetLoc,Long userId) { |
| | | if (Cools.isEmpty(userId)){ |
| | | this.baseMapper.updateStock(sourceLoc, targetLoc); |
| | | }else { |
| | | this.baseMapper.updateStock2(sourceLoc, targetLoc, userId); |
| | | } |
| | | } |
| | | |
| | | public Page<AgvLocDetl> getStockStatis(Page<AgvLocDetl> page) { |