1;导出超时问题优化

This commit is contained in:
wangshuai 2024-08-02 12:29:03 +08:00
parent 28c036ae10
commit 0029396fea
2 changed files with 9 additions and 4 deletions

View File

@ -7,7 +7,7 @@ ruoyi:
# 版权年份
copyrightYear: 2024
# 文件路径 示例( Windows配置 F:/home/youshi/uploadPathLinux配置 /home/ruoyi/uploadPath
profile: F:/home/youshi/uploadPath
profile: E:/home/youshi/uploadPath
# 获取ip地址开关
addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证

View File

@ -134,7 +134,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ifnull(sdd.ct,0) todayReturnVisitNum,
sd.score,
s.bind_time bindTime,
CONCAT(sc.min_order_num,'~',sc.max_order_num) returnVisitUserRange
CONCAT(sc.min_order_num,'~',sc.max_order_num) returnVisitUserRange,
s.self_delivery_status selfDeliveryStatus
FROM
bus_store_info s
LEFT JOIN bus_store_day_info sd ON s.id = sd.store_id
@ -146,7 +147,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
group by rv.store_code
) sdd ON sdd.store_code = s.store_code
where s.self_delivery_status != '3'
<if test="bindUser != null and bindUser != ''"> and bind_user = #{bindUser}</if>
<if test="selfDeliveryStatus != null and selfDeliveryStatus != ''"> and s.self_delivery_status = #{selfDeliveryStatus}</if>
<if test="saleBindId != null "> and s.sale_bind_id = #{saleBindId}</if>
<if test="bindUser != null and bindUser != ''"> and s.bind_user = #{bindUser}</if>
<if test="platformType != null and platformType != ''"> and s.platform_type = #{platformType}</if>
<if test="storeCode != null and storeCode != ''"> and s.store_code = #{storeCode}</if>
<if test="storeName != null and storeName != ''"> and s.store_name like concat('%', #{storeName}, '%')</if>
@ -202,7 +205,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
group by rv.store_code
) sdd ON sdd.store_code = s.store_code
where s.self_delivery_status != '3'
<if test="bindUser != null and bindUser != ''"> and bind_user = #{bindUser}</if>
<if test="selfDeliveryStatus != null and selfDeliveryStatus != ''"> and s.self_delivery_status = #{selfDeliveryStatus}</if>
<if test="saleBindId != null "> and s.sale_bind_id = #{saleBindId}</if>
<if test="bindUser != null and bindUser != ''"> and s.bind_user = #{bindUser}</if>
<if test="platformType != null and platformType != ''"> and s.platform_type = #{platformType}</if>
<if test="storeCode != null and storeCode != ''"> and s.store_code = #{storeCode}</if>
<if test="storeName != null and storeName != ''"> and s.store_name like concat('%', #{storeName}, '%')</if>