测试代码删除

This commit is contained in:
zhuxinyu
2023-04-04 10:35:07 +08:00
parent da72989f40
commit c0a3b75295

View File

@@ -98,7 +98,6 @@ public class OperationContrController extends BaseController {
DeviceInfoParam param = new DeviceInfoParam(RequestUtil.getDeptIndex(),null);
deviceInfoParam.setDeptIndex(param.getDeptIndex());
LogUtil.njcnDebug(log, "{},参数集合:{}", methodDescribe, deviceInfoParam);
// deviceInfoParam.setDeptIndex("db2ba5e64d77f8e94ea5e6bb267407a2");
List<LineFlowMealDetailVO> result = lineService.getDeviceRunStatistics(deviceInfoParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
}
@@ -110,10 +109,10 @@ public class OperationContrController extends BaseController {
@ApiImplicitParam(name = "deviceInfoParam", value = "实体", required = true)
public HttpResult<Page<LineFlowMealDetailVO>> getNewDeviceRunStatistics(@RequestBody PqsParam deviceInfoParam){
String methodDescribe = getMethodDescribe("getDeviceRunStatistics");
// DeviceInfoParam param = new DeviceInfoParam(RequestUtil.getDeptIndex(),null);
// deviceInfoParam.setDeptIndex(param.getDeptIndex());
// 本地测试
deviceInfoParam.setDeptIndex("9b8f910f3c3ad4b049b6abda59d66419");
if (deviceInfoParam.getDeptIndex() == null) {
DeviceInfoParam param = new DeviceInfoParam(RequestUtil.getDeptIndex(),null);
deviceInfoParam.setDeptIndex(param.getDeptIndex());
}
LogUtil.njcnDebug(log, "{},参数集合:{}", methodDescribe, deviceInfoParam);
Page<LineFlowMealDetailVO> result = lineService.getNewDeviceRunStatistics(deviceInfoParam);
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);