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