自动化立体仓库 - WMS系统
LSH
2024-03-27 1a7a451e82e99cc0c0d56d44fc4b981c5d8a06ee
src/main/java/com/zy/asrs/task/handler/NotifyLogHandler.java
@@ -21,13 +21,14 @@
    public ReturnT<String> start() {
        try {
            // 入库通知档转历史档
            int pakInLog = jdbcTemplate.update("insert into cust_wait_pakin_log select * from cust_wait_pakin where status = 'Y';");
            int pakInLog = jdbcTemplate.update("insert into cust_wait_pakin_log select * from cust_wait_pakin where io_status = 'F';");
            if (pakInLog > 0) {
                int pakInDelete = jdbcTemplate.update("delete from cust_wait_pakin where status = 'Y';");
                int pakInDelete = jdbcTemplate.update("delete from cust_wait_pakin where io_status = 'F';");
                if (pakInDelete <= 0) {
                    exceptionHandle("入库通知档转历史档失败");
                }
            }
            // todo:luxiaotao
            // 出库通知档转历史档
            // 盘点通知档转历史档