自动化立体仓库 - WMS系统
#
zjj
2024-11-09 b24f3d3ed7b43206e9e7fde3cbc9b0bbe7fa8f44
src/main/java/com/zy/asrs/task/handler/PlcLogHandler.java
@@ -20,6 +20,7 @@
    @Transactional
    public ReturnT<String> start() {
        try {
            // 下位机命令转历史档
            int updateCount = jdbcTemplate.update("insert into asr_stk_hplc select * from asr_stk_plcm where dateadd(day,7,appe_time) <= getdate();");
            if (updateCount > 0) {
                int deleteCount = jdbcTemplate.update("delete from asr_stk_plcm where dateadd(day,7,io_time) <= getdate();");