|
|
@@ -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> |
|
|
|