|
@@ -69,7 +69,10 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="get" resultType="map">
|
|
|
- select xcdepartid AS id, departmentname AS "departmentName" from hospitaldepartments
|
|
|
+ select xcdepartid AS id,
|
|
|
+ departmentname AS "departmentName",
|
|
|
+ icon
|
|
|
+ from hospitaldepartments
|
|
|
WHERE parentid is not null AND isdelete = 'f'
|
|
|
<if test="id!=null">AND xcdepartid = #{id}</if>
|
|
|
<if test="name!=null">AND departmentname = #{name}</if>
|