单号生成规则包含已删除;
This commit is contained in:
+4
-4
@@ -555,7 +555,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<select id="getMaxStockOutOrderByPrefixAndOrgAndWarehouse" resultType="java.lang.String">
|
||||
SELECT out_order_number FROM reserve_stock_out_order
|
||||
WHERE out_order_number LIKE concat(#{prefix}, '%')
|
||||
AND del_flag = 1
|
||||
|
||||
<if test="organizationId != null">
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
@@ -567,7 +567,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
SELECT out_order_number FROM reservation_stock_out_order
|
||||
WHERE out_order_number LIKE concat(#{prefix}, '%')
|
||||
AND del_flag = 1
|
||||
|
||||
<if test="organizationId != null">
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
@@ -579,7 +579,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
SELECT out_order_number FROM execution_stock_out_order
|
||||
WHERE out_order_number LIKE concat(#{prefix}, '%')
|
||||
AND del_flag = 1
|
||||
|
||||
<if test="organizationId != null">
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
@@ -591,7 +591,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
|
||||
SELECT out_order_number FROM NGWL_TEST_WMS.stock_out_order
|
||||
WHERE out_order_number LIKE concat(#{prefix}, '%')
|
||||
AND del_flag = 1
|
||||
|
||||
<if test="organizationId != null">
|
||||
AND organization_id = #{organizationId}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user