Explorar el Código

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

release_toaliyun_real
Stormeye Wu hace 7 años
padre
commit
789b8c2d06
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar