Browse Source

调整字段

master
453530270@qq.com 2 years ago
parent
commit
0f75399332
  1. 8
      src/main/resources/mapper/szwh/OrderMapper.xml

8
src/main/resources/mapper/szwh/OrderMapper.xml

@ -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!=o.status"> and k!='ou.name' and k!='o.createtime' and k!='o.status'">
${k} = #{v} ${k} = #{v}
</if> </if>
<if test="k=='o.id'"> <if test="k=='o.id'">
@ -90,7 +90,7 @@
<if test="k== 'o.createtime' "> <if test="k== 'o.createtime' ">
${v} ${v}
</if> </if>
<if test="k==o.status"> <if test="k== 'o.status' ">
o.status IN (${v}) o.status IN (${v})
</if> </if>
</foreach> </foreach>
@ -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!=o.status"> and k!='ou.name' and k!='o.createtime' and k!='o.status'">
${k} = #{v} ${k} = #{v}
</if> </if>
<if test="k=='o.id'"> <if test="k=='o.id'">
@ -123,7 +123,7 @@
<if test="k== 'o.createtime' "> <if test="k== 'o.createtime' ">
${v} ${v}
</if> </if>
<if test="k==o.status"> <if test="k=='o.status'">
o.status IN (${v}) o.status IN (${v})
</if> </if>
</foreach> </foreach>

Loading…
Cancel
Save