1.两级贯通接口调整
This commit is contained in:
@@ -7,11 +7,9 @@ import com.njcn.common.pojo.enums.common.LogEnum;
|
||||
import com.njcn.common.pojo.enums.response.CommonResponseEnum;
|
||||
import com.njcn.common.pojo.response.HttpResult;
|
||||
import com.njcn.common.utils.HttpResultUtil;
|
||||
import com.njcn.common.utils.LogUtil;
|
||||
import com.njcn.harmonic.pojo.param.UploadDataParam;
|
||||
import com.njcn.harmonic.pojo.po.upload.RUploadCommPointBus;
|
||||
import com.njcn.harmonic.pojo.vo.upload.UploadPointStatisticalDataVo;
|
||||
import com.njcn.harmonic.service.upload.IRUploadCommPointBusService;
|
||||
import com.njcn.harmonic.service.upload.RUploadCommPointBusService;
|
||||
import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
@@ -36,7 +34,7 @@ import com.njcn.web.controller.BaseController;
|
||||
@RequiredArgsConstructor
|
||||
public class RUploadCommPointBusController extends BaseController {
|
||||
|
||||
private final IRUploadCommPointBusService irUploadCommPointBusService;
|
||||
private final RUploadCommPointBusService RUploadCommPointBusService;
|
||||
|
||||
|
||||
@OperateInfo(info = LogEnum.BUSINESS_COMMON)
|
||||
@@ -45,7 +43,7 @@ public class RUploadCommPointBusController extends BaseController {
|
||||
@ApiImplicitParam(name = "param", value = "实体参数", required = true)
|
||||
public HttpResult<Page<RUploadCommPointBus>> getCommPointBusPage(@RequestBody @Validated UploadDataParam param) {
|
||||
String methodDescribe = getMethodDescribe("getCommPointBusPage");
|
||||
Page<RUploadCommPointBus> page = irUploadCommPointBusService.getCommPointBusPage(param);
|
||||
Page<RUploadCommPointBus> page = RUploadCommPointBusService.getCommPointBusPage(param);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, page, methodDescribe);
|
||||
}
|
||||
|
||||
@@ -56,7 +54,7 @@ public class RUploadCommPointBusController extends BaseController {
|
||||
@ApiImplicitParam(name = "param", value = "实体参数", required = true)
|
||||
public HttpResult<Boolean> upGwCommPoint(@RequestBody UploadDataParam param) {
|
||||
String methodDescribe = getMethodDescribe("upGwCommPoint");
|
||||
irUploadCommPointBusService.upGw(param);
|
||||
RUploadCommPointBusService.upGw(param);
|
||||
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, true, methodDescribe);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user