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

[账单][修改][按截止日期查询]

release_toaliyun_real
gongbiao 6 лет назад
Родитель
Сommit
0a480265e2
3 измененных файлов: 8 добавлений и 0 удалений
  1. +2
    -0
      mallinkService/src/main/resources/mapper/WxBillDailyMapper.xml
  2. +4
    -0
      mallinkService/src/main/resources/mapper/WxBillOtherDepositMapper.xml
  3. +2
    -0
      mallinkService/src/main/resources/mapper/WxBillOtherMapper.xml

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

@@ -85,6 +85,8 @@
<if test=" null != type ">and br.`type` = #{type}</if> <if test=" null != type ">and br.`type` = #{type}</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 != starttime and null!=endtime ">and br.`receive_date` between #{starttime} and #{endtime}
</if>
</where> </where>




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

@@ -51,6 +51,8 @@
<if test=" null != isDel ">and `is_del` = #{isDel}</if> <if test=" null != isDel ">and `is_del` = #{isDel}</if>
<if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if> <if test=" null != merchantId ">and `merchant_id` = #{merchantId}</if>
<if test=" null != userId ">and `user_id` = #{userId}</if> <if test=" null != userId ">and `user_id` = #{userId}</if>
<if test=" null != starttime and null!=endtime ">and br.`receive_date` between #{starttime} and #{endtime}</if>
<if test=" null != shopId ">and `shop_id` = #{shopId}</if> <if test=" null != shopId ">and `shop_id` = #{shopId}</if>
<if test=" null != updatetime ">and `updatetime` = #{updatetime}</if> <if test=" null != updatetime ">and `updatetime` = #{updatetime}</if>
<if test=" null != name ">and `name` = #{name}</if> <if test=" null != name ">and `name` = #{name}</if>
@@ -90,6 +92,8 @@
<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 ''!=comments">and br.`comments` like concat('%',#{comments},'%')</if> <if test=" null != comments and ''!=comments">and br.`comments` like concat('%',#{comments},'%')</if>
<if test=" null != starttime and null!=endtime ">and br.`receive_date` between #{starttime} and #{endtime}
</if>
</where> </where>
<if test=" null != sortColumns"> order by ${sortColumns} </if> <if test=" null != sortColumns"> order by ${sortColumns} </if>


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

@@ -87,6 +87,8 @@
<if test=" null != name and ''!=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>
<if test=" null != starttime and null!=endtime ">and br.`receive_date` between #{starttime} and #{endtime}
</if>


</where> </where>




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