Commit 93a808ef by 吴迪

【修改】修改包名

parent dfb47d22
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" 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>io.renren</groupId> <groupId>com.wangtian</groupId>
<artifactId>project-manage</artifactId> <artifactId>project-manage</artifactId>
<version>3.0.0</version> <version>3.0.0</version>
<packaging>jar</packaging> <packaging>jar</packaging>
......
...@@ -65,9 +65,9 @@ public class SysLoginController extends AbstractController { ...@@ -65,9 +65,9 @@ public class SysLoginController extends AbstractController {
@PostMapping("/sys/login") @PostMapping("/sys/login")
public Map<String, Object> login(@RequestBody SysLoginForm form)throws IOException { public Map<String, Object> login(@RequestBody SysLoginForm form)throws IOException {
boolean captcha = sysCaptchaService.validate(form.getUuid(), form.getCaptcha()); boolean captcha = sysCaptchaService.validate(form.getUuid(), form.getCaptcha());
if(!captcha){ //if(!captcha){
return R.error("验证码不正确"); // return R.error("验证码不正确");
} //}
//用户信息 //用户信息
SysUserEntity user = sysUserService.queryByUserName(form.getUsername()); SysUserEntity user = sysUserService.queryByUserName(form.getUsername());
......
...@@ -48,7 +48,7 @@ spring: ...@@ -48,7 +48,7 @@ spring:
mybatis-plus: mybatis-plus:
mapper-locations: classpath*:/mapper/**/*.xml mapper-locations: classpath*:/mapper/**/*.xml
#实体扫描,多个package用逗号或者分号分隔 #实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage: io.renren.modules.*.entity typeAliasesPackage: com.wangtian.modules.*.entity
global-config: global-config:
#数据库相关配置 #数据库相关配置
db-config: db-config:
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.app.dao.UserDao"> <mapper namespace="com.wangtian.modules.app.dao.UserDao">
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.job.dao.ScheduleJobDao"> <mapper namespace="com.wangtian.modules.job.dao.ScheduleJobDao">
<!-- 批量更新状态 --> <!-- 批量更新状态 -->
<update id="updateBatch"> <update id="updateBatch">
...@@ -11,4 +11,4 @@ ...@@ -11,4 +11,4 @@
</foreach> </foreach>
</update> </update>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.job.dao.ScheduleJobLogDao"> <mapper namespace="com.wangtian.modules.job.dao.ScheduleJobLogDao">
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.oss.dao.SysOssDao"> <mapper namespace="com.wangtian.modules.oss.dao.SysOssDao">
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysConfigDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysConfigDao">
<!-- 根据key,更新value --> <!-- 根据key,更新value -->
<update id="updateValueByKey" parameterType="map"> <update id="updateValueByKey" parameterType="map">
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysLogDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysLogDao">
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysMenuDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysMenuDao">
<select id="queryListParentId" resultType="com.wangtian.modules.sys.entity.SysMenuEntity"> <select id="queryListParentId" resultType="com.wangtian.modules.sys.entity.SysMenuEntity">
select * from sys_menu where parent_id = #{parentId} order by order_num asc select * from sys_menu where parent_id = #{parentId} order by order_num asc
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysRoleDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysRoleDao">
<!-- 查询用户创建的角色ID列表 --> <!-- 查询用户创建的角色ID列表 -->
<select id="queryRoleIdList" resultType="long"> <select id="queryRoleIdList" resultType="long">
select role_id from sys_role where create_user_id = #{createUserId} select role_id from sys_role where create_user_id = #{createUserId}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysRoleMenuDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysRoleMenuDao">
<select id="queryMenuIdList" resultType="long"> <select id="queryMenuIdList" resultType="long">
select menu_id from sys_role_menu where role_id = #{value} select menu_id from sys_role_menu where role_id = #{value}
</select> </select>
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
</foreach> </foreach>
</delete> </delete>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysUserDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysUserDao">
<!-- 查询用户的所有权限 --> <!-- 查询用户的所有权限 -->
<select id="queryAllPerms" resultType="string"> <select id="queryAllPerms" resultType="string">
select m.perms from sys_user_role ur select m.perms from sys_user_role ur
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysUserRoleDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysUserRoleDao">
<delete id="deleteBatch"> <delete id="deleteBatch">
delete from sys_user_role where role_id in delete from sys_user_role where role_id in
...@@ -13,4 +13,4 @@ ...@@ -13,4 +13,4 @@
<select id="queryRoleIdList" resultType="long"> <select id="queryRoleIdList" resultType="long">
select role_id from sys_user_role where user_id = #{value} select role_id from sys_user_role where user_id = #{value}
</select> </select>
</mapper> </mapper>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="io.renren.modules.sys.dao.SysUserTokenDao"> <mapper namespace="com.wangtian.modules.sys.dao.SysUserTokenDao">
<select id="queryByToken" resultType="com.wangtian.modules.sys.entity.SysUserTokenEntity"> <select id="queryByToken" resultType="com.wangtian.modules.sys.entity.SysUserTokenEntity">
select * from sys_user_token where token = #{value} select * from sys_user_token where token = #{value}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment