|
@ -417,9 +417,6 @@ public class LocationServiceImpl implements LocationService { |
|
|
List<RuleRespVO> ruleRespVOList = ruleService.getGroundingList(locationValidateVO.getItemCode(), locationValidateVO.getInventoryStatus()); |
|
|
List<RuleRespVO> ruleRespVOList = ruleService.getGroundingList(locationValidateVO.getItemCode(), locationValidateVO.getInventoryStatus()); |
|
|
boolean validateResult = false; |
|
|
boolean validateResult = false; |
|
|
String msg = ""; |
|
|
String msg = ""; |
|
|
if(ruleRespVOList.size() == 1) { |
|
|
|
|
|
validateResult = true; |
|
|
|
|
|
} else { |
|
|
|
|
|
for (RuleRespVO ruleRespVO : ruleRespVOList) { |
|
|
for (RuleRespVO ruleRespVO : ruleRespVOList) { |
|
|
JSONObject jsonObject = JSONUtil.parseObj(ruleRespVO.getConfiguration()); |
|
|
JSONObject jsonObject = JSONUtil.parseObj(ruleRespVO.getConfiguration()); |
|
|
//增加过滤条件
|
|
|
//增加过滤条件
|
|
@ -485,7 +482,6 @@ public class LocationServiceImpl implements LocationService { |
|
|
break; |
|
|
break; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
map.put("itemCode", locationValidateVO.getItemCode()); |
|
|
map.put("itemCode", locationValidateVO.getItemCode()); |
|
|
map.put("batch", locationValidateVO.getBatch()); |
|
|
map.put("batch", locationValidateVO.getBatch()); |
|
|