1;导出超时问题优化

This commit is contained in:
wangshuai 2024-08-02 09:09:56 +08:00
parent f5133614b0
commit 28c036ae10
2 changed files with 3 additions and 1 deletions

View File

@ -388,7 +388,7 @@ public class MeituanServiceImpl implements IMeituanService {
if ("0".equals(code)) {
JSONArray array = jsonObject.getJSONObject("data").getJSONArray("wmOrderList");
String key = wmPoiId + date;
String key = wmPoiId +"-"+ date;
while (array != null && array.size() > 0) {
List<BusOrderInfo> list = new ArrayList<>();
for (int i = 0; i < array.size(); i++) {

View File

@ -146,6 +146,7 @@ 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="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>
@ -201,6 +202,7 @@ 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="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>