| | |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.MaterialInfo; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.entity.PipeInfo; |
| | | import com.thhy.mobile.modules.biz.pipeinfo.mapper.PipeInfoMapper; |
| | | import com.thhy.mobile.modules.biz.steelcheck.entity.SteelStockRecord; |
| | | import com.thhy.mobile.modules.biz.steelproduce.entity.ProduceDto; |
| | | import com.thhy.mobile.modules.biz.steelproduce.entity.SteelProduce; |
| | | import com.thhy.mobile.modules.biz.steelproduce.mapper.SteelProduceMapper; |
| | |
| | | if(compareResult){//匹配成功 |
| | | //更改钢筋笼产品入模状态 |
| | | steelProduceMapper.updateisModel(new ProduceDto(1,modCheckDto.getProduceNumber())); |
| | | //钢筋笼库存记录 |
| | | SteelStockRecord steelStockRecord = new SteelStockRecord(steelProduce,true); |
| | | steelStockRecord.setModCheckId(mouldCheck.getModCheckId()); |
| | | steelStockMapper.insertSteelStockRecord(steelStockRecord); |
| | | //减掉钢筋笼库存 |
| | | steelStockMapper.updateMinusStock(new SteelStock(steelProduce)); |
| | | //更新模具循环次数 |