|
|
@@ -82,6 +82,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maps.status != null and maps.status != ''">
|
|
|
AND o.status = #{maps.status}
|
|
|
</if>
|
|
|
+ <if test="maps.userId != null and maps.userId != ''">
|
|
|
+ AND o.company_user_id = #{maps.userId}
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="maps.productId != null and maps.productId != ''">
|
|
|
AND fspc.product_id = #{maps.productId}
|
|
|
</if>
|
|
|
@@ -227,6 +231,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maps.status != null and maps.status != ''">
|
|
|
AND o.status = #{maps.status}
|
|
|
</if>
|
|
|
+ <if test="maps.userId != null and maps.userId != ''">
|
|
|
+ AND o.company_user_id = #{maps.userId}
|
|
|
+ </if>
|
|
|
<if test="maps.productId != null and maps.productId != ''">
|
|
|
AND fspc.product_id = #{maps.productId}
|
|
|
</if>
|
|
|
@@ -375,6 +382,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="maps.status != null and maps.status != ''">
|
|
|
AND o.status = #{maps.status}
|
|
|
</if>
|
|
|
+ <if test="maps.userId != null and maps.userId != ''">
|
|
|
+ AND o.company_user_id = #{maps.userId}
|
|
|
+ </if>
|
|
|
<if test="maps.productId != null and maps.productId != ''">
|
|
|
AND fspc.product_id = #{maps.productId}
|
|
|
</if>
|