|
@@ -1,11 +1,14 @@
|
|
|
package com.fdkankan.fusion.service.impl;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.fdkankan.fusion.entity.CaseFilesType;
|
|
|
import com.fdkankan.fusion.mapper.ICaseFilesTypeMapper;
|
|
|
import com.fdkankan.fusion.service.ICaseFilesTypeService;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 服务实现类
|
|
@@ -17,4 +20,11 @@ import org.springframework.stereotype.Service;
|
|
|
@Service
|
|
|
public class CaseFilesTypeServiceImpl extends ServiceImpl<ICaseFilesTypeMapper, CaseFilesType> implements ICaseFilesTypeService {
|
|
|
|
|
|
+ @Override
|
|
|
+ public List<CaseFilesType> listByTypeKey(String fileTypeKey) {
|
|
|
+ LambdaQueryWrapper<CaseFilesType> wrapper = new LambdaQueryWrapper<>();
|
|
|
+ wrapper.eq(CaseFilesType::getFilesTypeKey,fileTypeKey);
|
|
|
+ wrapper.orderByAsc(CaseFilesType::getSort);
|
|
|
+ return this.list(wrapper);
|
|
|
+ }
|
|
|
}
|