Commit bd9c2fc0 by 陶光胜

观云台小程序

parent c8028cb8
package com.gic.cloud.web.controller;
import com.alibaba.fastjson.JSON;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.cloud.dto.FunctionDTO;
import com.gic.cloud.dto.FunctionModuleDTO;
......@@ -21,6 +22,8 @@ import com.gic.data.api.dto.*;
import com.gic.data.api.service.IndexSalesApiService;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......@@ -30,6 +33,7 @@ import java.util.List;
@RestController
public class IndexController {
private Logger log = LogManager.getLogger(IndexController.class);
@Autowired
private IndexSalesApiService indexSalesApiService;
@Autowired
......@@ -85,6 +89,10 @@ public class IndexController {
ServiceResponse<IndexMemberBirthCntDTO> birthOrderCnt = this.indexSalesApiService.getIndexMemberBirthOrderCnt(enterpriseId, list, onLine,
StringUtils.isNoneBlank(mbrAreaId) ? Long.valueOf(mbrAreaId) : null,
mbrAreaIdList, dateTypeQo.getType(), dateTypeQo.getDate());
log.info("response1:", JSON.toJSONString(response1));
log.info("response2:", JSON.toJSONString(response2));
log.info("oldOrderCnt:", JSON.toJSONString(oldOrderCnt));
log.info("birthOrderCnt:", JSON.toJSONString(birthOrderCnt));
IndexConsume consume = new IndexConsume();
if(response1.isSuccess() && response1.getResult() != null && response2.getResult() != null){
IndexMemberOrderCntDTO indexMemberOrderCntDTO1 = response1.getResult();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment