Commit 66b068d4 by Suvalue

添加科室简称

parent 3a856190
...@@ -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
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment