소스 검색

[SQL][修改][日常、其他、其他押金添加必要索引]

release_toaliyun_real
gongbiao 7 년 전
부모
커밋
436e2aabcf
3개의 변경된 파일3개의 추가작업 그리고 6개의 파일을 삭제
  1. +0
    -1
      mallinkService/src/main/resources/mapper/WxBillDailyMapper.xml
  2. +2
    -3
      mallinkService/src/main/resources/mapper/WxBillOtherDepositMapper.xml
  3. +1
    -2
      mallinkService/src/main/resources/mapper/WxBillOtherMapper.xml

+ 0
- 1
mallinkService/src/main/resources/mapper/WxBillDailyMapper.xml 파일 보기

@@ -77,7 +77,6 @@
<if test=" null != id ">and br.`id` = #{id}</if> <if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if> <if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')</if> <if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')</if>
<if test=" null != tenantId ">and br.`tenant_id` = #{tenantId}</if>
<if test=" null != status ">and br.`status` = #{status}</if> <if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if> <if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
<if test=" null != type ">and br.`type` = #{type}</if> <if test=" null != type ">and br.`type` = #{type}</if>


+ 2
- 3
mallinkService/src/main/resources/mapper/WxBillOtherDepositMapper.xml 파일 보기

@@ -81,13 +81,12 @@
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if> <if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%') <if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')
</if> </if>
<if test=" null != tenantId ">and br.`tenant_id` = #{tenantId}</if>
<if test=" null != status ">and br.`status` = #{status}</if> <if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if> <if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
<if test=" null != name ">and br.`name` = #{name}</if>
<if test=" null != name and ''!=name">and br.`name` = #{name}</if>
<if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if> <if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if>
<if test=" null != payWay ">and br.`pay_way` = #{payWay}</if> <if test=" null != payWay ">and br.`pay_way` = #{payWay}</if>
<if test=" null != comments ">and br.`comments` like concat('%',#{comments},'%')</if>
<if test=" null != comments and ''!=comments">and br.`comments` like concat('%',#{comments},'%')</if>
</where> </where>
<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>


+ 1
- 2
mallinkService/src/main/resources/mapper/WxBillOtherMapper.xml 파일 보기

@@ -79,10 +79,9 @@
<if test=" null != id ">and br.`id` = #{id}</if> <if test=" null != id ">and br.`id` = #{id}</if>
<if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if> <if test=" null != merchantId ">and br.`merchant_id` = #{merchantId}</if>
<if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')</if> <if test=" null != merchantName and ''!=merchantName ">and m.`name` like concat('%',#{merchantName},'%')</if>
<if test=" null != tenantId ">and br.`tenant_id` = #{tenantId}</if>
<if test=" null != status ">and br.`status` = #{status}</if> <if test=" null != status ">and br.`status` = #{status}</if>
<if test=" null != isDel ">and br.`is_del` = #{isDel}</if> <if test=" null != isDel ">and br.`is_del` = #{isDel}</if>
<if test=" null != name ">and br.`name` like concat('%',#{name},'%')</if>
<if test=" null != name and ''!=name">and br.`name` like concat('%',#{name},'%')</if>
<if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if> <if test=" null != rentShopType ">and br.`rent_shop_type` = #{rentShopType}</if>
<if test=" null != payWay ">and br.`pay_way` = #{payWay}</if> <if test=" null != payWay ">and br.`pay_way` = #{payWay}</if>




불러오는 중...
취소
저장