出库单据

This commit is contained in:
张怡蓉
2025-09-24 15:22:56 +08:00
parent a3c9a3c833
commit a02cdf4a4c
2 changed files with 3 additions and 2 deletions

View File

@@ -255,8 +255,8 @@ public class ToWmsServiceImpl implements IToWmsService {
private String getRoadway(int size) {
return switch (size) {
case 1, 2 -> "1";
case 3, 4 -> "2";
case 1 -> "2";
case 2,3, 4 -> "2";
default -> null;
};
}

View File

@@ -181,6 +181,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT TOP 1 cargo_space_id as cargoSpaceId
FROM bas_cargo_space
WHERE status = '1'
and locked = 'N'
<if test="warehouseId != null">
and warehouse_id = #{warehouseId}
</if>