|
|
|
@ -54,6 +54,7 @@ public class MessageCenterController {
|
|
|
|
|
*获取最近一年的统计数据
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(value = "/getOneYearData")
|
|
|
|
|
@ApiOperation("获取最近一年的统计数据")
|
|
|
|
|
public Map getOneYearData() throws Exception {
|
|
|
|
|
Map oneYearData= messageCenterService.getOneYearData();
|
|
|
|
|
return oneYearData;
|
|
|
|
@ -62,6 +63,7 @@ public class MessageCenterController {
|
|
|
|
|
*获取最近七天的销售量
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(value = "/getSaleQuantityData")
|
|
|
|
|
@ApiOperation("获取最近七天的销售量")
|
|
|
|
|
public ActionResult getSaleQuantityData(String dateNow) throws Exception {
|
|
|
|
|
// public void exportBillInfo(HttpServletResponse response) throws Exception {
|
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
@ -76,6 +78,7 @@ public class MessageCenterController {
|
|
|
|
|
*获取最近七天的采购量
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(value = "/getPurchasedAmountData")
|
|
|
|
|
@ApiOperation("获取最近七天的采购量")
|
|
|
|
|
public ActionResult getPurchasedAmountData(String dateNow) throws Exception {
|
|
|
|
|
// public void exportBillInfo(HttpServletResponse response) throws Exception {
|
|
|
|
|
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
|
@ -90,6 +93,7 @@ public class MessageCenterController {
|
|
|
|
|
*获取今天的榜单指数
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping(value = "/getTadayPoundist")
|
|
|
|
|
@ApiOperation("获取今天的榜单指数")
|
|
|
|
|
public ActionResult getTadayPoundist(){
|
|
|
|
|
Map saleQuantityData = messageCenterService.getTadayPoundist();
|
|
|
|
|
return ActionResult.success(saleQuantityData);
|
|
|
|
|