|
|
|
@ -7,6 +7,8 @@ import org.jeecg.common.api.vo.Result; |
|
|
|
|
import org.jeecg.common.aspect.annotation.AutoLog; |
|
|
|
|
import org.jeecg.modules.demo.zyorders.entity.ZyOrders; |
|
|
|
|
import org.jeecg.modules.demo.zyorders.service.IZyOrdersService; |
|
|
|
|
import org.jeecg.modules.orderbymakeclothplan.vo.TodayOrderAndQIriVo; |
|
|
|
|
import org.jeecg.modules.shop.vo.OrderSales; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
@ -27,6 +29,10 @@ public class LargeScreenController { |
|
|
|
|
private IZyOrdersService zyOrdersService; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************订单大数据监控系统********************************************/ |
|
|
|
|
|
|
|
|
|
/************************************实时订单展示************************************/ |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 查询订单的状态 |
|
|
|
|
* |
|
|
|
@ -61,4 +67,25 @@ public class LargeScreenController { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @AutoLog(value = "订单销售分析")
|
|
|
|
|
// @ApiOperation(value = "订单销售分析", notes = "订单销售分析")
|
|
|
|
|
// @GetMapping("/selectOrderSale")
|
|
|
|
|
// public Result<?> selectOrderSale(){
|
|
|
|
|
// List<OrderSales> list = zyOrdersService.selectOrderSale();
|
|
|
|
|
// return Result.OK(list);
|
|
|
|
|
// }
|
|
|
|
|
/************************************销售订单数据************************************/ |
|
|
|
|
|
|
|
|
|
@AutoLog(value = "获取今日订单及七日订单") |
|
|
|
|
@ApiOperation(value = "获取今日订单及七日订单", notes = "获取今日订单及七日订单") |
|
|
|
|
@GetMapping("/getOrder") |
|
|
|
|
public Result<?> getOrder() { |
|
|
|
|
TodayOrderAndQIriVo todayOrderAndQIriVo = zyOrdersService.getOrder(); |
|
|
|
|
if (todayOrderAndQIriVo != null) { |
|
|
|
|
return Result.OK(todayOrderAndQIriVo); |
|
|
|
|
}else { |
|
|
|
|
return Result.OK("没有工作安排"); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|