|
@@ -48,7 +48,7 @@
|
|
|
<if test="orderNo != null">
|
|
|
and orderNo = #{orderNo}
|
|
|
</if>
|
|
|
- <if test="userId != 0">
|
|
|
+ <if test="userId != null">
|
|
|
and userId = #{userId}
|
|
|
</if>
|
|
|
<if test="productId != null">
|
|
@@ -81,7 +81,7 @@
|
|
|
<if test="orderNo != null">
|
|
|
and orderNo = #{orderNo}
|
|
|
</if>
|
|
|
- <if test="userId != 0">
|
|
|
+ <if test="userId != null">
|
|
|
and userId = #{userId}
|
|
|
</if>
|
|
|
<if test="productId != null">
|
|
@@ -114,7 +114,7 @@
|
|
|
<if test="p.orderNo != null">
|
|
|
and orderNo = #{p.orderNo}
|
|
|
</if>
|
|
|
- <if test="p.userId != 0">
|
|
|
+ <if test="p.userId != null">
|
|
|
and userId = #{p.userId}
|
|
|
</if>
|
|
|
<if test="p.productId != null">
|