rev:木箱出库
This commit is contained in:
@@ -551,20 +551,12 @@ public class OutBoxManageServiceImpl implements OutBoxManageService {
|
|||||||
// 载具扩展属性表
|
// 载具扩展属性表
|
||||||
WQLObject extTab = WQLObject.getWQLObject("md_pb_storagevehicleext");
|
WQLObject extTab = WQLObject.getWQLObject("md_pb_storagevehicleext");
|
||||||
|
|
||||||
BstIvtBoxinfo boxDao = iBstIvtBoxinfoService.getOne(
|
|
||||||
new QueryWrapper<BstIvtBoxinfo>().lambda()
|
|
||||||
.eq(BstIvtBoxinfo::getBox_no, jsonObject.getString("storagevehicle_code"))
|
|
||||||
);
|
|
||||||
if (ObjectUtil.isEmpty(boxDao)) {
|
|
||||||
throw new BadRequestException("木箱信息不存在!"+jsonObject.getString("storagevehicle_code"));
|
|
||||||
}
|
|
||||||
|
|
||||||
// 找一个空的仓位
|
// 找一个空的仓位
|
||||||
JSONObject paramIn = new JSONObject();
|
JSONObject paramIn = new JSONObject();
|
||||||
paramIn.put("stor_id", IOSEnum.STOR_ID.code("二期"));
|
paramIn.put("stor_id", IOSEnum.STOR_ID.code("二期"));
|
||||||
paramIn.put("sect_id", RegionTypeEnum.TWO_BZC01.getId());
|
paramIn.put("sect_id", RegionTypeEnum.TWO_BZC01.getId());
|
||||||
paramIn.put("vehicle_type", jsonObject.getString("storagevehicle_type"));
|
paramIn.put("vehicle_type", jsonObject.getString("storagevehicle_type"));
|
||||||
paramIn.put("height", boxDao.getBox_high());
|
paramIn.put("height", jsonObject.getString("height"));
|
||||||
|
|
||||||
InBoxManageServiceImpl bean = SpringContextHolder.getBean(InBoxManageServiceImpl.class);
|
InBoxManageServiceImpl bean = SpringContextHolder.getBean(InBoxManageServiceImpl.class);
|
||||||
JSONObject jsonAttr = bean.getStruct(paramIn);
|
JSONObject jsonAttr = bean.getStruct(paramIn);
|
||||||
|
|||||||
Reference in New Issue
Block a user