无货主流程;
This commit is contained in:
@@ -122,7 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
and a.top_organization_id = #{topOrganizationId}
|
||||
</if>
|
||||
<if test="shipperId != null ">
|
||||
and a.shipper_id = #{shipperId}
|
||||
and (a.shipper_id = #{shipperId} or a.shipper_id is null or a.shipper_id = 0)
|
||||
</if>
|
||||
<if test="shipperCode != null and shipperCode != ''">
|
||||
and a.shipper_code like concat('%', #{shipperCode}, '%')
|
||||
@@ -268,7 +268,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
FROM ... LEFT JOIN material_base_info b ON ...
|
||||
因此这里所有列名都加上 b. 前缀以避免和主表列名歧义 -->
|
||||
<if test="shipperId != null ">
|
||||
and b.shipper_id = #{shipperId}
|
||||
and (b.shipper_id = #{shipperId} or b.shipper_id is null or b.shipper_id = 0)
|
||||
</if>
|
||||
<if test="shipperCode != null and shipperCode != ''">
|
||||
and b.shipper_code like concat('%', #{shipperCode}, '%')
|
||||
|
||||
Reference in New Issue
Block a user