Explorar o código

如果处理过不再提醒周和月

guozx %!s(int64=3) %!d(string=hai) anos
pai
achega
aa659a2ae5

+ 6 - 3
application-task/src/main/resources/mappers/OnsiteTaskMapper.xml

@@ -99,9 +99,12 @@
     </select>
 
     <select id="getTaskExistCount" resultType="int">
-       select count(*)  from   onsite_task
-       where onsite_calendar_id=${onsite_calendar_id} and task_time &gt;= #{start} and task_time &lt;= #{end}
-       and status!=0
+        select count(*)
+        from onsite_task
+        where onsite_calendar_id = ${onsite_calendar_id}
+          and task_time &gt;= #{start}
+          and task_time &lt;= #{end}
+          and status!=0
     </select>
 
     <delete id="delTaskOld">