...
This commit is contained in:
@@ -155,12 +155,8 @@ public class PmsTractionStationController extends BaseController {
|
|||||||
public HttpResult<List<PmsTractionStationDTO>> getPmsTractionStationInfo(@RequestBody PmsTractionStationParam param) {
|
public HttpResult<List<PmsTractionStationDTO>> getPmsTractionStationInfo(@RequestBody PmsTractionStationParam param) {
|
||||||
String methodDescribe = getMethodDescribe("getPmsTractionStationInfo");
|
String methodDescribe = getMethodDescribe("getPmsTractionStationInfo");
|
||||||
List<PmsTractionStationDTO> result = iTractionStationService.getPmsTractionStationInfo(param);
|
List<PmsTractionStationDTO> 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);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user