Browse Source

[fix] 销售管理

修改其他地址的后端接口查询方法,修复查不到其他地址的问题
dev
liuxiaoxu 4 weeks ago
parent
commit
6029243df3
  1. 2
      ruoyi-admin/src/main/resources/mapper/system/SysShippingAddressMapper.xml

2
ruoyi-admin/src/main/resources/mapper/system/SysShippingAddressMapper.xml

@ -27,7 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectSysShippingAddressList" parameterType="SysShippingAddress" resultMap="SysShippingAddressResult">
<include refid="selectSysShippingAddressVo"/>
<where>
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code = concat(#{enterpriseCode}, '%')</if>
<if test="enterpriseCode != null and enterpriseCode != ''"> and enterprise_code = #{enterpriseCode}</if>
<if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<if test="customerName != null and customerName != ''"> and customer_name like concat('%', #{customerName}, '%')</if>
<if test="deliveryAddress != null and deliveryAddress != ''"> and delivery_address like concat('%', #{deliveryAddress}, '%')</if>

Loading…
Cancel
Save