#
tzsk
2024-03-04 190580c7c314d8eca28f0b4649d1b3b8a2d5fc5a
src/main/java/com/zy/asrs/mapper/BasLiftOptMapper.java
@@ -18,6 +18,8 @@
    List<Map<String, Object>> selectRunStatistic();//获取提升机每天运行数据
    List<Map<String, Object>> selectRunErrorStatistic(int time);//获取提升机每天运行异常数据
    @Insert("insert into asr_bas_lift_opt_storage select * from asr_bas_lift_opt where id in (select id from asr_bas_lift_opt where DATEDIFF(day, send_time, GETDATE()) > #{day})")
    int saveToStorage(Integer day);