rev:二次分配修改
This commit is contained in:
@@ -45,6 +45,8 @@ public class TwoSendOutTask extends AbstractAcsTask {
|
||||
JSONArray arr = WQLObject.getWQLObject("SCH_BASE_Task").query("handle_class = '" + THIS_CLASS + "' and task_status = '" + TaskStatusEnum.START_AND_POINT.getCode() + "' and is_delete ='0'").getResultJSONArray(0);
|
||||
// 获取系统参数
|
||||
String expandWidthLength = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("expandWidthLength").getValue();
|
||||
JSONObject param = new JSONObject();
|
||||
param.put("expandWidthLength",expandWidthLength);
|
||||
|
||||
ArrayList<AcsTaskDto> resultList = new ArrayList<>();
|
||||
for (int i = 0; i < arr.size(); i++) {
|
||||
@@ -65,7 +67,7 @@ public class TwoSendOutTask extends AbstractAcsTask {
|
||||
.dtl_type(String.valueOf(dtl_type))
|
||||
.route_plan_code(getRoutePlanCode(json.getString("point_code1")))
|
||||
.remark(json.getString("remark"))
|
||||
.expandWidthLength(expandWidthLength)
|
||||
.interaction_json(param)
|
||||
.build();
|
||||
resultList.add(dto);
|
||||
|
||||
|
||||
@@ -104,8 +104,8 @@ public enum IOSEnum {
|
||||
"6","CK2046", "7","7", "8","8", "9","9", "10","10")),
|
||||
|
||||
// 出库发货等待点
|
||||
OUT_FH_POINT(MapOf.of("1","B_FH_01_0", "2","B_FH_02_0", "3","B_FH_03_0", "4","B_FH_04_0" ,"5","B_FH_05_0",
|
||||
"6","B_FH_06_0")),
|
||||
OUT_FH_POINT(MapOf.of("1","B_FH01_0", "2","B_FH02_0", "3","B_FH03_0", "4","B_FH04_0" ,"5","B_FH05_0",
|
||||
"6","B_FH06_0")),
|
||||
|
||||
// 行架点位
|
||||
OUT_HANGER(MapOf.of("行架位1", "CK2013","行架位2", "CK2017")),
|
||||
|
||||
@@ -140,10 +140,4 @@ public class AcsTaskDto {
|
||||
|
||||
private String barcode;
|
||||
|
||||
/**
|
||||
* 发货任务下发货叉宽度
|
||||
*/
|
||||
private String expandWidthLength;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user