Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
project-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
project-manage
Commits
93a808ef
Commit
93a808ef
authored
Jul 16, 2023
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【修改】修改包名
parent
dfb47d22
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
29 additions
and
37 deletions
+29
-37
pom.xml
pom.xml
+1
-1
SysLoginController.java
...m/wangtian/modules/sys/controller/SysLoginController.java
+3
-3
application.yml
src/main/resources/application.yml
+1
-1
UserDao.xml
src/main/resources/mapper/app/UserDao.xml
+2
-3
ScheduleJobDao.xml
src/main/resources/mapper/job/ScheduleJobDao.xml
+2
-3
ScheduleJobLogDao.xml
src/main/resources/mapper/job/ScheduleJobLogDao.xml
+2
-3
SysOssDao.xml
src/main/resources/mapper/oss/SysOssDao.xml
+2
-3
SysConfigDao.xml
src/main/resources/mapper/sys/SysConfigDao.xml
+1
-1
SysLogDao.xml
src/main/resources/mapper/sys/SysLogDao.xml
+2
-3
SysMenuDao.xml
src/main/resources/mapper/sys/SysMenuDao.xml
+1
-1
SysRoleDao.xml
src/main/resources/mapper/sys/SysRoleDao.xml
+5
-6
SysRoleMenuDao.xml
src/main/resources/mapper/sys/SysRoleMenuDao.xml
+3
-4
SysUserDao.xml
src/main/resources/mapper/sys/SysUserDao.xml
+1
-1
SysUserRoleDao.xml
src/main/resources/mapper/sys/SysUserRoleDao.xml
+2
-3
SysUserTokenDao.xml
src/main/resources/mapper/sys/SysUserTokenDao.xml
+1
-1
No files found.
pom.xml
View file @
93a808ef
...
...
@@ -2,7 +2,7 @@
<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"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
io.renre
n
</groupId>
<groupId>
com.wangtia
n
</groupId>
<artifactId>
project-manage
</artifactId>
<version>
3.0.0
</version>
<packaging>
jar
</packaging>
...
...
src/main/java/com/wangtian/modules/sys/controller/SysLoginController.java
View file @
93a808ef
...
...
@@ -65,9 +65,9 @@ public class SysLoginController extends AbstractController {
@PostMapping
(
"/sys/login"
)
public
Map
<
String
,
Object
>
login
(
@RequestBody
SysLoginForm
form
)
throws
IOException
{
boolean
captcha
=
sysCaptchaService
.
validate
(
form
.
getUuid
(),
form
.
getCaptcha
());
if
(!
captcha
){
return
R
.
error
(
"验证码不正确"
);
}
//
if(!captcha){
//
return R.error("验证码不正确");
//
}
//用户信息
SysUserEntity
user
=
sysUserService
.
queryByUserName
(
form
.
getUsername
());
...
...
src/main/resources/application.yml
View file @
93a808ef
...
...
@@ -48,7 +48,7 @@ spring:
mybatis-plus
:
mapper-locations
:
classpath*:/mapper/**/*.xml
#实体扫描,多个package用逗号或者分号分隔
typeAliasesPackage
:
io.renre
n.modules.*.entity
typeAliasesPackage
:
com.wangtia
n.modules.*.entity
global-config
:
#数据库相关配置
db-config
:
...
...
src/main/resources/mapper/app/UserDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.app.dao.UserDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.app.dao.UserDao"
>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/job/ScheduleJobDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.job.dao.ScheduleJobDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.job.dao.ScheduleJobDao"
>
<!-- 批量更新状态 -->
<update
id=
"updateBatch"
>
...
...
@@ -11,4 +11,4 @@
</foreach>
</update>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/job/ScheduleJobLogDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.job.dao.ScheduleJobLogDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.job.dao.ScheduleJobLogDao"
>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/oss/SysOssDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.oss.dao.SysOssDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.oss.dao.SysOssDao"
>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/sys/SysConfigDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysConfigDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysConfigDao"
>
<!-- 根据key,更新value -->
<update
id=
"updateValueByKey"
parameterType=
"map"
>
...
...
src/main/resources/mapper/sys/SysLogDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysLogDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysLogDao"
>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/sys/SysMenuDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysMenuDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysMenuDao"
>
<select
id=
"queryListParentId"
resultType=
"com.wangtian.modules.sys.entity.SysMenuEntity"
>
select * from sys_menu where parent_id = #{parentId} order by order_num asc
...
...
src/main/resources/mapper/sys/SysRoleDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysRoleDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysRoleDao"
>
<!-- 查询用户创建的角色ID列表 -->
<select
id=
"queryRoleIdList"
resultType=
"long"
>
select role_id from sys_role where create_user_id = #{createUserId}
</select>
</mapper>
\ No newline at end of file
select role_id from sys_role where create_user_id = #{createUserId}
</select>
</mapper>
src/main/resources/mapper/sys/SysRoleMenuDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysRoleMenuDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysRoleMenuDao"
>
<select
id=
"queryMenuIdList"
resultType=
"long"
>
select menu_id from sys_role_menu where role_id = #{value}
</select>
...
...
@@ -14,4 +14,4 @@
</foreach>
</delete>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/sys/SysUserDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysUserDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysUserDao"
>
<!-- 查询用户的所有权限 -->
<select
id=
"queryAllPerms"
resultType=
"string"
>
select m.perms from sys_user_role ur
...
...
src/main/resources/mapper/sys/SysUserRoleDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysUserRoleDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysUserRoleDao"
>
<delete
id=
"deleteBatch"
>
delete from sys_user_role where role_id in
...
...
@@ -13,4 +13,4 @@
<select
id=
"queryRoleIdList"
resultType=
"long"
>
select role_id from sys_user_role where user_id = #{value}
</select>
</mapper>
\ No newline at end of file
</mapper>
src/main/resources/mapper/sys/SysUserTokenDao.xml
View file @
93a808ef
<?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">
<mapper
namespace=
"
io.renre
n.modules.sys.dao.SysUserTokenDao"
>
<mapper
namespace=
"
com.wangtia
n.modules.sys.dao.SysUserTokenDao"
>
<select
id=
"queryByToken"
resultType=
"com.wangtian.modules.sys.entity.SysUserTokenEntity"
>
select * from sys_user_token where token = #{value}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment