bug更改
This commit is contained in:
+3
@@ -49,9 +49,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="warehouseId != null ">
|
||||
and a.warehouse_id = #{warehouseId}
|
||||
</if>
|
||||
<!-- 查询含 is_default=2 的默认仓关联行;is_default=2 仅在删除/保存绑定时在 Service 中过滤,不再在 SQL 中排除 -->
|
||||
<!--
|
||||
<if test="excludeDefaultWarehouse != null and excludeDefaultWarehouse">
|
||||
and (a.is_default is null or a.is_default <> 2)
|
||||
</if>
|
||||
-->
|
||||
<if test="warehouseCode != null and warehouseCode != ''">
|
||||
and a.warehouse_code = #{warehouseCode}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user