多店铺需求
This commit is contained in:
parent
5c06756678
commit
ad42265c34
|
|
@ -78,7 +78,7 @@ public class DataSummaryController {
|
|||
@OperationLog("销售趋势柱状图 左下")
|
||||
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
||||
//@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, "天数不能为空");
|
||||
if (shopId == null) {
|
||||
shopId = StpKit.USER.getShopId(0L);
|
||||
|
|
@ -97,7 +97,7 @@ public class DataSummaryController {
|
|||
@OperationLog("支付占比饼图 左下")
|
||||
@SaStaffCheckPermission("yun_xu_cha_kan_jing_ying_shu_ju")
|
||||
//@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) {
|
||||
shopId = StpKit.USER.getShopId(0L);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue