Bläddra i källkod

新增科室图标

半月无霜 4 år sedan
förälder
incheckning
19dde7825e

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

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

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

@@ -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>