Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
bsoft
sv-springboot
Commits
66b068d4
Commit
66b068d4
authored
Jun 15, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加科室简称
parent
3a856190
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
1 deletions
+13
-1
bsoft-api/src/main/java/com/bsoft/api/model/SerDepartment.java
+11
-0
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
+2
-1
No files found.
bsoft-api/src/main/java/com/bsoft/api/model/SerDepartment.java
View file @
66b068d4
...
@@ -18,6 +18,8 @@ public class SerDepartment {
...
@@ -18,6 +18,8 @@ public class SerDepartment {
private
String
ksmc
;
private
String
ksmc
;
private
String
ksjc
;
public
BigDecimal
getId
()
{
public
BigDecimal
getId
()
{
return
id
;
return
id
;
}
}
...
@@ -73,4 +75,12 @@ public class SerDepartment {
...
@@ -73,4 +75,12 @@ public class SerDepartment {
public
void
setKsmc
(
String
ksmc
)
{
public
void
setKsmc
(
String
ksmc
)
{
this
.
ksmc
=
ksmc
;
this
.
ksmc
=
ksmc
;
}
}
public
String
getKsjc
()
{
return
ksjc
;
}
public
void
setKsjc
(
String
ksjc
)
{
this
.
ksjc
=
ksjc
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/resources/mapper/DicOrgMapper.xml
View file @
66b068d4
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
<result
column=
"ORG_ID"
jdbcType=
"VARCHAR"
property=
"orgId"
/>
<result
column=
"ORG_ID"
jdbcType=
"VARCHAR"
property=
"orgId"
/>
<result
column=
"KSBM"
jdbcType=
"VARCHAR"
property=
"ksbm"
/>
<result
column=
"KSBM"
jdbcType=
"VARCHAR"
property=
"ksbm"
/>
<result
column=
"KSMC"
jdbcType=
"VARCHAR"
property=
"ksmc"
/>
<result
column=
"KSMC"
jdbcType=
"VARCHAR"
property=
"ksmc"
/>
<result
column=
"KSJC"
jdbcType=
"VARCHAR"
property=
"ksjc"
/>
</resultMap>
</resultMap>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.Long"
>
delete from DIC_ORG
delete from DIC_ORG
...
@@ -74,7 +75,7 @@
...
@@ -74,7 +75,7 @@
and uor.STATE = 1 and o.STATE = 1 and o.PARENT_ID = 0
and uor.STATE = 1 and o.STATE = 1 and o.PARENT_ID = 0
</select>
</select>
<select
id=
"selectDeptByUser"
resultMap=
"SummaryDept"
>
<select
id=
"selectDeptByUser"
resultMap=
"SummaryDept"
>
select o.ID,o.ORG_CODE as KSBM,o.ORG_NAME as KSMC
select o.ID,o.ORG_CODE as KSBM,o.ORG_NAME as KSMC
,o.ORG_SHORT_NAME as KSJC
from SYS_USER_ORG_RS rs
from SYS_USER_ORG_RS rs
join DIC_ORG o on o.id = rs.ORG_ID and rs.STATE = 1
join DIC_ORG o on o.id = rs.ORG_ID and rs.STATE = 1
where o.STATE = 1
where o.STATE = 1
...
...
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