Browse Source

新增科室图标

半月无霜 4 years ago
parent
commit
19dde7825e

+ 1 - 1
ymall/src/main/resources/application.yml

@@ -11,7 +11,7 @@ logging:
 
 
 spring:
 spring:
     profiles:
     profiles:
-        active: pgprod
+        active: pgdev
     cache:
     cache:
         type: ehcache
         type: ehcache
         ehcache:
         ehcache:

+ 4 - 1
ymall/src/main/resources/mapper/HospitalDeptMapper.xml

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