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
073b5230
Commit
073b5230
authored
Nov 04, 2024
by
wangqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
帮扶组
parent
0888247c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
qianhe-ydsj/src/main/java/com/qianhe/domain/SjBfzbfdx.java
+10
-0
qianhe-ydsj/src/main/resources/mapper/JygxWzglMapper.xml
+1
-1
qianhe-ydsj/src/main/resources/mapper/SjBfzwhMapper.xml
+2
-1
No files found.
qianhe-ydsj/src/main/java/com/qianhe/domain/SjBfzbfdx.java
View file @
073b5230
...
...
@@ -26,6 +26,8 @@ public class SjBfzbfdx extends BaseEntity
private
Long
deptId
;
private
String
deptName
;
private
String
deptLx
;
public
void
setId
(
Long
id
)
{
...
...
@@ -61,4 +63,12 @@ public class SjBfzbfdx extends BaseEntity
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
}
public
String
getDeptLx
()
{
return
deptLx
;
}
public
void
setDeptLx
(
String
deptLx
)
{
this
.
deptLx
=
deptLx
;
}
}
qianhe-ydsj/src/main/resources/mapper/JygxWzglMapper.xml
View file @
073b5230
...
...
@@ -46,7 +46,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"xxly != null and xxly != ''"
>
and xxly = #{xxly}
</if>
<if
test=
"lxmc != null and lxmc != ''"
>
and lxmc = #{lxmc}
</if>
<if
test=
"wznr != null and wznr != ''"
>
and wznr = #{wznr}
</if>
<if
test=
"wzbt != null and wzbt != ''"
>
and wzbt
= #{wzbt}
</if>
<if
test=
"wzbt != null and wzbt != ''"
>
and wzbt
like concat('%', #{wzbt}, '%')
</if>
<if
test=
"shzt != null and shzt != ''"
>
and shzt = #{shzt}
</if>
<if
test=
"fjmc != null and fjmc != ''"
>
and fjmc = #{fjmc}
</if>
<if
test=
"fjdz != null and fjdz != ''"
>
and fjdz = #{fjdz}
</if>
...
...
qianhe-ydsj/src/main/resources/mapper/SjBfzwhMapper.xml
View file @
073b5230
...
...
@@ -13,6 +13,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"lrsj"
column=
"lrsj"
/>
<result
property=
"xgr"
column=
"xgr"
/>
<result
property=
"xgsj"
column=
"xgsj"
/>
<result
property=
"deptLx"
column=
"dept_lx"
/>
<result
property=
"bz"
column=
"bz"
/>
<result
property=
"deptNames"
column=
"deptNames"
/>
</resultMap>
...
...
@@ -140,7 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectBfdxlist"
parameterType=
"SjBfzbfdx"
resultMap=
"SjBfzbfdxResult"
>
select bfdx.id, bfdx.dept_id, CONCAT(p.dept_name,'/',c.dept_name) dept_name from sj_bfzbfdx bfdx
select bfdx.id, bfdx.dept_id, CONCAT(p.dept_name,'/',c.dept_name) dept_name
, c.dept_lx
from sj_bfzbfdx bfdx
LEFT JOIN sys_dept c on bfdx.dept_id = c.dept_id
LEFT JOIN sys_dept p on c.parent_id = p.dept_id
<where>
...
...
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