自动化立体仓库 - WMS系统
zyx
2024-01-15 35309c86535d392d593471236585b4b36fb417d6
src/main/java/com/zy/asrs/controller/MobileController.java
@@ -17,6 +17,7 @@
import com.zy.asrs.service.*;
import com.zy.common.model.WrkDto;
import com.zy.common.web.BaseController;
import com.zy.system.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
@@ -427,7 +428,14 @@
        if(Cools.isEmpty(locNo) || Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){
            return R.error("有参数为空,无法入库");
        }
        mobileService.plaPakin(locNo,batch,packageNo);
        //测试
        if(true){
            User user = new User();
            user.setUsername("test");
            mobileService.plaPakin(locNo,batch,packageNo,user);
            return R.ok();
        }
        mobileService.plaPakin(locNo,batch,packageNo,getUser());
        return R.ok();
    }
@@ -468,4 +476,11 @@
        mobileService.plaPakout(locNo,batch,packageNo,orderNo,orderDetlId,wrkNo,anfme);
        return R.ok();
    }
    public static void main(String[] args) {
        String aa = "aabb";
        String[] ccs = aa.split("cc");
        System.out.println(ccs[0]);
    }
}