1 년 전
부모
커밋
474bb63fc6
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

+ 4 - 4
platform-dao/src/main/resources/mapper/repair/RepairApplicationFormMapper.xml

@@ -153,11 +153,11 @@
                 and (application.dispatch_user_id = #{tempUserId} or application.user_id = #{tempUserId}
                 or application.repair_user_id = #{tempUserId})
             </if>
-            <if test="addCalendar">
-                and calendar_date is not null
+            <if test="addCalendar!=null and addCalendar">
+                and application.calendar_date is not null
             </if>
-            <if test="!addCalendar">
-                and calendar_date is null
+            <if test="addCalendar!=null and !addCalendar">
+                and application.calendar_date is null
             </if>
         </where>
     </select>