opt:优化
This commit is contained in:
@@ -1996,17 +1996,24 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM
|
|||||||
//如果是转单和换标出库
|
//如果是转单和换标出库
|
||||||
/**
|
/**
|
||||||
* request_param.put("isRePrintPackageBoxLabel", isRePrintPackageBoxLabel);
|
* request_param.put("isRePrintPackageBoxLabel", isRePrintPackageBoxLabel);
|
||||||
* request_param.put("isUnPackBox", isUnPackBox);
|
* request_param.put("isUnPackBox", isUnPackBox);
|
||||||
* request_param.put("UpdatedDateOfProduction", UpdatedDateOfProduction);
|
* request_param.put("UpdatedDateOfProduction", UpdatedDateOfProduction);
|
||||||
* request_param.put("DemandDate", DemandDate);
|
* request_param.put("DemandDate", DemandDate);
|
||||||
* request_param.put("bill_type", IOSEnum.OUT_TYPE.code("转单出库"));
|
* request_param.put("bill_type", IOSEnum.OUT_TYPE.code("转单出库"));
|
||||||
*/
|
*/
|
||||||
if (mst.getBill_type().equals(IOSEnum.OUT_TYPE.code("转单出库")) || mst.getBill_type().equals(IOSEnum.OUT_TYPE.code("换标出库"))) {
|
if (mst.getBill_type().equals(IOSEnum.OUT_TYPE.code("转单出库"))) {
|
||||||
StIvtIostorinvdtl dtl = iStIvtIostorinvdtlService.getById(disDaoList.get(0).getIostorinvdtl_id());
|
StIvtIostorinvdtl dtl = iStIvtIostorinvdtlService.getById(disDaoList.get(0).getIostorinvdtl_id());
|
||||||
//设置业务参数到任务参数里
|
//设置业务参数到任务参数里
|
||||||
if (ObjectUtil.isNotEmpty(dtl.getRemark())) {
|
if (ObjectUtil.isNotEmpty(dtl.getRemark())) {
|
||||||
request_param = JSONObject.parseObject(dtl.getRemark());
|
request_param = JSONObject.parseObject(dtl.getRemark());
|
||||||
}
|
}
|
||||||
|
}else if (mst.getBill_type().equals(IOSEnum.OUT_TYPE.code("换标出库"))) {
|
||||||
|
//是否需要重打外包装标签
|
||||||
|
request_param.put("isRePrintPackageBoxLabel", IOSEnum.IS_NOTANDYES.code("是"));
|
||||||
|
//是否需要拆包重打子卷标签
|
||||||
|
request_param.put("isUnPackBox", IOSEnum.IS_NOTANDYES.code("否"));
|
||||||
|
//订单类型
|
||||||
|
request_param.put("bill_type", mst.getBill_type());
|
||||||
}
|
}
|
||||||
request_param.put("containerType", boxDao.getVehicle_type());
|
request_param.put("containerType", boxDao.getVehicle_type());
|
||||||
jsonTaskParam.put("request_param", request_param);
|
jsonTaskParam.put("request_param", request_param);
|
||||||
|
|||||||
Reference in New Issue
Block a user