rev: 二期手工分配
This commit is contained in:
@@ -247,18 +247,6 @@ public class OutBussManageServiceImpl implements OutBussManageService {
|
|||||||
|
|
||||||
List<StIvtIostorinvdis> resultDisList = new ArrayList<>();
|
List<StIvtIostorinvdis> resultDisList = new ArrayList<>();
|
||||||
|
|
||||||
// 查询库区
|
|
||||||
JSONObject jsonSect = WQLObject.getWQLObject("st_ivt_sectattr")
|
|
||||||
.query("sect_id = '" + likeBoxList.get(0).getString("sect_id") + "'")
|
|
||||||
.uniqueResult(0);
|
|
||||||
|
|
||||||
String work_status;
|
|
||||||
if (jsonSect.getString("sect_type_attr").equals(IOSEnum.SECT_TYPE.code("虚拟区"))) {
|
|
||||||
work_status = IOSEnum.WORK_STATUS.code("生成");
|
|
||||||
} else {
|
|
||||||
work_status = IOSEnum.WORK_STATUS.code("未生成");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 查询计量单位
|
// 查询计量单位
|
||||||
JSONObject jsonUnit = WQLObject.getWQLObject("md_pb_measureunit")
|
JSONObject jsonUnit = WQLObject.getWQLObject("md_pb_measureunit")
|
||||||
.query("measure_unit_id = '" + likeBoxList.get(0).getString("qty_unit_id") + "'")
|
.query("measure_unit_id = '" + likeBoxList.get(0).getString("qty_unit_id") + "'")
|
||||||
@@ -273,10 +261,21 @@ public class OutBussManageServiceImpl implements OutBussManageService {
|
|||||||
.query("container_name in ('" + pcsn_in + "')")
|
.query("container_name in ('" + pcsn_in + "')")
|
||||||
.getResultJSONArray(0).toJavaList(JSONObject.class);
|
.getResultJSONArray(0).toJavaList(JSONObject.class);
|
||||||
|
|
||||||
|
|
||||||
for (int i = 0; i < likeBoxList.size(); i++) {
|
for (int i = 0; i < likeBoxList.size(); i++) {
|
||||||
JSONObject jsonIvt = likeBoxList.get(i);
|
JSONObject jsonIvt = likeBoxList.get(i);
|
||||||
|
|
||||||
|
// 查询库区
|
||||||
|
JSONObject jsonSect = WQLObject.getWQLObject("st_ivt_sectattr")
|
||||||
|
.query("sect_id = '" + jsonIvt.getString("sect_id") + "'")
|
||||||
|
.uniqueResult(0);
|
||||||
|
|
||||||
|
String work_status;
|
||||||
|
if (jsonSect.getString("sect_type_attr").equals(IOSEnum.SECT_TYPE.code("虚拟区"))) {
|
||||||
|
work_status = IOSEnum.WORK_STATUS.code("生成");
|
||||||
|
} else {
|
||||||
|
work_status = IOSEnum.WORK_STATUS.code("未生成");
|
||||||
|
}
|
||||||
|
|
||||||
JSONObject jsonSub = subList.stream()
|
JSONObject jsonSub = subList.stream()
|
||||||
.filter(row -> row.getString("container_name").equals(jsonIvt.getString("pcsn")))
|
.filter(row -> row.getString("container_name").equals(jsonIvt.getString("pcsn")))
|
||||||
.collect(Collectors.toList()).get(0);
|
.collect(Collectors.toList()).get(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user