diff --git a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/DistributionMonitorParam.java b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/DistributionMonitorParam.java index d51cff8b1..e1dbb2670 100644 --- a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/DistributionMonitorParam.java +++ b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/DistributionMonitorParam.java @@ -37,4 +37,38 @@ public class DistributionMonitorParam { @ApiModelProperty(value = "III类监测点小类 0.用电用户 1.发电用户 默认用电") private Integer smallType; + + @ApiModelProperty(value = "终端id") + private String terminalId; + + /** + * 监测终端接线方式(字典) + */ + @ApiModelProperty(value = "监测终端接线方式(字典)") + private String terminalWiringMethod; + + + /** + * pt变比 + */ + @ApiModelProperty(value = "pt1") + private Float pt1; + + /** + * pt变比 + */ + @ApiModelProperty(value = "pt2") + private Float pt2; + + /** + * ct变比 + */ + @ApiModelProperty(value = "ct1") + private Float ct1; + + /** + * ct变比 + */ + @ApiModelProperty(value = "ct2") + private Float ct2; } diff --git a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/PmsTerminalParam.java b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/PmsTerminalParam.java index 423aad08b..e1e9324bf 100644 --- a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/PmsTerminalParam.java +++ b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/PmsTerminalParam.java @@ -58,6 +58,13 @@ public class PmsTerminalParam { @NotBlank(message = "装置型号不能为空") private String deviceModel; + /** + * 装置类别(字典) + */ + @ApiModelProperty(name = "deviceCategory", value = "装置类别") + @NotBlank(message = "装置类别不能为空") + private String deviceCategory; + @ApiModelProperty(name = "manufacture", value = "生产厂家") @NotBlank(message = "生产厂家不能为空") private String manufacture; diff --git a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TaiZhangParam.java b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TaiZhangParam.java index 9438ffde4..ae90f3f67 100644 --- a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TaiZhangParam.java +++ b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TaiZhangParam.java @@ -33,6 +33,8 @@ public class TaiZhangParam extends BaseParam { private Integer treeType; + @ApiModelProperty(value = "监测点状态(字典)") + private String monitorState; diff --git a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TerminalQueryParam.java b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TerminalQueryParam.java new file mode 100644 index 000000000..f7e4059ca --- /dev/null +++ b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/param/TerminalQueryParam.java @@ -0,0 +1,25 @@ +package com.njcn.device.pms.pojo.param; + +import com.njcn.web.pojo.param.BaseParam; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import lombok.EqualsAndHashCode; + +/** + * pqs + * + * @author cdf + * @date 2023/2/20 + */ +@Data +@EqualsAndHashCode(callSuper = true) +public class TerminalQueryParam extends BaseParam { + + + @ApiModelProperty(value = "监测点状态(字典)") + private String monitorState; + + @ApiModelProperty(value = "装置类别(字典)") + private String deviceCategory; + +} diff --git a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/po/PmsTerminal.java b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/po/PmsTerminal.java index 5bf582282..3ffa27d43 100644 --- a/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/po/PmsTerminal.java +++ b/pqs-device/pms-device/pms-device-api/src/main/java/com/njcn/device/pms/pojo/po/PmsTerminal.java @@ -77,6 +77,12 @@ public class PmsTerminal extends BaseEntity { */ private String deviceModel; + + /** + * 装置类别(字典) + */ + private String deviceCategory; + /** * 生产厂家(字典) */ diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsDistributionMonitorController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsDistributionMonitorController.java similarity index 77% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsDistributionMonitorController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsDistributionMonitorController.java index f1a675c69..cfc0fc7a8 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsDistributionMonitorController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsDistributionMonitorController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; @@ -63,6 +63,45 @@ public class PmsDistributionMonitorController extends BaseController { } } + + /** + * 修改配网监测点表 + * @author cdf + * @date 2022/10/26 + */ + @PostMapping("updateDistributionMonitor") + @ApiImplicitParam(name = "distributionMonitorParam",value = "配网监测点实体",required = true) + @OperateInfo(info = LogEnum.BUSINESS_COMMON,operateType = OperateType.UPDATE) + @ApiOperation("修改配网监测点") + public HttpResult updateDistributionMonitor(@RequestBody @Validated DistributionMonitorParam distributionMonitorParam){ + String methodDescribe = getMethodDescribe("updateDistributionMonitor"); + boolean res= iDistributionMonitorService.updateDistributionMonitor(distributionMonitorParam); + if(res){ + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe); + }else { + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, null, methodDescribe); + } + } + + /** + * 根据监测点id获取配网监测点 + * @author cdf + * @date 2023/2/20 + */ + @PostMapping("getDistributionMonitorById") + @ApiImplicitParams({ + @ApiImplicitParam(name = "monitorSort",value = "配网类别",required = true), + @ApiImplicitParam(name = "id",value = "配网监测点编号",required = true) + }) + @OperateInfo(info = LogEnum.BUSINESS_COMMON) + @ApiOperation("根据监测点id获取配网监测点") + public HttpResult getDistributionMonitorById(@RequestParam("monitorSort") String monitorSort,@RequestParam("id") String id){ + String methodDescribe = getMethodDescribe("getDistributionMonitorById"); + DistributionMonitor res = iDistributionMonitorService.getDistributionMonitorById(monitorSort,id); + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, res, methodDescribe); + } + + /** * 获取配网监测点 * @author cdf @@ -153,5 +192,7 @@ public class PmsDistributionMonitorController extends BaseController { } + + } diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneralDeviceController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneralDeviceController.java similarity index 98% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneralDeviceController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneralDeviceController.java index 10fb4b53b..ce81b4e28 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneralDeviceController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneralDeviceController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; import com.njcn.common.pojo.annotation.OperateInfo; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixController.java index 6f12d2a03..e91a2b99c 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixWireController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixWireController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixWireController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixWireController.java index b2fdf696f..6641b8828 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsGeneratrixWireController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsGeneratrixWireController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsMonitorController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsMonitorController.java similarity index 88% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsMonitorController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsMonitorController.java index 82d59babe..ea7e3f15c 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsMonitorController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsMonitorController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; @@ -10,6 +10,7 @@ import com.njcn.common.pojo.response.HttpResult; import com.njcn.common.utils.HttpResultUtil; import com.njcn.device.pms.pojo.dto.PmsMonitorDTO; import com.njcn.device.pms.pojo.dto.PmsMonitorInfoDTO; +import com.njcn.device.pms.pojo.param.TerminalQueryParam; import com.njcn.device.pms.pojo.param.MonitorParam; import com.njcn.device.pms.pojo.param.MonitorStatus; import com.njcn.device.pms.pojo.param.PmsMonitorInfoParam; @@ -20,9 +21,9 @@ import com.njcn.device.pms.service.majornetwork.IMonitorService; import com.njcn.device.pq.pojo.po.Overlimit; import com.njcn.web.controller.BaseController; -import com.njcn.web.pojo.param.BaseParam; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; +import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; @@ -30,6 +31,7 @@ import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; import java.util.List; import java.util.Objects; @@ -119,7 +121,7 @@ public class PmsMonitorController extends BaseController { @PostMapping("/getAllMonitorPageList") @ApiOperation("分页获取所有主网监测点") @ApiImplicitParam(name = "baseParam",required = true) - public HttpResult> getAllMonitorPageList(@RequestBody BaseParam baseParam) { + public HttpResult> getAllMonitorPageList(@RequestBody TerminalQueryParam baseParam) { String methodDescribe = getMethodDescribe("getAllMonitorList"); Page monitor= monitorService.getAllMonitorPageList(baseParam); if (Objects.isNull(monitor)) { @@ -212,6 +214,30 @@ public class PmsMonitorController extends BaseController { } + /** + * 退役监测点 + * @author cdf + * @date 2023/2/20 + */ + + @OperateInfo(info = LogEnum.BUSINESS_COMMON,operateType = OperateType.UPDATE) + @PostMapping("/retirementMonitor") + @ApiOperation("退役服役监测点") + @ApiImplicitParams({ + @ApiImplicitParam(name = "type", value = "0.主网 1.配网", required = true), + @ApiImplicitParam(name = "lineIds", value = "监测点ids", required = true) + }) + public HttpResult retirementMonitor(@NotNull(message = "监测类别不可为空") @RequestParam("type") Integer type, + @NotEmpty(message = "监测点不可为空") @RequestBody List lineIds) { + String methodDescribe = getMethodDescribe("retirementMonitor"); + boolean result = monitorService.retirementMonitor(type,lineIds); + if(result){ + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, null, methodDescribe); + } + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, null, methodDescribe); + + } + /**分割线-----------------------------------------------------------*/ diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerClientController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerClientController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerClientController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerClientController.java index 11f9f4f1b..7f94cc1cb 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerClientController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerClientController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerDistributionareaController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerDistributionareaController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerDistributionareaController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerDistributionareaController.java index 953659ad0..d238832fe 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerDistributionareaController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerDistributionareaController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerGenerationUserController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerGenerationUserController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerGenerationUserController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerGenerationUserController.java index 976c36633..3a1f87b66 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerGenerationUserController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerGenerationUserController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerQualityMatterController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerQualityMatterController.java similarity index 88% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerQualityMatterController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerQualityMatterController.java index 47e698d5d..3e893574b 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsPowerQualityMatterController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsPowerQualityMatterController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import org.springframework.web.bind.annotation.RequestMapping; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsStatationStatController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsStatationStatController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsStatationStatController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsStatationStatController.java index 5e28d29f7..ee0a07001 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsStatationStatController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsStatationStatController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollectionUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTerminalController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTerminalController.java similarity index 97% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTerminalController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTerminalController.java index 6db7dbb9d..1d6a53f00 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTerminalController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTerminalController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; @@ -11,6 +11,7 @@ import com.njcn.common.utils.HttpResultUtil; import com.njcn.common.utils.LogUtil; import com.njcn.device.pms.pojo.param.PmsBaseParam; import com.njcn.device.pms.pojo.param.PmsTerminalParam; +import com.njcn.device.pms.pojo.param.TerminalQueryParam; import com.njcn.device.pms.pojo.po.PmsTerminal; import com.njcn.device.pms.pojo.vo.PmsTerminalVO; import com.njcn.device.pms.service.majornetwork.ITerminalService; @@ -50,7 +51,7 @@ public class PmsTerminalController extends BaseController { @PostMapping("getTerminalList") @ApiOperation("分页查询监测终端台账所有信息") @ApiImplicitParam(name = "baseParam",value = "查询监测终端台账信息",required = true) - public HttpResult> getTerminalList(@RequestBody @Validated BaseParam baseParam){ + public HttpResult> getTerminalList(@RequestBody @Validated TerminalQueryParam baseParam){ String methodDescribe = getMethodDescribe("getTerminalList"); LogUtil.njcnDebug(log, "{},查询数据为:{}", methodDescribe, baseParam); Page res = iTerminalService.getTerminalList(baseParam); diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTractionStationController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java similarity index 99% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTractionStationController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java index 2bb107c5b..939aa7136 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/PmsTractionStationController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import cn.hutool.core.collection.CollUtil; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/TerminalEliminateDataController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/TerminalEliminateDataController.java similarity index 98% rename from pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/TerminalEliminateDataController.java rename to pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/TerminalEliminateDataController.java index a75f24ec8..1560ebea7 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/majornetwork/TerminalEliminateDataController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/TerminalEliminateDataController.java @@ -1,4 +1,4 @@ -package com.njcn.device.pms.controller.majornetwork; +package com.njcn.device.pms.controller.ledgerManger; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/mapper/majornetwork/mapping/DistributionMonitorMapper.xml b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/mapper/majornetwork/mapping/DistributionMonitorMapper.xml index 35eafc447..ce2f0b39c 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/mapper/majornetwork/mapping/DistributionMonitorMapper.xml +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/mapper/majornetwork/mapping/DistributionMonitorMapper.xml @@ -60,13 +60,16 @@ and a.name like concat('%',#{taiZhangParam.searchValue},'%') + + and b.Monitor_State = #{taiZhangParam.monitorState} + and a.status = 1 @@ -89,6 +95,9 @@ and yong.name like concat('%',#{taiZhangParam.searchValue},'%') + + + and dis.Monitor_State = #{taiZhangParam.monitorState} and dis.status = 1 @@ -107,6 +116,9 @@ and fa.name like concat('%',#{taiZhangParam.searchValue},'%') + + and dis.Monitor_State = #{taiZhangParam.monitorState} + and dis.status = 1