feat: 测试类
This commit is contained in:
@@ -667,7 +667,8 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM
|
||||
// 任务表
|
||||
WQLObject taskService = WQLObject.getWQLObject("sch_base_task");
|
||||
|
||||
StIvtIostorinv mstDao = this.getById(whereJson.getLongValue("iostorinv_id"));
|
||||
// 获取出库单据
|
||||
StIvtIostorinv mstDao = this.getById(whereJson.getString("iostorinv_id"));
|
||||
|
||||
// 创建手动式事务
|
||||
ArrayList<String> arr = new ArrayList<>();
|
||||
@@ -694,7 +695,7 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM
|
||||
}
|
||||
|
||||
/*
|
||||
* 下发任务
|
||||
* 下发任务(规则)
|
||||
* 1.根据木箱 长、宽、高、订单号、物料分组
|
||||
* 2.相同木箱规格、订单号、物料的木箱一个任务组
|
||||
*/
|
||||
@@ -2116,7 +2117,7 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM
|
||||
WQLObject TaskTab = WQLObject.getWQLObject("sch_base_task");
|
||||
|
||||
String result = "";
|
||||
// 查找库内是否有异常货位
|
||||
// 查找库内是否有异常货位(主存区)
|
||||
List<JSONObject> attrExceptionList = attrTab
|
||||
.query("sect_code = 'BZC01' AND is_delete = '0' AND is_used = '1' and lock_type = '" + IOSEnum.LOCK_TYPE.code("出库异常锁") + "' and zdepth = '"+IOSEnum.ZDEPTH_STRUCT.code("浅")+"'")
|
||||
.getResultJSONArray(0).toJavaList(JSONObject.class);
|
||||
@@ -2183,7 +2184,7 @@ public class StIvtIostorinvOutServiceImpl extends ServiceImpl<StIvtIostorinvOutM
|
||||
new QueryWrapper<StIvtIostorinvdis>().lambda()
|
||||
.eq(StIvtIostorinvdis::getIostorinv_id, iostorinv_id)
|
||||
);
|
||||
|
||||
// 获取木箱号数组
|
||||
List<String> collectBox = listDis.stream()
|
||||
.map(StIvtIostorinvdis::getBox_no)
|
||||
.distinct()
|
||||
|
||||
Reference in New Issue
Block a user