opt:优化
This commit is contained in:
@@ -97,7 +97,7 @@ public class VirtualOutServiceImpl implements VirtualOutService {
|
|||||||
|
|
||||||
if (ObjectUtil.isNotEmpty(whereJson.getString("box_no"))) {
|
if (ObjectUtil.isNotEmpty(whereJson.getString("box_no"))) {
|
||||||
JSONObject jsonSub = WQL.getWO("PDA_VIRTUALOUT").addParam("flag", "4").addParam("box_no", whereJson.getString("box_no")).process().uniqueResult(0);
|
JSONObject jsonSub = WQL.getWO("PDA_VIRTUALOUT").addParam("flag", "4").addParam("box_no", whereJson.getString("box_no")).process().uniqueResult(0);
|
||||||
if (ObjectUtil.isNotEmpty(jsonSub)){
|
if (ObjectUtil.isEmpty(jsonSub)){
|
||||||
throw new BadRequestException("未查询到设木箱号为["+whereJson.getString("box_no")+"]的子卷包装关系信息!");
|
throw new BadRequestException("未查询到设木箱号为["+whereJson.getString("box_no")+"]的子卷包装关系信息!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user