|
|
|
@ -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!='ou.name' and k!='o.createtime' "> |
|
|
|
${k} = #{v} |
|
|
|
</if> |
|
|
|
<if test="k=='o.id'"> |
|
|
|
@ -87,6 +87,9 @@ |
|
|
|
<if test="k=='ou.name'"> |
|
|
|
ou.`name` like concat('%',#{v},'%') |
|
|
|
</if> |
|
|
|
<if test="k== 'o.createtime' "> |
|
|
|
${v} |
|
|
|
</if> |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
@ -105,7 +108,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!='ou.name' and k!='o.createtime' "> |
|
|
|
${k} = #{v} |
|
|
|
</if> |
|
|
|
<if test="k=='o.id'"> |
|
|
|
@ -114,6 +117,9 @@ |
|
|
|
<if test="k=='ou.name'"> |
|
|
|
ou.`name` like concat('%',#{v},'%') |
|
|
|
</if> |
|
|
|
<if test="k== 'o.createtime' "> |
|
|
|
${v} |
|
|
|
</if> |
|
|
|
</foreach> |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
|