Просмотр исходного кода

商户列表sql修改

release_toaliyun_real
furunxin 5 лет назад
Родитель
Сommit
a0e59a5b0b
1 измененных файлов: 2 добавлений и 1 удалений
  1. +2
    -1
      mallinkService/src/main/resources/mapper/WxMerchantMapper.xml

+ 2
- 1
mallinkService/src/main/resources/mapper/WxMerchantMapper.xml Просмотреть файл

@@ -196,7 +196,7 @@


<select id="findListVo2" parameterType="com.iformall.domain.po.WxMerchant" resultMap="BaseResultMap"> <select id="findListVo2" parameterType="com.iformall.domain.po.WxMerchant" resultMap="BaseResultMap">
select * from wx_merchant select * from wx_merchant
where 1=1
where 1=1 and is_del=1
<if test=" null != tenantId and '' != tenantId"> <if test=" null != tenantId and '' != tenantId">
and `tenant_id` = #{tenantId} and `tenant_id` = #{tenantId}
</if> </if>
@@ -215,6 +215,7 @@
<if test=" null != status "> <if test=" null != status ">
and `status` = #{status} and `status` = #{status}
</if> </if>
order by create_date desc
</select> </select>
<sql id="dataRule"> <sql id="dataRule">


Загрузка…
Отмена
Сохранить