Sfoglia il codice sorgente

[分账对账单][修改]:分账总数一个月

release_toaliyun_real
Stormeye Wu 7 anni fa
parent
commit
789b8c2d06
1 ha cambiato i file con 5 aggiunte e 2 eliminazioni
  1. +5
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java

+ 5
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxProfitSharingOrderServiceImpl.java Vedi File

@@ -710,13 +710,16 @@ public class WxProfitSharingOrderServiceImpl implements WxProfitSharingOrderServ
}

public void queryOrderSummary(String tenantId, Map<String, Object> result) {
//全部商户个数
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd");
//全部分账总数
Map<String, Object> params = new HashMap<>();
params.put("tenantId", tenantId);
String thirtyTime = DateUtils.getTimeBefore(29, new Date());
params.put("startdate", thirtyTime + " 00:00:00");
params.put("enddate", systemTime + " 23:59:59");
Long allOrderSummary=wxProfitSharingOrderMapper.queryOrderForSum(params);
result.put("allOrderSummary",allOrderSummary);
//今日
String systemTime = DateUtils.getSystemTime("yyyy-MM-dd");
params.put("startdate", systemTime + " 00:00:00");
params.put("enddate", systemTime + " 23:59:59");
Long todayOrderSummary=wxProfitSharingOrderMapper.queryOrderForSum(params);


Caricamento…
Annulla
Salva