|
|
@@ -144,4 +144,25 @@ public class LocalBusConMixService extends AbstractConstantService<BusConMixMapp
|
|
|
.map(BusConMixEntity::getName)
|
|
|
.collect(Collectors.toList());
|
|
|
}
|
|
|
+
|
|
|
+ public List<String> listAnaType() {
|
|
|
+ List<BusConMixEntity> entities = baseMapper.selectList(new QueryWrapper<BusConMixEntity>().lambda()
|
|
|
+ .eq(BusConMixEntity::getTenantId, SecurityUtil.getTenantId())
|
|
|
+ .eq(BusConMixEntity::getType,ConstantMixEnum.anal.getValue())
|
|
|
+ .select(BusConMixEntity::getName));
|
|
|
+ return entities.stream()
|
|
|
+ .map(BusConMixEntity::getName)
|
|
|
+ .collect(Collectors.toList());
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<String> listAnalType() {
|
|
|
+
|
|
|
+ List<BusConMixEntity> entities = baseMapper.selectList(new QueryWrapper<BusConMixEntity>().lambda()
|
|
|
+ .eq(BusConMixEntity::getTenantId, SecurityUtil.getTenantId())
|
|
|
+ .eq(BusConMixEntity::getType,ConstantMixEnum.anaesthesia.getValue())
|
|
|
+ .select(BusConMixEntity::getName));
|
|
|
+ return entities.stream()
|
|
|
+ .map(BusConMixEntity::getName)
|
|
|
+ .collect(Collectors.toList());
|
|
|
+ }
|
|
|
}
|