JOY---2020年6月3日 20:30:06
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.ruoyi</groupId>
|
<groupId>com.ruoyi</groupId>
|
||||||
<artifactId>ruoyi</artifactId>
|
<artifactId>ruoyi</artifactId>
|
||||||
<version>2.2.0</version>
|
<version>2.3.0</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>ruoyi</name>
|
<name>ruoyi</name>
|
||||||
@ -25,7 +25,7 @@
|
|||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
|
<mybatis.spring.boot.starter.version>1.3.2</mybatis.spring.boot.starter.version>
|
||||||
<pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
|
<pagehelper.spring.boot.starter.version>1.2.5</pagehelper.spring.boot.starter.version>
|
||||||
<fastjson.version>1.2.68</fastjson.version>
|
<fastjson.version>1.2.70</fastjson.version>
|
||||||
<druid.version>1.1.14</druid.version>
|
<druid.version>1.1.14</druid.version>
|
||||||
<commons.io.version>2.5</commons.io.version>
|
<commons.io.version>2.5</commons.io.version>
|
||||||
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
||||||
@ -112,10 +112,10 @@
|
|||||||
|
|
||||||
<!--阿里数据库连接池 -->
|
<!--阿里数据库连接池 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>druid-spring-boot-starter</artifactId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
<version>${druid.version}</version>
|
<version>${druid.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--常用工具类 -->
|
<!--常用工具类 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -157,7 +157,7 @@
|
|||||||
<artifactId>spring-context-support</artifactId>
|
<artifactId>spring-context-support</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--Token生成与解析-->
|
<!--Token生成与解析-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.jsonwebtoken</groupId>
|
<groupId>io.jsonwebtoken</groupId>
|
||||||
<artifactId>jjwt</artifactId>
|
<artifactId>jjwt</artifactId>
|
||||||
@ -170,29 +170,29 @@
|
|||||||
<artifactId>springfox-swagger2</artifactId>
|
<artifactId>springfox-swagger2</artifactId>
|
||||||
<version>${swagger.version}</version>
|
<version>${swagger.version}</version>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-annotations</artifactId>
|
<artifactId>swagger-annotations</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-models</artifactId>
|
<artifactId>swagger-models</artifactId>
|
||||||
</exclusion>
|
</exclusion>
|
||||||
</exclusions>
|
</exclusions>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
|
<!--防止进入swagger页面报类型转换错误,排除2.9.2中的引用,手动增加1.5.21版本-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-annotations</artifactId>
|
<artifactId>swagger-annotations</artifactId>
|
||||||
<version>1.5.21</version>
|
<version>1.5.21</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.swagger</groupId>
|
<groupId>io.swagger</groupId>
|
||||||
<artifactId>swagger-models</artifactId>
|
<artifactId>swagger-models</artifactId>
|
||||||
<version>1.5.21</version>
|
<version>1.5.21</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- swagger2-UI-->
|
<!-- swagger2-UI-->
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -201,7 +201,7 @@
|
|||||||
<version>${swagger.version}</version>
|
<version>${swagger.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 获取系统信息 -->
|
<!-- 获取系统信息 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.oshi</groupId>
|
<groupId>com.github.oshi</groupId>
|
||||||
<artifactId>oshi-core</artifactId>
|
<artifactId>oshi-core</artifactId>
|
||||||
@ -232,7 +232,7 @@
|
|||||||
<version>${velocity.version}</version>
|
<version>${velocity.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 定时任务 -->
|
<!-- 定时任务 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.quartz-scheduler</groupId>
|
<groupId>org.quartz-scheduler</groupId>
|
||||||
<artifactId>quartz</artifactId>
|
<artifactId>quartz</artifactId>
|
||||||
|
@ -98,14 +98,10 @@ public class UserBaseController extends BaseController
|
|||||||
@PreAuthorize("@ss.hasPermi('axsystem:base:remove')")
|
@PreAuthorize("@ss.hasPermi('axsystem:base:remove')")
|
||||||
@Log(title = "用户基础信息", businessType = BusinessType.DELETE)
|
@Log(title = "用户基础信息", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{uids}")
|
@DeleteMapping("/{uids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] uids)
|
public AjaxResult remove(@PathVariable String[] uids)
|
||||||
{
|
{
|
||||||
return toAjax(userBaseService.deleteUserBaseByIds(uids));
|
return toAjax(userBaseService.deleteUserBaseByIds(uids));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
String s = UUID.randomUUID().toString();
|
|
||||||
System.out.println(s);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ public interface UserBaseMapper
|
|||||||
* @param uid 用户基础信息ID
|
* @param uid 用户基础信息ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteUserBaseById(Long uid);
|
public int deleteUserBaseById(String uid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批量删除用户基础信息
|
* 批量删除用户基础信息
|
||||||
@ -57,5 +57,5 @@ public interface UserBaseMapper
|
|||||||
* @param uids 需要删除的数据ID
|
* @param uids 需要删除的数据ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteUserBaseByIds(Long[] uids);
|
public int deleteUserBaseByIds(String[] uids);
|
||||||
}
|
}
|
||||||
|
@ -49,7 +49,7 @@ public interface IUserBaseService
|
|||||||
* @param uids 需要删除的用户基础信息ID
|
* @param uids 需要删除的用户基础信息ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteUserBaseByIds(Long[] uids);
|
public int deleteUserBaseByIds(String[] uids);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除用户基础信息信息
|
* 删除用户基础信息信息
|
||||||
@ -57,5 +57,5 @@ public interface IUserBaseService
|
|||||||
* @param uid 用户基础信息ID
|
* @param uid 用户基础信息ID
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
public int deleteUserBaseById(Long uid);
|
public int deleteUserBaseById(String uid);
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ public class UserBaseServiceImpl implements IUserBaseService
|
|||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteUserBaseByIds(Long[] uids)
|
public int deleteUserBaseByIds(String[] uids)
|
||||||
{
|
{
|
||||||
return userBaseMapper.deleteUserBaseByIds(uids);
|
return userBaseMapper.deleteUserBaseByIds(uids);
|
||||||
}
|
}
|
||||||
@ -93,7 +93,7 @@ public class UserBaseServiceImpl implements IUserBaseService
|
|||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public int deleteUserBaseById(Long uid)
|
public int deleteUserBaseById(String uid)
|
||||||
{
|
{
|
||||||
return userBaseMapper.deleteUserBaseById(uid);
|
return userBaseMapper.deleteUserBaseById(uid);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user