opi(execl表格)依赖冲突解决,还有权限字符串修改
This commit is contained in:
142
pom.xml
142
pom.xml
@@ -2,7 +2,7 @@
|
|||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>zhyc</groupId>
|
<groupId>zhyc</groupId>
|
||||||
<artifactId>zhyc</artifactId>
|
<artifactId>zhyc</artifactId>
|
||||||
@@ -27,7 +27,14 @@
|
|||||||
<fastjson.version>2.0.53</fastjson.version>
|
<fastjson.version>2.0.53</fastjson.version>
|
||||||
<oshi.version>6.8.1</oshi.version>
|
<oshi.version>6.8.1</oshi.version>
|
||||||
<commons.io.version>2.19.0</commons.io.version>
|
<commons.io.version>2.19.0</commons.io.version>
|
||||||
<poi.version>4.1.2</poi.version>
|
<!-- 升级 POI 版本解决 AbstractMethodError -->
|
||||||
|
<poi.version>5.2.3</poi.version>
|
||||||
|
<!-- POI 相关依赖版本 -->
|
||||||
|
<commons-compress.version>1.26.2</commons-compress.version>
|
||||||
|
<xmlbeans.version>5.2.0</xmlbeans.version>
|
||||||
|
<commons-collections4.version>4.4</commons-collections4.version>
|
||||||
|
<curvesapi.version>1.08</curvesapi.version>
|
||||||
|
<commons-math3.version>3.6.1</commons-math3.version>
|
||||||
<velocity.version>2.3</velocity.version>
|
<velocity.version>2.3</velocity.version>
|
||||||
<jwt.version>0.9.1</jwt.version>
|
<jwt.version>0.9.1</jwt.version>
|
||||||
<!-- override dependency version -->
|
<!-- override dependency version -->
|
||||||
@@ -35,7 +42,6 @@
|
|||||||
<logback.version>1.2.13</logback.version>
|
<logback.version>1.2.13</logback.version>
|
||||||
<spring-security.version>5.7.12</spring-security.version>
|
<spring-security.version>5.7.12</spring-security.version>
|
||||||
<spring-framework.version>5.3.39</spring-framework.version>
|
<spring-framework.version>5.3.39</spring-framework.version>
|
||||||
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<!-- 依赖声明 -->
|
<!-- 依赖声明 -->
|
||||||
@@ -149,11 +155,80 @@
|
|||||||
<version>${commons.io.version}</version>
|
<version>${commons.io.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- excel工具 -->
|
<!-- Excel 工具依赖 - 解决 AbstractMethodError -->
|
||||||
|
<!-- 主要 POI 依赖 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.poi</groupId>
|
||||||
|
<artifactId>poi</artifactId>
|
||||||
|
<version>${poi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.poi</groupId>
|
<groupId>org.apache.poi</groupId>
|
||||||
<artifactId>poi-ooxml</artifactId>
|
<artifactId>poi-ooxml</artifactId>
|
||||||
<version>${poi.version}</version>
|
<version>${poi.version}</version>
|
||||||
|
<exclusions>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.apache.poi</groupId>
|
||||||
|
<artifactId>poi</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>org.apache.poi</groupId>
|
||||||
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>stax</groupId>
|
||||||
|
<artifactId>stax-api</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
<exclusion>
|
||||||
|
<groupId>commons-codec</groupId>
|
||||||
|
<artifactId>commons-codec</artifactId>
|
||||||
|
</exclusion>
|
||||||
|
</exclusions>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.poi</groupId>
|
||||||
|
<artifactId>poi-ooxml-schemas</artifactId>
|
||||||
|
<version>${poi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- POI 相关依赖 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-compress</artifactId>
|
||||||
|
<version>${commons-compress.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.xmlbeans</groupId>
|
||||||
|
<artifactId>xmlbeans</artifactId>
|
||||||
|
<version>${xmlbeans.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-collections4</artifactId>
|
||||||
|
<version>${commons-collections4.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.virtuald</groupId>
|
||||||
|
<artifactId>curvesapi</artifactId>
|
||||||
|
<version>${curvesapi.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.commons</groupId>
|
||||||
|
<artifactId>commons-math3</artifactId>
|
||||||
|
<version>${commons-math3.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<!-- 兼容性依赖 -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>commons-codec</groupId>
|
||||||
|
<artifactId>commons-codec</artifactId>
|
||||||
|
<version>1.16.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- velocity代码生成使用模板 -->
|
<!-- velocity代码生成使用模板 -->
|
||||||
@@ -176,6 +251,7 @@
|
|||||||
<artifactId>jjwt</artifactId>
|
<artifactId>jjwt</artifactId>
|
||||||
<version>${jwt.version}</version>
|
<version>${jwt.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 验证码 -->
|
<!-- 验证码 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>pro.fessional</groupId>
|
<groupId>pro.fessional</groupId>
|
||||||
@@ -217,6 +293,7 @@
|
|||||||
<artifactId>zhyc-common</artifactId>
|
<artifactId>zhyc-common</artifactId>
|
||||||
<version>${zhyc.version}</version>
|
<version>${zhyc.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>zhyc</groupId>
|
<groupId>zhyc</groupId>
|
||||||
<artifactId>zhyc-module</artifactId>
|
<artifactId>zhyc-module</artifactId>
|
||||||
@@ -235,6 +312,7 @@
|
|||||||
<module>zhyc-common</module>
|
<module>zhyc-common</module>
|
||||||
<module>zhyc-module</module>
|
<module>zhyc-module</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
@@ -250,6 +328,24 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
<!-- 添加依赖分析插件,帮助解决冲突 -->
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-dependency-plugin</artifactId>
|
||||||
|
<version>3.1.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>analyze</id>
|
||||||
|
<goals>
|
||||||
|
<goal>analyze-only</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<failOnWarning>false</failOnWarning>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
@@ -262,6 +358,32 @@
|
|||||||
<enabled>true</enabled>
|
<enabled>true</enabled>
|
||||||
</releases>
|
</releases>
|
||||||
</repository>
|
</repository>
|
||||||
|
|
||||||
|
<!-- 添加阿里云 Spring Boot 仓库 -->
|
||||||
|
<repository>
|
||||||
|
<id>spring</id>
|
||||||
|
<name>Spring Repository</name>
|
||||||
|
<url>https://maven.aliyun.com/repository/spring</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
|
|
||||||
|
<!-- 添加 Apache 仓库 -->
|
||||||
|
<repository>
|
||||||
|
<id>apache</id>
|
||||||
|
<name>Apache Repository</name>
|
||||||
|
<url>https://repository.apache.org/content/repositories/releases/</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</repository>
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
<pluginRepositories>
|
<pluginRepositories>
|
||||||
@@ -276,6 +398,18 @@
|
|||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
</snapshots>
|
</snapshots>
|
||||||
</pluginRepository>
|
</pluginRepository>
|
||||||
|
|
||||||
|
<pluginRepository>
|
||||||
|
<id>spring</id>
|
||||||
|
<name>Spring Plugin Repository</name>
|
||||||
|
<url>https://maven.aliyun.com/repository/spring-plugin</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
</pluginRepositories>
|
</pluginRepositories>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
@@ -118,6 +118,10 @@
|
|||||||
<groupId>javax.servlet</groupId>
|
<groupId>javax.servlet</groupId>
|
||||||
<artifactId>javax.servlet-api</artifactId>
|
<artifactId>javax.servlet-api</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.poi</groupId>
|
||||||
|
<artifactId>poi</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询羊只类型列表
|
* 查询羊只类型列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:list')")
|
// @PreAuthorize("@ss.hasPermi('base:base:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(BasSheepType basSheepType)
|
public TableDataInfo list(BasSheepType basSheepType)
|
||||||
{
|
{
|
||||||
@@ -53,7 +53,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 导出羊只类型列表
|
* 导出羊只类型列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:export')")
|
// @PreAuthorize("@ss.hasPermi('base:base:export')")
|
||||||
@Log(title = "羊只类型", businessType = BusinessType.EXPORT)
|
@Log(title = "羊只类型", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, BasSheepType basSheepType)
|
public void export(HttpServletResponse response, BasSheepType basSheepType)
|
||||||
@@ -66,7 +66,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 获取羊只类型详细信息
|
* 获取羊只类型详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:query')")
|
// @PreAuthorize("@ss.hasPermi('base:base:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Integer id)
|
public AjaxResult getInfo(@PathVariable("id") Integer id)
|
||||||
{
|
{
|
||||||
@@ -76,7 +76,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 新增羊只类型
|
* 新增羊只类型
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:add')")
|
// @PreAuthorize("@ss.hasPermi('base:base:add')")
|
||||||
@Log(title = "羊只类型", businessType = BusinessType.INSERT)
|
@Log(title = "羊只类型", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody BasSheepType basSheepType)
|
public AjaxResult add(@RequestBody BasSheepType basSheepType)
|
||||||
@@ -87,7 +87,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 修改羊只类型
|
* 修改羊只类型
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:edit')")
|
// @PreAuthorize("@ss.hasPermi('base:base:edit')")
|
||||||
@Log(title = "羊只类型", businessType = BusinessType.UPDATE)
|
@Log(title = "羊只类型", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody BasSheepType basSheepType)
|
public AjaxResult edit(@RequestBody BasSheepType basSheepType)
|
||||||
@@ -98,7 +98,7 @@ public class BasSheepTypeController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 删除羊只类型
|
* 删除羊只类型
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('base:base:remove')")
|
// @PreAuthorize("@ss.hasPermi('base:base:remove')")
|
||||||
@Log(title = "羊只类型", businessType = BusinessType.DELETE)
|
@Log(title = "羊只类型", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Integer[] ids)
|
public AjaxResult remove(@PathVariable Integer[] ids)
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询牧场管理列表
|
* 查询牧场管理列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:list')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(DaRanch daRanch)
|
public TableDataInfo list(DaRanch daRanch)
|
||||||
{
|
{
|
||||||
@@ -54,7 +54,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 导出牧场管理列表
|
* 导出牧场管理列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:export')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:export')")
|
||||||
@Log(title = "牧场管理", businessType = BusinessType.EXPORT)
|
@Log(title = "牧场管理", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, DaRanch daRanch)
|
public void export(HttpServletResponse response, DaRanch daRanch)
|
||||||
@@ -67,7 +67,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 获取牧场管理详细信息
|
* 获取牧场管理详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:query')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
{
|
{
|
||||||
@@ -77,7 +77,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 获取指定牧场下的所有羊只耳号
|
* 获取指定牧场下的所有羊只耳号
|
||||||
*/
|
*/
|
||||||
@GetMapping("/getSheepByRanchId/{ranchId}")
|
// @GetMapping("/getSheepByRanchId/{ranchId}")
|
||||||
public AjaxResult getSheepByRanchId(@PathVariable Long ranchId) {
|
public AjaxResult getSheepByRanchId(@PathVariable Long ranchId) {
|
||||||
List<BasSheep> sheepList = basSheepService.getSheepByRanchId(ranchId);
|
List<BasSheep> sheepList = basSheepService.getSheepByRanchId(ranchId);
|
||||||
return AjaxResult.success(sheepList);
|
return AjaxResult.success(sheepList);
|
||||||
@@ -87,7 +87,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 新增牧场管理
|
* 新增牧场管理
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:add')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:add')")
|
||||||
@Log(title = "牧场管理", businessType = BusinessType.INSERT)
|
@Log(title = "牧场管理", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody DaRanch daRanch)
|
public AjaxResult add(@RequestBody DaRanch daRanch)
|
||||||
@@ -98,7 +98,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 修改牧场管理
|
* 修改牧场管理
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:edit')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:edit')")
|
||||||
@Log(title = "牧场管理", businessType = BusinessType.UPDATE)
|
@Log(title = "牧场管理", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody DaRanch daRanch)
|
public AjaxResult edit(@RequestBody DaRanch daRanch)
|
||||||
@@ -109,7 +109,7 @@ public class DaRanchController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 删除牧场管理
|
* 删除牧场管理
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('ranch:ranch:remove')")
|
// @PreAuthorize("@ss.hasPermi('ranch:ranch:remove')")
|
||||||
@Log(title = "牧场管理", businessType = BusinessType.DELETE)
|
@Log(title = "牧场管理", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 查询疾病列表
|
* 查询疾病列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:list')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public AjaxResult list(SwDisease swDisease)
|
public AjaxResult list(SwDisease swDisease)
|
||||||
{
|
{
|
||||||
@@ -48,7 +48,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 导出疾病列表
|
* 导出疾病列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:export')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:export')")
|
||||||
@Log(title = "疾病", businessType = BusinessType.EXPORT)
|
@Log(title = "疾病", businessType = BusinessType.EXPORT)
|
||||||
@PostMapping("/export")
|
@PostMapping("/export")
|
||||||
public void export(HttpServletResponse response, SwDisease swDisease)
|
public void export(HttpServletResponse response, SwDisease swDisease)
|
||||||
@@ -61,7 +61,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 获取疾病详细信息
|
* 获取疾病详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:query')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
{
|
{
|
||||||
@@ -71,7 +71,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 新增疾病
|
* 新增疾病
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:add')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:add')")
|
||||||
@Log(title = "疾病", businessType = BusinessType.INSERT)
|
@Log(title = "疾病", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody SwDisease swDisease)
|
public AjaxResult add(@RequestBody SwDisease swDisease)
|
||||||
@@ -82,7 +82,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 修改疾病
|
* 修改疾病
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:edit')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:edit')")
|
||||||
@Log(title = "疾病", businessType = BusinessType.UPDATE)
|
@Log(title = "疾病", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody SwDisease swDisease)
|
public AjaxResult edit(@RequestBody SwDisease swDisease)
|
||||||
@@ -93,7 +93,7 @@ public class SwDiseaseController extends BaseController
|
|||||||
/**
|
/**
|
||||||
* 删除疾病
|
* 删除疾病
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('disease:disease:remove')")
|
@PreAuthorize("@ss.hasPermi('biosafety:disease:remove')")
|
||||||
@Log(title = "疾病", businessType = BusinessType.DELETE)
|
@Log(title = "疾病", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|||||||
Reference in New Issue
Block a user