1.调整检测脚本的返回信息
2.增加误差体系查询接口
This commit is contained in:
@@ -8,6 +8,7 @@ import com.njcn.gather.device.err.pojo.param.PqErrSysDtlsParam;
|
||||
import com.njcn.gather.device.err.pojo.param.PqErrSysParam;
|
||||
import com.njcn.gather.device.err.pojo.po.PqErrSysDtls;
|
||||
import com.njcn.gather.device.err.service.IPqErrSysDtlsService;
|
||||
import com.njcn.gather.device.script.pojo.param.PqScriptCheckDataParam;
|
||||
import com.njcn.gather.device.script.service.IPqScriptCheckDataService;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -34,7 +35,7 @@ public class PqErrSysDtlsServiceImpl extends ServiceImpl<PqErrSysDtlsMapper, PqE
|
||||
|
||||
@Override
|
||||
public List<PqErrSysDtls> listPqErrSysDtlsByPqErrSysId(String pqErrSysId) {
|
||||
return this.lambdaQuery().eq(PqErrSysDtls::getErrorSysId, pqErrSysId).orderBy(true, true,PqErrSysDtls::getSort).list();
|
||||
return this.lambdaQuery().eq(PqErrSysDtls::getErrorSysId, pqErrSysId).orderBy(true, true, PqErrSysDtls::getSort).list();
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -75,13 +76,16 @@ public class PqErrSysDtlsServiceImpl extends ServiceImpl<PqErrSysDtlsMapper, PqE
|
||||
// .eq(PqErrSysDtls::getErrorSysId, param.getErrorSysId())
|
||||
// .in(PqErrSysDtls::getErrorSysId, param.getType())
|
||||
);
|
||||
//根据检测脚本id和检测序号,查询出检测子项目
|
||||
|
||||
|
||||
// return this.list(new LambdaQueryWrapper<PqErrSysDtls>()
|
||||
// PqScriptCheckDataParam script = new PqScriptCheckDataParam();
|
||||
// script.setScriptId(param.getScriptId());
|
||||
// script.setIndex(param.getIndex());
|
||||
// script.setIsValueTypeName(false);
|
||||
// List<String> valueType = pqScriptCheckDataService.getValueType(script);
|
||||
// //根据检测脚本id和检测序号,查询出检测子项目
|
||||
// return this.list(new LambdaQueryWrapper<PqErrSysDtls>()
|
||||
// .eq(PqErrSysDtls::getErrorSysId, param.getErrorSysId())
|
||||
// .in(PqErrSysDtls::getErrorSysId, param.getType())
|
||||
// .in(PqErrSysDtls::getScriptType, valueType)
|
||||
// );
|
||||
// return new ArrayList<>();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class PqScriptCheckDataParam {
|
||||
@ApiModelProperty("总检测脚本中的测试项序号")
|
||||
private Integer index;
|
||||
|
||||
@ApiModelProperty("检测指标类型(true:展示名称 ,false展示id ,默认false)")
|
||||
@ApiModelProperty("检测指标类型(true:code(I$real) ,false展示id ,默认false)")
|
||||
private Boolean isValueTypeName=false;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user