kongdeqiang
2025-04-02 faf27b105f85b5b11e75f2fa041c2f53229794de
platformx-device-biz/src/main/java/com/by4cloud/platformx/device/controller/DeviceDemandTotalController.java
@@ -64,7 +64,6 @@
     */
    @Operation(summary = "通过id查询" , description = "通过id查询" )
    @GetMapping("/{id}" )
    @PreAuthorize("@pms.hasPermission('platformx_deviceDemandTotal_view')" )
    public R getById(@PathVariable("id" ) Long id) {
      DeviceDemandTotal demandTotal = deviceDemandTotalService.getById(id);
      QueryWrapper<DeviceDemandSub> wrapper = new QueryWrapper<>();
@@ -127,7 +126,6 @@
    @Operation(summary = "修改设备需求计划项目子表" , description = "修改设备需求计划项目子表" )
    @SysLog("修改设备需求计划项目子表" )
    @PutMapping
    @PreAuthorize("@pms.hasPermission('platformx_deviceDemandTotal_edit')" )
    public R updateById(@RequestBody DeviceDemandTotal deviceDemandTotal) {
      List<DeviceDemandSub> subList = deviceDemandTotal.getSubList();
      QueryWrapper<DeviceDemandSub> wrapper = new QueryWrapper<>();