Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
d2aa2175
Commit
d2aa2175
authored
Dec 12, 2025
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025-12-12 wj 修改
parent
beab0a46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
qianhe-ydsj/src/main/resources/mapper/system/SjGfjsXjbzMapper.xml
+6
-7
No files found.
qianhe-ydsj/src/main/resources/mapper/system/SjGfjsXjbzMapper.xml
View file @
d2aa2175
...
...
@@ -3,7 +3,7 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.qianhe.mapper.SjGfjsXjbzMapper"
>
<resultMap
type=
"SjGfjsXjbz"
id=
"SjGfjsXjbzResult"
>
<result
property=
"id"
column=
"id"
/>
<result
property=
"bzId"
column=
"bz_id"
/>
...
...
@@ -41,9 +41,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectSjGfjsXjbzList"
parameterType=
"SjGfjsXjbz"
resultMap=
"SjGfjsXjbzResult"
>
<include
refid=
"selectSjGfjsXjbzVo"
/>
<where>
<where>
<if
test=
"bzId != null "
>
and a.bz_id = #{bzId}
</if>
<if
test=
"deptId != null "
>
and
a.dept_id = #{deptId}
</if>
<if
test=
"deptId != null "
>
and
(a.dept_id = #{deptId} or find_in_set(#{deptId},d.ancestors))
</if>
<if
test=
"parentDeptId != null "
>
and a.parent_dept_id = #{parentDeptId}
</if>
<if
test=
"nd != null and nd != ''"
>
and a.nd = #{nd}
</if>
<if
test=
"bzlx != null and bzlx != ''"
>
and a.bzlx = #{bzlx}
</if>
...
...
@@ -59,7 +59,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include
refid=
"selectSjGfjsXjbzVo"
/>
where a.id = #{id}
</select>
<insert
id=
"insertSjGfjsXjbz"
parameterType=
"SjGfjsXjbz"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
insert into sj_gfjs_xjbz
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
...
...
@@ -126,7 +126,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from sj_gfjs_xjbz where id = #{id}
</delete>
<delete
id=
"deleteSjGfjsXjbzByIds"
parameterType=
"String"
>
delete from sj_gfjs_xjbz where id in
delete from sj_gfjs_xjbz where id in
<foreach
item=
"id"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{id}
</foreach>
...
...
@@ -174,4 +174,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</trim>
where FIND_IN_SET(id, #{ids})
</update>
</mapper>
\ No newline at end of file
</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