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
39f3f29d
Commit
39f3f29d
authored
Jul 04, 2020
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
病组调整
parent
2b4323f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
+3
-3
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
+5
-9
No files found.
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
View file @
39f3f29d
...
@@ -24,7 +24,7 @@ public class SerDisease {
...
@@ -24,7 +24,7 @@ public class SerDisease {
private
BigDecimal
level
;
private
BigDecimal
level
;
private
BigDecimal
orgId
;
private
String
orgId
;
private
String
orgName
;
private
String
orgName
;
...
@@ -110,11 +110,11 @@ public class SerDisease {
...
@@ -110,11 +110,11 @@ public class SerDisease {
this
.
level
=
level
;
this
.
level
=
level
;
}
}
public
BigDecimal
getOrgId
()
{
public
String
getOrgId
()
{
return
orgId
;
return
orgId
;
}
}
public
void
setOrgId
(
BigDecimal
orgId
)
{
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
this
.
orgId
=
orgId
;
}
}
...
...
bsoft-api/src/main/resources/mapper/SerDiseaseMapper.xml
View file @
39f3f29d
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<result
column=
"MDC_NUM"
jdbcType=
"VARCHAR"
property=
"mdcNum"
/>
<result
column=
"MDC_NUM"
jdbcType=
"VARCHAR"
property=
"mdcNum"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
<result
column=
"PARENT_ID"
jdbcType=
"DECIMAL"
property=
"parentId"
/>
<result
column=
"LEVEL"
jdbcType=
"DECIMAL"
property=
"level"
/>
<result
column=
"LEVEL"
jdbcType=
"DECIMAL"
property=
"level"
/>
<result
column=
"ORG_ID"
jdbcType=
"
DECIMAL
"
property=
"orgId"
/>
<result
column=
"ORG_ID"
jdbcType=
"
VARCHAR
"
property=
"orgId"
/>
<result
column=
"ORG_NAME"
jdbcType=
"VARCHAR"
property=
"orgName"
/>
<result
column=
"ORG_NAME"
jdbcType=
"VARCHAR"
property=
"orgName"
/>
<result
column=
"PARENT_CODE"
jdbcType=
"VARCHAR"
property=
"parentCode"
/>
<result
column=
"PARENT_CODE"
jdbcType=
"VARCHAR"
property=
"parentCode"
/>
</resultMap>
</resultMap>
...
@@ -59,14 +59,10 @@
...
@@ -59,14 +59,10 @@
from dic_disease
from dic_disease
</select>
</select>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByCode"
resultMap=
"BaseResultMap"
>
select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.`STATE`, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM,
select *
d.PARENT_ID, d.`LEVEL`, d.ORG_ID, d.ORG_NAME
from dic_disease d
from dic_disease d,dic_disease_doc_rs rs
where d.STATE = 1
where d.STATE=1
and MDC_CODE = #{code,jdbcType=VARCHAR}
and rs.MDC_CODE=d.MDC_CODE and rs.MDC_CODE = #{code,jdbcType=VARCHAR}
<if
test=
"deptCode!=null"
>
and rs.DEPT_CODE=#{deptCode,jdbcType=VARCHAR}
</if>
</select>
</select>
<select
id=
"selectByMdcName"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByMdcName"
resultMap=
"BaseResultMap"
>
select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.`STATE`, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM,
select DISTINCT d.ID, d.CREATE_DATE, d.CREATE_USERID, d.`STATE`, d.MDC_CODE, d.MDC_NAME, d.`DATE`,d.MDC_NUM,
...
...
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