Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intel_promotion_api
Project
Project
Details
Activity
Releases
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
liyilin
intel_promotion_api
Commits
212a19ff
Commit
212a19ff
authored
Aug 16, 2024
by
刘帅阳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
8d10a035
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
application-conf-test.yml
src/main/resources/application-conf-test.yml
+4
-3
SysUnitMapper.xml
...esources/mapper/business/sysunit/mapper/SysUnitMapper.xml
+2
-8
No files found.
src/main/resources/application-conf-test.yml
View file @
212a19ff
...
@@ -65,11 +65,11 @@ cy:
...
@@ -65,11 +65,11 @@ cy:
-
"
/auth/**"
-
"
/auth/**"
-
"
/code/**/**"
-
"
/code/**/**"
-
"
/excelUtil/**"
-
"
/excelUtil/**"
-
"
/captcha/**"
-
"
/pc/sysuser/add"
-
"
/cros/**"
-
"
/nlttest/add/**"
-
"
/nlttest/add/**"
-
"
/pc/sysuser/checkPhoneCode"
-
"
/pc/sysuser/checkPhoneCode"
-
"
/pc/sysuser/resetPassword"
-
"
/pc/sysuser/resetPassword"
-
"
/captcha/**"
-
"
/cmsnews/miniProgram/listByTop"
-
"
/cmsnews/miniProgram/listByTop"
-
"
/cmsnews/miniProgram/listByTopVideo"
-
"
/cmsnews/miniProgram/listByTopVideo"
-
"
/cmsbanner/queryCmsBannerByPaginationForWx"
-
"
/cmsbanner/queryCmsBannerByPaginationForWx"
...
@@ -78,7 +78,8 @@ cy:
...
@@ -78,7 +78,8 @@ cy:
-
"
/cmsnews/detail/**"
-
"
/cmsnews/detail/**"
-
"
/cmsvideo/detail/**"
-
"
/cmsvideo/detail/**"
-
"
/cmsvideo/getVideoUrl/**"
-
"
/cmsvideo/getVideoUrl/**"
#- "/cros/**"
# - "/**/**"
-
"
/captcha/**"
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
]
permitStatic
:
[
"
/"
,
"
/*.html"
,
"
/favicon.ico"
,
"
/**/*.html"
,
"
/**/*.js"
,
"
/**/*.css"
]
logoutSuccessUrl
:
"
/login"
logoutSuccessUrl
:
"
/login"
loginPage
:
"
/login"
loginPage
:
"
/login"
...
...
src/main/resources/mapper/business/sysunit/mapper/SysUnitMapper.xml
View file @
212a19ff
...
@@ -325,15 +325,11 @@
...
@@ -325,15 +325,11 @@
<select
id=
"findUnit"
resultType=
"org.rcisoft.business.sysunit.entity.SysUnit"
>
<select
id=
"findUnit"
resultType=
"org.rcisoft.business.sysunit.entity.SysUnit"
>
SELECT
SELECT
sun.*
sun.*
FROM sys_user su
FROM sys_unit sun
LEFT JOIN sys_unit sun ON sun.business_id = su.dept_id
WHERE 1=1
WHERE 1=1
<if
test=
"userId !=null and userId != '' "
>
<if
test=
"userId !=null and userId != '' "
>
AND su
.business
_id = #{userId}
AND su
n.user
_id = #{userId}
</if>
</if>
AND su.del_flag = 0
AND su.flag =1
AND sun.del_flag = 0
AND sun.del_flag = 0
AND sun.flag = 1
AND sun.flag = 1
</select>
</select>
...
@@ -343,7 +339,5 @@
...
@@ -343,7 +339,5 @@
WHERE 1 = 1
WHERE 1 = 1
AND sun.del_flag = 0
AND sun.del_flag = 0
AND sun.flag = 1
AND sun.flag = 1
</select>
</select>
</mapper>
</mapper>
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