This commit is contained in:
sxu 2025-05-15 19:52:34 +08:00
parent 267cd50858
commit 54e30e6925
2 changed files with 5 additions and 16 deletions

View File

@ -67,7 +67,7 @@ public class DatascreenController {
// } // }
DsAuthorityCanteenVO dsAuthorityCanteenVO = new DsAuthorityCanteenVO(); DsAuthorityCanteenVO dsAuthorityCanteenVO = new DsAuthorityCanteenVO();
dsAuthorityCanteenVO.setCanteenId(378928314946949120L); dsAuthorityCanteenVO.setCanteenId(dto.getCanteenId());
canteenList.add(dsAuthorityCanteenVO); canteenList.add(dsAuthorityCanteenVO);
return AjaxResult.success(this.datascreenService.getCurrentMealtimeNum(canteenList)); return AjaxResult.success(this.datascreenService.getCurrentMealtimeNum(canteenList));
} }

View File

@ -2,28 +2,17 @@ package com.bonus.canteen.core.report.datascreen.dto;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ApiModel @ApiModel
@Data
public class DatascreenDTO { public class DatascreenDTO {
@ApiModelProperty("权限id") @ApiModelProperty("权限id")
private String authorityId; private String authorityId;
@ApiModelProperty("数据模块对应key") @ApiModelProperty("数据模块对应key")
private String key; private String key;
public String getAuthorityId() { @ApiModelProperty("食堂id")
return this.authorityId; private Long canteenId;
}
public String getKey() {
return this.key;
}
public void setAuthorityId(final String authorityId) {
this.authorityId = authorityId;
}
public void setKey(final String key) {
this.key = key;
}
} }