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

[租金管理][修改]修改业务逻辑

release_toaliyun_real
gongbiao 7 лет назад
Родитель
Сommit
d9c2bf22f9
2 измененных файлов: 21 добавлений и 1 удалений
  1. +1
    -1
      mallinkService/src/main/resources/mapper/WxBillRentMapper.xml
  2. +20
    -0
      mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml

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

@@ -18,7 +18,7 @@
<result column="receipt_num" jdbcType="VARCHAR" property="receiptNum" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="owe" jdbcType="DECIMAL" property="owe" />
<result column="pay_status" jdbcType="Integer" property="payStatus" />
<result column="pay_status" jdbcType="INTEGER" property="payStatus" />
</resultMap>


+ 20
- 0
mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml Просмотреть файл

@@ -176,6 +176,26 @@
cubi.sex,cubi.email,cubi.address,cubi.poins,cubi.`name`,cubi.`level`,cubi.id cubiid
from wx_c_user cu left join wx_c_user_basic_info cubi
on cu.phone=cubi.phone and cu.tenant_id=cubi.tenant_id
where 1=1
<if test=" null != tenantId ">
and cu.`tenant_id` = #{tenantId}
</if>
<if test=" null != phone and phone !='' ">
and cu.`phone` = #{phone}
</if>
<if test=" null == phone or phone =='' ">
and cu.`phone` is not null
</if>
<if test=" null != startTime ">
and cubi.create_date &gt;= #{startTime}
</if>
<if test=" null != endTime">
and cubi.update_date &lt;= #{endTime}
</if>
<if test=" null != name and name != '' ">
and cb.`name` like concat('%', #{name},'%')
</if>
</select>


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