1;导出超时问题优化
This commit is contained in:
parent
f5133614b0
commit
28c036ae10
|
@ -388,7 +388,7 @@ public class MeituanServiceImpl implements IMeituanService {
|
||||||
if ("0".equals(code)) {
|
if ("0".equals(code)) {
|
||||||
JSONArray array = jsonObject.getJSONObject("data").getJSONArray("wmOrderList");
|
JSONArray array = jsonObject.getJSONObject("data").getJSONArray("wmOrderList");
|
||||||
|
|
||||||
String key = wmPoiId + date;
|
String key = wmPoiId +"-"+ date;
|
||||||
while (array != null && array.size() > 0) {
|
while (array != null && array.size() > 0) {
|
||||||
List<BusOrderInfo> list = new ArrayList<>();
|
List<BusOrderInfo> list = new ArrayList<>();
|
||||||
for (int i = 0; i < array.size(); i++) {
|
for (int i = 0; i < array.size(); i++) {
|
||||||
|
|
|
@ -146,6 +146,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
group by rv.store_code
|
group by rv.store_code
|
||||||
) sdd ON sdd.store_code = s.store_code
|
) sdd ON sdd.store_code = s.store_code
|
||||||
where s.self_delivery_status != '3'
|
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="platformType != null and platformType != ''"> and s.platform_type = #{platformType}</if>
|
||||||
<if test="storeCode != null and storeCode != ''"> and s.store_code = #{storeCode}</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>
|
<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
|
group by rv.store_code
|
||||||
) sdd ON sdd.store_code = s.store_code
|
) sdd ON sdd.store_code = s.store_code
|
||||||
where s.self_delivery_status != '3'
|
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="platformType != null and platformType != ''"> and s.platform_type = #{platformType}</if>
|
||||||
<if test="storeCode != null and storeCode != ''"> and s.store_code = #{storeCode}</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>
|
<if test="storeName != null and storeName != ''"> and s.store_name like concat('%', #{storeName}, '%')</if>
|
||||||
|
|
Loading…
Reference in New Issue