Bläddra i källkod

Merge branch 'dev' of ssh://10.10.100.21/source/smartschool-platform into dev

FANGLH 7 år sedan
förälder
incheckning
55eb9e67f6

+ 2 - 2
applications/school/school-server/src/main/resources/mapper/NotifyMapper.xml

@@ -238,7 +238,7 @@
       (
       (
       #{notice_id,jdbcType=VARCHAR},
       #{notice_id,jdbcType=VARCHAR},
       <choose>
       <choose>
-        <when test='item.type == "1"'>
+        <when test='item.type == "0"'>
           #{item.personId,jdbcType=VARCHAR},
           #{item.personId,jdbcType=VARCHAR},
         </when>
         </when>
         <otherwise>
         <otherwise>
@@ -246,7 +246,7 @@
         </otherwise>
         </otherwise>
       </choose>
       </choose>
       <choose>
       <choose>
-        <when test='item.type == "0"'>
+        <when test='item.type == "1"'>
           #{item.personId,jdbcType=VARCHAR},
           #{item.personId,jdbcType=VARCHAR},
         </when>
         </when>
         <otherwise>
         <otherwise>