rev:出库单生成移库任务规则修改
This commit is contained in:
@@ -150,7 +150,7 @@ public class OutStorageTask extends AbstractTask {
|
|||||||
AtomicReference<String> moveStruct = new AtomicReference<>();
|
AtomicReference<String> moveStruct = new AtomicReference<>();
|
||||||
RedissonUtils.lock(() -> {
|
RedissonUtils.lock(() -> {
|
||||||
System.out.println("---3--" + Thread.currentThread().getName());
|
System.out.println("---3--" + Thread.currentThread().getName());
|
||||||
Map process = SpringContextHolder.getBean(DecisionHandler.class).dispenseTransa(ListOf.of("depthPriority","nearby"), new JSONObject(MapOf.of("stor_code", block.getStor_code())));
|
Map process = SpringContextHolder.getBean(DecisionHandler.class).dispenseTransa(ListOf.of("limitStorage","depthPriority","nearby"), new JSONObject(MapOf.of("stor_code", block.getStor_code(),"vehicle_code",struct.getVehicle_code())));
|
||||||
moveStruct.set(((Map<String, String>) process.get("form_data")).get("end_struct_code"));
|
moveStruct.set(((Map<String, String>) process.get("form_data")).get("end_struct_code"));
|
||||||
}, "1" + block.getStor_code(), 5);
|
}, "1" + block.getStor_code(), 5);
|
||||||
Map moveForm = MapOf.of("task_type", StatusEnum.IOBILL_TYPE_MOVE.code("移库")
|
Map moveForm = MapOf.of("task_type", StatusEnum.IOBILL_TYPE_MOVE.code("移库")
|
||||||
|
|||||||
Reference in New Issue
Block a user