Commit f06d24f2 by 杨林龙

1.22.0 优化设备分离报警的逻辑

1 parent a7289a06
......@@ -30,7 +30,7 @@
SELECT
<include refid="Base_Column_List"/>
FROM t_dev_split WHERE vid = #{vid}
AND DATE_FORMAT(begin_time, '%Y-%m-%d')= #{beginTime}
AND DATE_FORMAT(begin_time, '%Y-%m-%d')= #{beginTime} AND del_flag = 0
ORDER BY id DESC LIMIT 1;
</select>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!