修改
This commit is contained in:
parent
e813321ea3
commit
68512f2e92
@ -8,6 +8,7 @@ import cn.iocoder.yudao.module.inspection.service.AppInspectionPartnerService;
|
||||
import cn.iocoder.yudao.module.inspection.service.IInspectionFileService;
|
||||
import cn.iocoder.yudao.module.shop.entity.ShopMallPartners;
|
||||
import cn.iocoder.yudao.util.ExcelUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@ -122,4 +123,21 @@ public class InspectionFileController extends BaseController
|
||||
}
|
||||
return success(inspectionFileService.getCountByIds(ids));
|
||||
}
|
||||
|
||||
/**
|
||||
* 得到使用说明
|
||||
*
|
||||
* @author 小李
|
||||
* @date 12:31 2024/12/17
|
||||
**/
|
||||
@GetMapping("/getPresent")
|
||||
public CommonResult<?> getPresent(){
|
||||
List<InspectionFile> files = inspectionFileService.list(new LambdaQueryWrapper<InspectionFile>().eq(InspectionFile::getFileName, "使用说明"));
|
||||
if (CollUtil.isEmpty(files)){
|
||||
return null;
|
||||
}
|
||||
InspectionFile inspectionFile = files.get(0);
|
||||
return success(inspectionFile);
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user