自动化立体仓库 - WMS系统
zhangc
2025-02-19 6e64596aec723071c690edf9c878b0945fd0e37a
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
            // 出库通知档转历史档
            // 盘点通知档转历史档