diff --git a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java index 939aa7136..1060aff1b 100644 --- a/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java +++ b/pqs-device/pms-device/pms-device-boot/src/main/java/com/njcn/device/pms/controller/ledgerManger/PmsTractionStationController.java @@ -155,11 +155,7 @@ public class PmsTractionStationController extends BaseController { public HttpResult> getPmsTractionStationInfo(@RequestBody PmsTractionStationParam param) { String methodDescribe = getMethodDescribe("getPmsTractionStationInfo"); List result = iTractionStationService.getPmsTractionStationInfo(param); - if (CollUtil.isEmpty(result)) { - return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.FAIL, null, methodDescribe); - } else { - return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe); - } + return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe); } }