瀏覽代碼

修复安全检查登记列表未处理时间的问题

jiawuxian 1 年之前
父節點
當前提交
f40a896e35

+ 1 - 1
soc-modules/soc-modules-core/src/main/resources/mapper/safetycheck/CoreSafetyTaskMapper.xml

@@ -767,7 +767,7 @@
             and t.org_id=#{params.beCheckedOrgId}
         </if>
         <if test="params.taskTime!=null">
-            and t.plan_start_time &lt;=#{params.taskTime} and t.plan_end_time&gt;=#{params.taskTime}
+            and ((t.plan_start_time &lt;=#{params.taskTime} and t.plan_end_time&gt;=#{params.taskTime}) or t.ymd_date=#{params.taskTime})
         </if>
         <if test="params.status">
             and t.status=#{params.status}