自动化立体仓库 - WMS系统
zhangc
2024-11-26 c45d612c0673c5037a12b4a7514b5c52e7ecdbe9
Merge branch 'phyzwms2' into phyzasrs-erp

# Conflicts:
# src/main/java/com/zy/asrs/controller/AgvMapController.java
2个文件已修改
17 ■■■■ 已修改文件
src/main/java/com/zy/asrs/controller/AgvMapController.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/static/js/agvLocMast/locMast.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/asrs/controller/AgvMapController.java
@@ -143,7 +143,7 @@
    private Integer generateMap1Bay(int bay) {
        int y = bay;
        Integer[] bayAdd = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31};
        Integer[] bayAdd = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19};
        for (int i = 0; i < bayAdd.length; i++) {
            if (bay > bayAdd[i]) {
                y++;
@@ -171,7 +171,7 @@
    private Integer generateMap2Row(int row) {
        int x = row;
        Integer[] rowAdd = {2, 4, 6, 7, 8, 10, 12, 13, 15, 17, 19, 20, 22, 24, 26, 28, 30, 32};
        Integer[] rowAdd = {2, 4, 6, 7, 8, 10, 12, 13, 15, 17, 19, 20, 22, 24};
        for (int i = 0; i < rowAdd.length; i++) {
            if (row > rowAdd[i]) {
                x++;
@@ -196,7 +196,7 @@
    private Integer generateMap3Row(int row) {
        int x = row;
        Integer[] rowAdd = {2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40};
        Integer[] rowAdd = {2, 4, 6, 8, 10, 12, 14, 15, 17, 19, 21, 22, 24, 26, 28, 30, 32};
        for (int i = 0; i < rowAdd.length; i++) {
            if (row >= rowAdd[i]) {
                x++;
@@ -216,7 +216,13 @@
    @RequestMapping("/map/searchData/auth")
    @ManagerAuth
    public R searchLoc(@RequestParam("lev") Integer lev, @RequestParam("locNo") String locNo, @RequestParam("orderNo") String orderNo, @RequestParam("specs") String specs, @RequestParam("matnr") String matnr, @RequestParam("maktx") String maktx) {
    public R searchLoc(@RequestParam("lev") Integer lev,
                       @RequestParam("locNo") String locNo,
                       @RequestParam("orderNo") String orderNo,
                       @RequestParam("specs") String specs,
                       @RequestParam("matnr") String matnr,
                       @RequestParam("maktx") String maktx
    ) {
        List<AgvLocDetl> locDetls = agvLocDetlService.searchByLike(orderNo, matnr, maktx, specs, locNo);
        ArrayList<AgvLocDetl> lists = new ArrayList<>();
src/main/webapp/static/js/agvLocMast/locMast.js
@@ -463,6 +463,9 @@
            bay1: $('#bay1').val(),
            lev1: $('#lev1').val(),
            floor: $('#floor').val(),
            mapRow1: $('#mapRow1').val(),
            mapBay1: $('#mapBay1').val(),
            rightSide: $('#rightSide').val(),
            fullPlt: $('#fullPlt').val(),
            locType1: $('#locType1').val(),
            outEnable: $('#outEnable').val(),