Procházet zdrojové kódy

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

release_toaliyun_real
gongbiao před 7 roky
rodič
revize
d9c2bf22f9
2 změnil soubory, kde provedl 21 přidání a 1 odebrání
  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 Zobrazit soubor

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


+ 20
- 0
mallinkService/src/main/resources/mapper/WxCUserBasicInfoMapper.xml Zobrazit soubor

@@ -176,6 +176,26 @@
cubi.sex,cubi.email,cubi.address,cubi.poins,cubi.`name`,cubi.`level`,cubi.id cubiid 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 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 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> </select>


Načítá se…
Zrušit
Uložit