比对相关代码
This commit is contained in:
@@ -57,4 +57,10 @@ public interface IPqErrSysDtlsService extends IService<PqErrSysDtls> {
|
||||
* @return
|
||||
*/
|
||||
List<ErrDtlsCheckDataVO> listByPqErrSysIdAndTypes(PqErrSysParam.DetectionParam param);
|
||||
|
||||
/**
|
||||
* 根据误差体系id和脚本类型查询脚本类型
|
||||
* @return
|
||||
*/
|
||||
List<PqErrSysDtls> listPqErrSysDtlsByPqErrSysIdAndScriptType(String errSysId, String scriptType);
|
||||
}
|
||||
|
||||
@@ -155,4 +155,14 @@ public class PqErrSysDtlsServiceImpl extends ServiceImpl<PqErrSysDtlsMapper, PqE
|
||||
}
|
||||
return info;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PqErrSysDtls> listPqErrSysDtlsByPqErrSysIdAndScriptType(String errSysId, String scriptType) {
|
||||
MPJLambdaWrapper<PqErrSysDtls> wrapper = new MPJLambdaWrapper<>();
|
||||
wrapper.selectAll(PqErrSysDtls.class)
|
||||
.leftJoin(DictTree.class, DictTree::getId, PqErrSysDtls::getScriptType)
|
||||
.eq(PqErrSysDtls::getErrorSysId, errSysId)
|
||||
.eq(DictTree::getId, scriptType);
|
||||
return this.list(wrapper);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user