方法变更修改
This commit is contained in:
@@ -17,6 +17,8 @@ public class AssayMethodProjectRespVO {
|
||||
|
||||
private String dictionaryProjectShowName;
|
||||
|
||||
private String assayType;
|
||||
|
||||
private Long configAssayMethodId;
|
||||
|
||||
private String configAssayMethodName;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -20,4 +20,7 @@ public class ConfigAssayMethodProjectExtendRespVO extends ConfigAssayMethodProje
|
||||
|
||||
@Schema(description = "显示名称")
|
||||
private String showName;
|
||||
|
||||
@Schema(description = "分析类型 单杯-single_cup、双杯-double_cup、平行-single_parallel")
|
||||
private String assayType;
|
||||
}
|
||||
|
||||
@@ -98,4 +98,17 @@ public interface ConfigSubSampleMethodMapper extends BaseMapperX<ConfigSubSample
|
||||
.in(ConfigSubSampleMethodDO::getConfigSubSampleId, configSubSampleIds));
|
||||
}
|
||||
|
||||
default List<ConfigSubSampleMethodExtendRespVO> selectByBaseSampleId(Long baseSampleId) {
|
||||
return selectJoinList(ConfigSubSampleMethodExtendRespVO.class, new MPJLambdaWrapperX<ConfigSubSampleMethodDO>()
|
||||
.leftJoin(ConfigSubSampleParentMethodDO.class, ConfigSubSampleParentMethodDO::getId, ConfigSubSampleMethodDO::getConfigSubSampleParentMethodId)
|
||||
.leftJoin(ConfigSubSampleDO.class, ConfigSubSampleDO::getId, ConfigSubSampleMethodDO::getConfigSubSampleId)
|
||||
.selectAll(ConfigSubSampleMethodDO.class)
|
||||
.selectAs(ConfigSubSampleParentMethodDO::getConfigAssayMethodId, ConfigSubSampleMethodExtendRespVO::getConfigAssayMethodId)
|
||||
.selectAs(ConfigSubSampleParentMethodDO::getIsDefaultUse, ConfigSubSampleMethodExtendRespVO::getIsDefaultUse)
|
||||
.selectAs(ConfigSubSampleDO::getConfigSubSampleParentId, ConfigSubSampleMethodExtendRespVO::getConfigSubSampleParentId)
|
||||
.selectAs(ConfigSubSampleDO::getConfigBaseSampleId, ConfigSubSampleMethodExtendRespVO::getConfigBaseSampleId)
|
||||
.selectAs(ConfigSubSampleDO::getBaseSampleId, ConfigSubSampleMethodExtendRespVO::getBaseSampleId)
|
||||
.eq(ConfigSubSampleDO::getBaseSampleId, baseSampleId));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -15,6 +15,7 @@
|
||||
tdp.NAME AS dictionaryProjectName,
|
||||
tdp.SMPL_NAME AS dictionaryProjectSimpleName,
|
||||
tdp.SHW_NAME AS dictionaryProjectShowName,
|
||||
tbatd.ASY_TP AS assayType,
|
||||
tbatd.CFG_ASY_MTHD_ID AS configAssayMethodId,
|
||||
tcam.NAME AS configAssayMethodName,
|
||||
tcam.MTHD_NAME_CTGR AS configAssayMethodNameAndCategory,
|
||||
@@ -44,6 +45,7 @@
|
||||
tdp.NAME,
|
||||
tdp.SMPL_NAME,
|
||||
tdp.SHW_NAME,
|
||||
tbatd.ASY_TP,
|
||||
tbatd.CFG_ASY_MTHD_ID,
|
||||
tcam.NAME,
|
||||
tcam.MTHD_NAME_CTGR,
|
||||
|
||||
Reference in New Issue
Block a user