rev: 修改缓存线显示全部位置
This commit is contained in:
@@ -860,7 +860,7 @@ public class CacheLineHandServiceImpl implements CacheLineHandService{
|
|||||||
AtomicReference<JSONArray> res = new AtomicReference<>(new JSONArray());
|
AtomicReference<JSONArray> res = new AtomicReference<>(new JSONArray());
|
||||||
RedissonUtils.lock(() -> {
|
RedissonUtils.lock(() -> {
|
||||||
// 生产区域
|
// 生产区域
|
||||||
res.set(WQL.getWO("PDA_QUERY").addParamMap(MapOf.of("flag", "8", "product_area", productArea, "cacheLine_code", pointCode)).process().getResultJSONArray(0));
|
res.set(WQL.getWO("PDA_QUERY").addParamMap(MapOf.of("flag", "8", "product_area", productArea, "cacheline_code", pointCode)).process().getResultJSONArray(0));
|
||||||
}, pointCode, 3);
|
}, pointCode, 3);
|
||||||
return res.get();
|
return res.get();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -198,7 +198,7 @@
|
|||||||
md_me_materialbase.material_spec,
|
md_me_materialbase.material_spec,
|
||||||
sch_cacheline_vehilematerial.quantity,
|
sch_cacheline_vehilematerial.quantity,
|
||||||
sch_cacheline_vehilematerial.weight,
|
sch_cacheline_vehilematerial.weight,
|
||||||
IF(length(sch_cacheline_position.vehicle_code) > 0, IFNULL(sch_cacheline_vehilematerial.vehicle_status, 4), 5) AS vehicle_status
|
IF(length(sch_cacheline_position.vehicle_code) > 0, IFNULL(sch_cacheline_vehilematerial.vehicle_status, 4), 1) AS vehicle_status
|
||||||
FROM
|
FROM
|
||||||
sch_cacheline_position
|
sch_cacheline_position
|
||||||
LEFT JOIN sch_cacheline_vehilematerial ON sch_cacheline_position.vehicle_code = sch_cacheline_vehilematerial.vehicle_code
|
LEFT JOIN sch_cacheline_vehilematerial ON sch_cacheline_position.vehicle_code = sch_cacheline_vehilematerial.vehicle_code
|
||||||
@@ -212,7 +212,7 @@
|
|||||||
sch_cacheline_position.cacheline_code = 输入.cacheline_code
|
sch_cacheline_position.cacheline_code = 输入.cacheline_code
|
||||||
ENDOPTION
|
ENDOPTION
|
||||||
ORDER BY
|
ORDER BY
|
||||||
sch_cacheline_position.cacheline_code
|
sch_cacheline_position.cacheline_code, sch_cacheline_position.layer_num, sch_cacheline_position.positionorder_no, sch_cacheline_position.cache_line_no
|
||||||
ENDSELECT
|
ENDSELECT
|
||||||
ENDQUERY
|
ENDQUERY
|
||||||
ENDIF
|
ENDIF
|
||||||
|
|||||||
Reference in New Issue
Block a user