|
|
@ -50,7 +50,7 @@ public class StIvtMoveinvServiceImpl extends ServiceImpl<StIvtMoveinvMapper, StI |
|
|
|
/** |
|
|
|
* 载具扩展属性mapper |
|
|
|
*/ |
|
|
|
@Autowired |
|
|
|
@Resource |
|
|
|
private MdPbStoragevehicleextMapper mdPbStoragevehicleextMapper; |
|
|
|
|
|
|
|
/** |
|
|
@ -196,6 +196,7 @@ public class StIvtMoveinvServiceImpl extends ServiceImpl<StIvtMoveinvMapper, StI |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@Transactional |
|
|
|
public void confirmTask(StIvtMoveinvdtl dtlDao) { |
|
|
|
// 需要更新库存集合
|
|
|
|
List<JSONObject> updateIvtList = new ArrayList<>(); |
|
|
@ -214,15 +215,6 @@ public class StIvtMoveinvServiceImpl extends ServiceImpl<StIvtMoveinvMapper, StI |
|
|
|
jsonIvt.put("qty_unit_name", dtlDao.getQty_unit_name()); |
|
|
|
jsonIvt.put("change_qty", dtlDao.getQty()); |
|
|
|
updateIvtList.add(jsonIvt); |
|
|
|
JSONObject jsonIvtTwo = new JSONObject(); |
|
|
|
jsonIvtTwo.put("type", IOSConstant.UPDATE_IVT_TYPE_ADD_CANUSE); |
|
|
|
jsonIvtTwo.put("storagevehicle_code", dtlDao.getStoragevehicle_code()); |
|
|
|
jsonIvtTwo.put("material_id", materDao.getMaterial_id()); |
|
|
|
jsonIvtTwo.put("pcsn", dtlDao.getPcsn()); |
|
|
|
jsonIvtTwo.put("qty_unit_id", dtlDao.getQty_unit_id()); |
|
|
|
jsonIvtTwo.put("qty_unit_name", dtlDao.getQty_unit_name()); |
|
|
|
jsonIvtTwo.put("change_qty", dtlDao.getQty()); |
|
|
|
updateIvtList.add(jsonIvtTwo); |
|
|
|
iMdPbGroupPlateService.updateIvt(updateIvtList); |
|
|
|
|
|
|
|
// 更新起点
|
|
|
|