多店铺需求
This commit is contained in:
@@ -78,7 +78,7 @@ public class DataSummaryController {
|
|||||||
@OperationLog("销售趋势柱状图 左下")
|
@OperationLog("销售趋势柱状图 左下")
|
||||||
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
||||||
//@SaAdminCheckPermission("dataSummary:dateAmount")
|
//@SaAdminCheckPermission("dataSummary:dateAmount")
|
||||||
public CzgResult<DataSummaryDateAmountVo> getDateAmount(@RequestParam Integer day, @RequestParam Long shopId) {
|
public CzgResult<DataSummaryDateAmountVo> getDateAmount(@RequestParam Integer day, @RequestParam(required = false) Long shopId) {
|
||||||
AssertUtil.isNull(day, "天数不能为空");
|
AssertUtil.isNull(day, "天数不能为空");
|
||||||
if (shopId == null) {
|
if (shopId == null) {
|
||||||
shopId = StpKit.USER.getShopId(0L);
|
shopId = StpKit.USER.getShopId(0L);
|
||||||
@@ -97,7 +97,7 @@ public class DataSummaryController {
|
|||||||
@OperationLog("支付占比饼图 左下")
|
@OperationLog("支付占比饼图 左下")
|
||||||
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
||||||
//@SaAdminCheckPermission("dataSummary:datePayType")
|
//@SaAdminCheckPermission("dataSummary:datePayType")
|
||||||
public CzgResult<DataSummaryPayTypeVo> shopSummaryPayType(@RequestParam Integer day, @RequestParam Long shopId) {
|
public CzgResult<DataSummaryPayTypeVo> shopSummaryPayType(@RequestParam Integer day, @RequestParam(required = false) Long shopId) {
|
||||||
if (shopId == null) {
|
if (shopId == null) {
|
||||||
shopId = StpKit.USER.getShopId(0L);
|
shopId = StpKit.USER.getShopId(0L);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user