|
@@ -34,7 +34,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 查询电费分时配置列表
|
|
|
*/
|
|
|
@ApiOperation("查询电费分时配置列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:list')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(ElecPeriod elecPeriod) {
|
|
|
startPage();
|
|
@@ -46,7 +46,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 导出电费分时配置列表
|
|
|
*/
|
|
|
@ApiOperation("导出电费分时配置列表")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:export')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:export')")
|
|
|
@Log(title = "电费分时配置", businessType = BusinessType.EXPORT)
|
|
|
@PostMapping("/export")
|
|
|
public void export(HttpServletResponse response, ElecPeriod elecPeriod) {
|
|
@@ -59,7 +59,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 获取电费分时配置详细信息
|
|
|
*/
|
|
|
@ApiOperation("获取电费分时配置详细信息")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:query')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:query')")
|
|
|
@GetMapping(value = "/{periodId}")
|
|
|
public AjaxResult getInfo(@PathVariable("periodId") Long periodId) {
|
|
|
return success(elecPeriodService.selectElecPeriodByPeriodId(periodId));
|
|
@@ -69,7 +69,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 新增电费分时配置
|
|
|
*/
|
|
|
@ApiOperation("新增电费分时配置")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:add')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:add')")
|
|
|
@Log(title = "电费分时配置", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody ElecPeriod elecPeriod) {
|
|
@@ -80,7 +80,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 修改电费分时配置
|
|
|
*/
|
|
|
@ApiOperation("修改电费分时配置")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:edit')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:edit')")
|
|
|
@Log(title = "电费分时配置", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody ElecPeriod elecPeriod) {
|
|
@@ -91,7 +91,7 @@ public class ElecPeriodController extends BaseController {
|
|
|
* 删除电费分时配置
|
|
|
*/
|
|
|
@ApiOperation("删除电费分时配置")
|
|
|
- @PreAuthorize("@ss.hasPermi('elec:period:remove')")
|
|
|
+ //@PreAuthorize("@ss.hasPermi('elec:period:remove')")
|
|
|
@Log(title = "电费分时配置", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{periodIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] periodIds) {
|