Commit b2819f1924c8601993cd2b2eaf98c768b8b26f01
1 parent
3757560e
提交
Showing
1 changed file
with
13 additions
and
0 deletions
src/main/java/com/zteits/irain/portal/web/parkinglotcloudplatform/datastatistic/BillManageController.java
... | ... | @@ -15,6 +15,7 @@ import org.slf4j.Logger; |
15 | 15 | import org.slf4j.LoggerFactory; |
16 | 16 | import org.springframework.beans.factory.annotation.Autowired; |
17 | 17 | import org.springframework.stereotype.Controller; |
18 | +import org.springframework.web.bind.annotation.PostMapping; | |
18 | 19 | import org.springframework.web.bind.annotation.RequestBody; |
19 | 20 | import org.springframework.web.bind.annotation.RequestMapping; |
20 | 21 | import org.springframework.web.bind.annotation.RequestMethod; |
... | ... | @@ -30,6 +31,7 @@ import com.clouds.common.utils.excle.ExcleFillDateManager; |
30 | 31 | import com.clouds.common.utils.excle.Layouter; |
31 | 32 | import com.clouds.common.web.BizController; |
32 | 33 | import com.clouds.common.web.SessionCommUtil; |
34 | +import com.clouds.common.web.vo.BizResultVO; | |
33 | 35 | import com.zteits.clouds.api.apibase.bean.BizResult; |
34 | 36 | import com.zteits.clouds.api.apibase.bean.PageBean; |
35 | 37 | import com.zteits.clouds.api.dto.clouds.dto.BillManageDTO; |
... | ... | @@ -37,6 +39,7 @@ import com.zteits.clouds.api.dto.clouds.param.BillQueryRequest; |
37 | 39 | import com.zteits.clouds.api.dto.pay.param.TdCompanyParkQueryRequest; |
38 | 40 | import com.zteits.clouds.api.service.clouds.BillManageForDayService; |
39 | 41 | import com.zteits.clouds.api.service.pay.TdCustCompanyService; |
42 | +import com.zteits.irain.portal.vo.parkinglotcloudplatform.datastatistic.CustIncomeTotalVO; | |
40 | 43 | |
41 | 44 | import io.swagger.annotations.Api; |
42 | 45 | import io.swagger.annotations.ApiOperation; |
... | ... | @@ -76,6 +79,14 @@ public class BillManageController extends BizController { |
76 | 79 | |
77 | 80 | private SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
78 | 81 | |
82 | + @ApiOperation("日账统计图汇总") | |
83 | + @PostMapping("/queryBillforDayTotal") | |
84 | + public BizResultVO<BillManageDTO> queryBillforDayTotal(@RequestBody BillQueryRequest billQueryRequest, HttpServletRequest request, | |
85 | + HttpServletResponse response){ | |
86 | + BizResult<BillManageDTO> result = billManageForDayService.queryBillforDayTotal(billQueryRequest); | |
87 | + return new BizResultVO<BillManageDTO>(result); | |
88 | + } | |
89 | + | |
79 | 90 | @ApiOperation("日账汇总单查询") |
80 | 91 | @RequestMapping("/queryBillforDayForPage") |
81 | 92 | @ResponseBody |
... | ... | @@ -100,6 +111,8 @@ public class BillManageController extends BizController { |
100 | 111 | logger.info("---end--日账汇总单查询调用后场dubbo服务,结果={}", JSONObject.toJSONString(result)); |
101 | 112 | this.returnJsonDataGrid(response, result); |
102 | 113 | } |
114 | + | |
115 | + | |
103 | 116 | |
104 | 117 | /** |
105 | 118 | * 查询日账单.<br/> | ... | ... |