1 year ago
parent
commit
4561a04864

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

@@ -156,6 +156,9 @@
             <if test="addCalendar">
                 and calendar_date is not null
             </if>
+            <if test="!addCalendar">
+                and calendar_date is null
+            </if>
         </where>
     </select>
     <select id="selectById" parameterType="java.lang.Object"