系数下发

This commit is contained in:
caozehui
2026-01-19 14:23:23 +08:00
parent 0fa7ec91c4
commit 6288aa565e
30 changed files with 958 additions and 95 deletions

View File

@@ -198,7 +198,7 @@ public class ResultController extends BaseController {
String methodDescribe = getMethodDescribe("getCheckItem");
LogUtil.njcnDebug(log, "{},查询数据为:{}", methodDescribe, monitorQueryParam);
List<ContrastTestItemVO> result = resultService.getCheckItem(monitorQueryParam.getPlanId(), monitorQueryParam.getDevId(), monitorQueryParam.getChnNum(), monitorQueryParam.getNum());
List<ContrastTestItemVO> result = resultService.getCheckItem(monitorQueryParam.getPlanId(), monitorQueryParam.getDevId(), monitorQueryParam.getChnNum(), monitorQueryParam.getNum(), monitorQueryParam.getCode());
return HttpResultUtil.assembleCommonResponseResult(CommonResponseEnum.SUCCESS, result, methodDescribe);
}
}

View File

@@ -17,4 +17,6 @@ public class MonitorQueryParam {
private Integer waveNum;
private String planId;
private String code;
}

View File

@@ -123,9 +123,10 @@ public interface IResultService {
* @param devId
* @param chnNum
* @param num
* @param code
* @return
*/
List<ContrastTestItemVO> getCheckItem(String planId, String devId, String chnNum, Integer num);
List<ContrastTestItemVO> getCheckItem(String planId, String devId, String chnNum, Integer num,String code);
/**
* 获取设备比对式结果,用于出比对检测的报告

View File

@@ -1883,10 +1883,10 @@ public class ResultServiceImpl implements IResultService {
}
@Override
public List<ContrastTestItemVO> getCheckItem(String planId, String devId, String chnNum, Integer num) {
public List<ContrastTestItemVO> getCheckItem(String planId, String devId, String chnNum, Integer num,String code) {
// PqDev dev = pqDevService.getById(devId);
AdPlan plan = adPlanService.getById(planId);
String code = String.valueOf(plan.getCode());
// String code = String.valueOf(plan.getCode());
String monitorId = devId + CnSocketUtil.SPLIT_TAG + chnNum;