Merge remote-tracking branch 'origin/master_merge' into master_merge
This commit is contained in:
@@ -139,7 +139,7 @@ public class LashManageServiceImpl implements LashManageService {
|
|||||||
|
|
||||||
jsonPoint.put("vehicle_qty", NumberUtil.add(jsonPoint.getBigDecimal("vehicle_qty"), 1));
|
jsonPoint.put("vehicle_qty", NumberUtil.add(jsonPoint.getBigDecimal("vehicle_qty"), 1));
|
||||||
|
|
||||||
if (jsonPoint.getIntValue("vehicle_qty") == Integer.parseInt(boxTypeDao.getLash_num_tow())) {
|
if (jsonPoint.getIntValue("vehicle_qty") == Integer.parseInt(boxTypeDao.getLash_num())) {
|
||||||
// 相同清空载具以及数量
|
// 相同清空载具以及数量
|
||||||
jsonPoint.put("vehicle_qty", 0);
|
jsonPoint.put("vehicle_qty", 0);
|
||||||
jsonPoint.put("vehicle_code", "");
|
jsonPoint.put("vehicle_code", "");
|
||||||
|
|||||||
@@ -197,6 +197,9 @@ public class CallEmpReelTask extends AbstractAcsTask {
|
|||||||
cache_param.put("point_location", jsonIvt.getString("point_location"));
|
cache_param.put("point_location", jsonIvt.getString("point_location"));
|
||||||
cache_param.put("product_area", jsonIvt.getString("product_area"));
|
cache_param.put("product_area", jsonIvt.getString("product_area"));
|
||||||
JSONObject cache_jo = WQL.getWO("PDA_COOLIN").addParamMap(cache_param).process().uniqueResult(0);
|
JSONObject cache_jo = WQL.getWO("PDA_COOLIN").addParamMap(cache_param).process().uniqueResult(0);
|
||||||
|
if(ObjectUtil.isEmpty(cache_jo)) {
|
||||||
|
throw new BadRequestException("未查询到可用的冷却区暂存位!");
|
||||||
|
}
|
||||||
JSONObject param = new JSONObject();
|
JSONObject param = new JSONObject();
|
||||||
param.put("point_code1", point_code4);
|
param.put("point_code1", point_code4);
|
||||||
param.put("point_code2", cache_jo.getString("point_code"));
|
param.put("point_code2", cache_jo.getString("point_code"));
|
||||||
|
|||||||
Reference in New Issue
Block a user