合并分支修改

This commit is contained in:
guoshengxiong 2025-09-19 09:18:36 +08:00
parent 5d71396465
commit c7668679fa
9 changed files with 35 additions and 36 deletions

View File

@ -21,7 +21,7 @@ import org.simpleframework.xml.core.Validate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.HashMap;
import java.util.List;
@ -55,7 +55,7 @@ public class BridgeCraneAlarmController {
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
})
@GetMapping(value = "/page")
public Result<IPage<BridgeCraneAlarmVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<IPage<BridgeCraneAlarmVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(bridgeCraneAlarmService.queryPageList(param));
}
//
@ -67,7 +67,7 @@ public class BridgeCraneAlarmController {
// @OperLog(operModul = "桥机报警数据管理", operType = "列表查询", operDesc = "列表查询桥机报警数据信息")
// @ApiOperation(value = "列表查询桥机报警数据信息", notes = "列表查询桥机报警数据信息", httpMethod = "GET")
// @GetMapping(value = "/list")
// public Result<List<BridgeCraneAlarmVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
// public Result<List<BridgeCraneAlarmVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
// return Result.success(bridgeCraneAlarmService.queryList(param));
// }
@ -108,7 +108,7 @@ public class BridgeCraneAlarmController {
@ApiOperation(value = "删除桥机报警数据信息", notes = "删除桥机报警数据信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "桥机报警数据ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<BridgeCraneAlarm> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<BridgeCraneAlarm> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
bridgeCraneAlarmService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}
@ -133,7 +133,7 @@ public class BridgeCraneAlarmController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/getNewestBridgeCraneAlarms")
public Result<List<NewestBridgeCraneAlarmsVo>> getNewestBridgeCraneAlarms(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<List<NewestBridgeCraneAlarmsVo>> getNewestBridgeCraneAlarms(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneAlarmService.getNewestBridgeCraneAlarms(paramMap));
}
@ -143,7 +143,7 @@ public class BridgeCraneAlarmController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/countAlarmToday")
public Result<CountBridgeCraneAlarmTodayVo> countAlarmToday(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<CountBridgeCraneAlarmTodayVo> countAlarmToday(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneAlarmService.countAlarmToday(paramMap));
}
@ -155,7 +155,7 @@ public class BridgeCraneAlarmController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/countAlarmByCode")
public Result<List<CountBridgeCraneAlarmByCode>> countAlarmByCode(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<List<CountBridgeCraneAlarmByCode>> countAlarmByCode(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneAlarmService.countAlarmByCode(paramMap));
}

View File

@ -33,7 +33,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.*;
import java.util.concurrent.ThreadLocalRandom;
@ -65,7 +65,7 @@ public class BridgeCraneDataController {
// @OperLog(operModul = "桥机工作循环数据管理", operType = "列表查询", operDesc = "列表查询桥机工作循环数据信息")
// @ApiOperation(value = "列表查询桥机工作循环数据信息", notes = "列表查询桥机工作循环数据信息", httpMethod="GET")
// @GetMapping(value = "/list")
// public Result<List<BridgeCraneDataVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
// public Result<List<BridgeCraneDataVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
// return Result.success(bridgeCraneDataService.queryList(param));
// }
@Lazy
@ -89,7 +89,7 @@ public class BridgeCraneDataController {
@ApiImplicitParam(name = "bridgeCraneDevId", value = "桥机设备主键id", dataType = "Integer", paramType = "body", required = false),
})
@GetMapping(value = "/page")
public Result<IPage<BridgeCraneDataVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<IPage<BridgeCraneDataVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(bridgeCraneDataService.queryPageList(param));
}
@ -137,7 +137,7 @@ public class BridgeCraneDataController {
@ApiOperation(value = "删除桥机工作循环数据信息", notes = "删除桥机工作循环数据信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "桥机工作循环数据ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<BridgeCraneData> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<BridgeCraneData> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
bridgeCraneDataService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}
@ -209,7 +209,7 @@ public class BridgeCraneDataController {
@ApiOperation(value = "批量删除桥机工作循环数据数据", notes = "批量删除桥机工作循环数据数据", httpMethod = "POST")
@ApiImplicitParam(name = "ids", value = "桥机工作循环数据数据ID字符串多个以,分割)", paramType = "body", required = true, dataType = "String")
@PostMapping(value = "/deleteBatch")
public Result deleteBatch(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result deleteBatch(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
String ids = MapUtils.getString(paramMap, "ids");
Result result = new Result<>();
if (ids == null || "".equals(ids.trim())) {
@ -229,7 +229,7 @@ public class BridgeCraneDataController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/countWorkTimeByDate")
public Result<List<CountBridgeCraneDataWorkTimeByDate>> countWorkTimeByDate(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<List<CountBridgeCraneDataWorkTimeByDate>> countWorkTimeByDate(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneDataService.countWorkTimeByDate(paramMap));
}
@ -239,7 +239,7 @@ public class BridgeCraneDataController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/countByToday")
public Result<CountBridgeCraneDataByToday> countByToday(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<CountBridgeCraneDataByToday> countByToday(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneDataService.countByToday(paramMap));
}
@ -249,7 +249,7 @@ public class BridgeCraneDataController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/getNewestData")
public Result<BridgeCraneDataVo> getNewestData(@ApiIgnore @RequestBody HashMap<String, Object> param) {
public Result<BridgeCraneDataVo> getNewestData(@Parameter(hidden = true) @RequestBody HashMap<String, Object> param) {
return Result.success(bridgeCraneDataService.getNewestData(param));
}
@ -261,7 +261,7 @@ public class BridgeCraneDataController {
@ApiImplicitParam(name = "devId", value = "设备编号id", dataType = "String", paramType = "body", required = false),
})
@PostMapping(value = "/countWorkTimeByWorker")
public Result<List<CountBridgeCraneDataWorkTimeByWorker>> countWorkTimeByWorker(@ApiIgnore @RequestBody HashMap<String, Object> paramMap) {
public Result<List<CountBridgeCraneDataWorkTimeByWorker>> countWorkTimeByWorker(@Parameter(hidden = true) @RequestBody HashMap<String, Object> paramMap) {
return Result.success(bridgeCraneDataService.countWorkTimeByWorker(paramMap));
}
}

View File

@ -19,7 +19,7 @@ import org.simpleframework.xml.core.Validate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.HashMap;
import java.util.List;
@ -53,7 +53,7 @@ public class BridgeCraneDevController {
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
})
@GetMapping(value = "/page")
public Result<IPage<BridgeCraneDevVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<IPage<BridgeCraneDevVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(bridgeCraneDevService.queryPageList(param));
}
@ -65,7 +65,7 @@ public class BridgeCraneDevController {
@OperLog(operModul = "桥机设备管理", operType = "列表查询", operDesc = "列表查询桥机设备信息")
@ApiOperation(value = "列表查询桥机设备信息", notes = "列表查询桥机设备信息", httpMethod = "GET")
@GetMapping(value = "/list")
public Result<List<BridgeCraneDevVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<List<BridgeCraneDevVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(bridgeCraneDevService.queryList(param));
}
@ -106,7 +106,7 @@ public class BridgeCraneDevController {
@ApiOperation(value = "删除桥机设备信息", notes = "删除桥机设备信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "桥机设备ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<BridgeCraneDev> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<BridgeCraneDev> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
bridgeCraneDevService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}

View File

@ -19,7 +19,7 @@ import org.simpleframework.xml.core.Validate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.HashMap;
import java.util.List;
@ -53,7 +53,7 @@ public class MockBridgeCraneDataConfigController {
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
})
@GetMapping(value = "/page")
public Result<IPage<MockBridgeCraneDataConfigVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<IPage<MockBridgeCraneDataConfigVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(mockBridgeCraneDataConfigService.queryPageList(param));
}
@ -65,7 +65,7 @@ public class MockBridgeCraneDataConfigController {
@OperLog(operModul = "模拟桥机工作循环数据配置管理", operType = "列表查询", operDesc = "列表查询模拟桥机工作循环数据配置信息")
@ApiOperation(value = "列表查询模拟桥机工作循环数据配置信息", notes = "列表查询模拟桥机工作循环数据配置信息", httpMethod = "GET")
@GetMapping(value = "/list")
public Result<List<MockBridgeCraneDataConfigVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<List<MockBridgeCraneDataConfigVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(mockBridgeCraneDataConfigService.queryList(param));
}
@ -106,7 +106,7 @@ public class MockBridgeCraneDataConfigController {
@ApiOperation(value = "删除模拟桥机工作循环数据配置信息", notes = "删除模拟桥机工作循环数据配置信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "模拟桥机工作循环数据配置ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<MockBridgeCraneDataConfig> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<MockBridgeCraneDataConfig> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
mockBridgeCraneDataConfigService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}

View File

@ -8,7 +8,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhgd.annotation.DataScope;
import com.zhgd.xmgl.modules.project.entity.EnableMessageDevRule;
import com.zhgd.xmgl.modules.project.entity.vo.EnableMessageDevRuleVo;
import liquibase.pro.packaged.D;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

View File

@ -25,7 +25,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.ArrayList;
import java.util.HashMap;
@ -63,7 +63,7 @@ public class FourColorDrawController {
// @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
// })
// @GetMapping(value = "/page")
// public Result<IPage<FourColorDrawVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
// public Result<IPage<FourColorDrawVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
// return Result.success(fourColorDrawService.queryPageList(param));
// }
@Lazy
@ -78,7 +78,7 @@ public class FourColorDrawController {
@OperLog(operModul = "四色图图纸图画管理", operType = "列表查询", operDesc = "列表查询四色图图纸图画信息")
@ApiOperation(value = "列表查询四色图图纸图画信息", notes = "列表查询四色图图纸图画信息", httpMethod = "GET")
@GetMapping(value = "/list")
public Result<List<FourColorDrawVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<List<FourColorDrawVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(fourColorDrawService.queryList(param));
}
@ -119,7 +119,7 @@ public class FourColorDrawController {
@ApiOperation(value = "删除四色图图纸图画信息", notes = "删除四色图图纸图画信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "四色图图纸图画ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<FourColorDraw> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<FourColorDraw> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
fourColorDrawService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}

View File

@ -24,7 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
import io.swagger.v3.oas.annotations.Parameter;
import java.util.HashMap;
import java.util.List;
@ -62,7 +62,7 @@ public class FourColorDrawPaperController {
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
})
@GetMapping(value = "/page")
public Result<IPage<FourColorDrawPaperVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<IPage<FourColorDrawPaperVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(fourColorDrawPaperService.queryPageList(param));
}
@ -74,7 +74,7 @@ public class FourColorDrawPaperController {
@OperLog(operModul = "四色图图纸管理", operType = "列表查询", operDesc = "列表查询四色图图纸信息")
@ApiOperation(value = "列表查询四色图图纸信息", notes = "列表查询四色图图纸信息", httpMethod = "GET")
@GetMapping(value = "/list")
public Result<List<FourColorDrawPaperVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
public Result<List<FourColorDrawPaperVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
return Result.success(fourColorDrawPaperService.queryList(param));
}
@ -115,7 +115,7 @@ public class FourColorDrawPaperController {
@ApiOperation(value = "删除四色图图纸信息", notes = "删除四色图图纸信息", httpMethod = "POST")
@ApiImplicitParam(name = "id", value = "四色图图纸ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
@PostMapping(value = "/delete")
public Result<FourColorDrawPaper> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
public Result<FourColorDrawPaper> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
fourColorDrawPaperService.delete(MapUtils.getString(map, "id"));
return Result.ok();
}

View File

@ -807,7 +807,7 @@ public class XzSecurityQualityInspectionRecordController {
@ApiOperation(value = "批量删除安全检查记录", notes = "批量删除安全检查记录", httpMethod = "POST")
@ApiImplicitParam(name = "ids", value = "安全检查记录ids多个,分隔)", paramType = "body", required = true, dataType = "String")
@PostMapping(value = "/deleteBatch")
public Result deleteBatch(@ApiIgnore @RequestBody Map<String, Object> map) {
public Result deleteBatch(@Parameter(hidden = true) @RequestBody Map<String, Object> map) {
Result result = new Result<>();
String ids = MapUtils.getString(map, "ids");
if (ids == null || "".equals(ids.trim())) {

View File

@ -15,7 +15,7 @@ import com.zhgd.xmgl.modules.bridgeCrane.service.IBridgeCraneDataService;
import com.zhgd.xmgl.modules.bridgeCrane.service.IBridgeCraneDevService;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import net.javacrumbs.shedlock.core.SchedulerLock;
import net.javacrumbs.shedlock.spring.annotation.SchedulerLock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
@ -52,7 +52,7 @@ public class BridgeCraneTask {
* 获取睿郅盾的桥机实时数据
*/
@Scheduled(cron = "0 */5 * * * ?")
@SchedulerLock(name = "getBridgeCraneDataTask", lockAtMostFor = 1000 * 60, lockAtLeastFor = 1000 * 60)
@SchedulerLock(name = "getBridgeCraneDataTask", lockAtMostFor = "PT60S", lockAtLeastFor = "PT60S")
@RequestMapping("getBridgeCraneDataTask")
public void getBridgeCraneDataTask() {
if (StrUtil.isBlank(rzdqjToken)) {