Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
d86f2743
Commit
d86f2743
authored
Aug 17, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改pc端台账报错问题
parent
ce76d614
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
censoft-rongtong/src/main/resources/mapper/system/RiskPlanMapper.xml
...gtong/src/main/resources/mapper/system/RiskPlanMapper.xml
+2
-1
No files found.
censoft-rongtong/src/main/resources/mapper/system/RiskPlanMapper.xml
View file @
d86f2743
...
...
@@ -45,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
lp.`name` AS projectName,
sd2.dept_id AS deptId,
sd2.dept_name AS deptName,
sd2.ancestors AS ancestors,
lp.city,
rp.building_ids AS buildingIds,
( SELECT GROUP_CONCAT( `name` ) FROM ledger_building WHERE FIND_IN_SET( id, rp.building_ids ) ) AS buildingNames,
...
...
@@ -71,7 +72,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"projectId != null "
>
and TT.project_id = #{projectId}
</if>
<if
test=
"buildingIds != null and buildingIds != ''"
>
and TT.building_ids = #{buildingIds}
</if>
<if
test=
"createUserId != null "
>
and TT.create_user_id = #{createUserId}
</if>
<if
test=
"createDeptId != null "
>
AND (
sd2.dept_id = #{createDeptId} OR FIND_IN_SET( #{createDeptId}, sd2
.ancestors ) )
</if>
<if
test=
"createDeptId != null "
>
AND (
TT.deptId = #{createDeptId} OR FIND_IN_SET( #{createDeptId}, TT
.ancestors ) )
</if>
<if
test=
"leaderUserId != null "
>
and TT.leader_user_id = #{leaderUserId}
</if>
<if
test=
"workUserIds != null and workUserIds != ''"
>
and TT.work_user_ids = #{workUserIds}
</if>
<if
test=
"approveUserId != null "
>
and TT.approve_user_id = #{approveUserId}
</if>
...
...
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