代码提交
This commit is contained in:
@@ -48,7 +48,7 @@ public class CsDevCapacityController extends BaseController {
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/addList")
|
||||
@ApiOperation("批量新增")
|
||||
@ApiImplicitParam(name = "id", value = "设备id", required = true)
|
||||
@ApiImplicitParam(name = "list", value = "设备id", required = true)
|
||||
public HttpResult<String> addList(@RequestBody List<CsDevCapacityPO> list){
|
||||
String methodDescribe = getMethodDescribe("addList");
|
||||
csDevCapacityPOService.addList(list);
|
||||
|
||||
@@ -39,7 +39,7 @@ public class EventUserController extends BaseController {
|
||||
private final CsEventUserPOService csEventUserPOService;
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/queryEvent")
|
||||
@ApiOperation("当天暂降事件未读消息")
|
||||
@ApiOperation("暂降事件未读消息")
|
||||
@ApiImplicitParam(name = "csEventUserQueryParam", value = "暂降事件查询参数", required = true)
|
||||
public HttpResult<Integer> queryEvent(@RequestBody CsEventUserQueryParam csEventUserQueryParam) {
|
||||
String methodDescribe = getMethodDescribe("queryEvent");
|
||||
@@ -49,7 +49,7 @@ public class EventUserController extends BaseController {
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/queryEventList")
|
||||
@ApiOperation("当天事件消息")
|
||||
@ApiOperation("事件消息")
|
||||
@ApiImplicitParam(name = "csEventUserQueryParam", value = "暂降事件查询参数", required = true)
|
||||
public HttpResult<List<EventDetailVO>> queryEventList(@RequestBody CsEventUserQueryParam csEventUserQueryParam) {
|
||||
String methodDescribe = getMethodDescribe("queryEventList");
|
||||
@@ -59,7 +59,7 @@ public class EventUserController extends BaseController {
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@PostMapping("/queryEventpage")
|
||||
@ApiOperation("当天事件消息")
|
||||
@ApiOperation("事件消息")
|
||||
@ApiImplicitParam(name = "csEventUserQueryPage", value = "暂降事件查询参数", required = true)
|
||||
public HttpResult<Page<EventDetailVO>> queryEventpage(@RequestBody CsEventUserQueryPage csEventUserQueryPage) {
|
||||
String methodDescribe = getMethodDescribe("queryEventpage");
|
||||
|
||||
@@ -263,6 +263,7 @@ public class CsEventUserPOServiceImpl extends ServiceImpl<CsEventUserPOMapper, C
|
||||
temp.setEngineeringName(devDetail.getEngineeringName());
|
||||
EleEpdPqd ele = epdFeignClient.findByName(temp.getTag()).getData();
|
||||
temp.setShowName(ele.getShowName());
|
||||
temp.setCode(ele.getDefaultValue());
|
||||
if(Objects.equals(csEventUserQueryPage.getType(),"0")){
|
||||
|
||||
List<EleEvtParm> data1 = eleEvtFeignClient.queryByPid(ele.getId()).getData();
|
||||
@@ -285,6 +286,7 @@ public class CsEventUserPOServiceImpl extends ServiceImpl<CsEventUserPOMapper, C
|
||||
List<EventDataSetDTO> evtParamVVaDepth = eventDataSetDTOS.stream().
|
||||
filter(dataSetDTO -> Objects.equals(dataSetDTO.getName(), "Evt_Param_VVaDepth")).
|
||||
collect(Collectors.toList());
|
||||
|
||||
if(CollectionUtil.isEmpty(evtParamVVaDepth)){
|
||||
temp.setEvtParamVVaDepth("-");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user