|
|
|
@ -78,7 +78,7 @@ |
|
|
|
<!-- 查询条件封装在map中,以k-v形式进行查询--> |
|
|
|
<foreach collection="map" item="v" index="k" separator="and"> |
|
|
|
<if test="v != null and v != '' and k!='o.id' and k!='og.goods_name' |
|
|
|
and k!='ou.name' and k!='o.createtime' and k!=o.instatus"> |
|
|
|
and k!='ou.name' and k!='o.createtime' and k!=o.status"> |
|
|
|
${k} = #{v} |
|
|
|
</if> |
|
|
|
<if test="k=='o.id'"> |
|
|
|
@ -90,7 +90,7 @@ |
|
|
|
<if test="k== 'o.createtime' "> |
|
|
|
${v} |
|
|
|
</if> |
|
|
|
<if test="k==o.instatus"> |
|
|
|
<if test="k==o.status"> |
|
|
|
o.status IN (${v}) |
|
|
|
</if> |
|
|
|
</foreach> |
|
|
|
@ -111,7 +111,7 @@ |
|
|
|
<!-- 查询条件封装在map中,以k-v形式进行查询--> |
|
|
|
<foreach collection="map" item="v" index="k" separator="and"> |
|
|
|
<if test="v != null and v != '' and k!='o.id' and k!='og.goods_name' |
|
|
|
and k!='ou.name' and k!='o.createtime' and k!=o.instatus"> |
|
|
|
and k!='ou.name' and k!='o.createtime' and k!=o.status"> |
|
|
|
${k} = #{v} |
|
|
|
</if> |
|
|
|
<if test="k=='o.id'"> |
|
|
|
@ -123,7 +123,7 @@ |
|
|
|
<if test="k== 'o.createtime' "> |
|
|
|
${v} |
|
|
|
</if> |
|
|
|
<if test="k==o.instatus"> |
|
|
|
<if test="k==o.status"> |
|
|
|
o.status IN (${v}) |
|
|
|
</if> |
|
|
|
</foreach> |
|
|
|
|