From 075cd1a82dc00988ed67b08c3a03fab51bf450e2 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期六, 29 十一月 2025 18:10:48 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java        |  264 +++++++++--
 src/main/webapp/static/js/mat/mat.js                               |  297 ++++++++++++
 src/main/webapp/views/mat/mat.html                                 |  338 ++++++++++++++
 src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java |   32 -
 src/main/java/com/zy/asrs/service/impl/MatServiceImpl.java         |   12 
 src/main/java/com/zy/common/CodeBuilder.java                       |    2 
 src/main/java/com/zy/asrs/mapper/MatMapper.java                    |   12 
 src/main/resources/mapper/MatMapper.xml                            |   53 ++
 src/main/java/com/zy/asrs/entity/Mat.java                          |  282 ++++++++++++
 src/main/java/com/zy/core/MainProcess.java                         |    3 
 src/main/java/mat.sql                                              |   18 
 src/main/resources/application.yml                                 |    5 
 src/main/java/com/zy/asrs/service/MatService.java                  |    8 
 13 files changed, 1,247 insertions(+), 79 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Mat.java b/src/main/java/com/zy/asrs/entity/Mat.java
new file mode 100644
index 0000000..94c9cac
--- /dev/null
+++ b/src/main/java/com/zy/asrs/entity/Mat.java
@@ -0,0 +1,282 @@
+package com.zy.asrs.entity;
+
+import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.enums.IdType;
+import com.baomidou.mybatisplus.annotations.TableField;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import org.springframework.format.annotation.DateTimeFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+@Data
+@TableName("man_mat")
+public class Mat implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * ID
+     */
+    @ApiModelProperty(value= "ID")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    @ApiModelProperty(value= "")
+    private String uuid;
+
+    @ApiModelProperty(value= "")
+    @TableField("tag_id")
+    private Long tagId;
+
+    @ApiModelProperty(value= "")
+    private String matnr;
+
+    @ApiModelProperty(value= "")
+    private String maktx;
+
+    @ApiModelProperty(value= "")
+    private String name;
+
+    @ApiModelProperty(value= "")
+    private String specs;
+
+    @ApiModelProperty(value= "")
+    private String model;
+
+    @ApiModelProperty(value= "")
+    private String color;
+
+    @ApiModelProperty(value= "")
+    private String brand;
+
+    @ApiModelProperty(value= "")
+    private String unit;
+
+    @ApiModelProperty(value= "")
+    private Double price;
+
+    @ApiModelProperty(value= "")
+    private String sku;
+
+    @ApiModelProperty(value= "")
+    private Double units;
+
+    @ApiModelProperty(value= "")
+    private String barcode;
+
+    @ApiModelProperty(value= "")
+    private String origin;
+
+    @ApiModelProperty(value= "")
+    private String manu;
+
+    @ApiModelProperty(value= "")
+    @TableField("manu_date")
+    private String manuDate;
+
+    @ApiModelProperty(value= "")
+    @TableField("item_num")
+    private String itemNum;
+
+    @ApiModelProperty(value= "")
+    @TableField("safe_qty")
+    private Double safeQty;
+
+    @ApiModelProperty(value= "")
+    private Double weight;
+
+    @ApiModelProperty(value= "")
+    @TableField("man_length")
+    private Double manLength;
+
+    @ApiModelProperty(value= "")
+    private Double volume;
+
+    @ApiModelProperty(value= "")
+    @TableField("three_code")
+    private String threeCode;
+
+    @ApiModelProperty(value= "")
+    private String supp;
+
+    @ApiModelProperty(value= "")
+    @TableField("supp_code")
+    private String suppCode;
+
+    @ApiModelProperty(value= "")
+    @TableField("be_batch")
+    private Integer beBatch;
+
+    @ApiModelProperty(value= "")
+    @TableField("dead_time")
+    private String deadTime;
+
+    @ApiModelProperty(value= "")
+    @TableField("dead_warn")
+    private Integer deadWarn;
+
+    @ApiModelProperty(value= "")
+    private Integer source;
+
+    @ApiModelProperty(value= "")
+    private Integer inspect;
+
+    @ApiModelProperty(value= "")
+    private Integer danger;
+
+    @ApiModelProperty(value= "")
+    private Integer status;
+
+    @ApiModelProperty(value= "")
+    @TableField("create_by")
+    private Long createBy;
+
+    @ApiModelProperty(value= "")
+    @TableField("create_time")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    @ApiModelProperty(value= "")
+    @TableField("update_by")
+    private Long updateBy;
+
+    @ApiModelProperty(value= "")
+    @TableField("update_time")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    @ApiModelProperty(value= "")
+    private String memo;
+
+    @ApiModelProperty(value= "")
+    @TableField("store_max")
+    private Double storeMax;
+
+    @ApiModelProperty(value= "")
+    @TableField("store_min")
+    private Double storeMin;
+
+    @ApiModelProperty(value= "")
+    @TableField("store_max_date")
+    private Double storeMaxDate;
+
+    @ApiModelProperty(value= "")
+    private Double width;
+
+    @ApiModelProperty(value= "")
+    private Double height;
+
+    public Mat() {}
+
+    public Mat(String uuid,Long tagId,String matnr,String maktx,String name,String specs,String model,String color,String brand,String unit,Double price,String sku,Double units,String barcode,String origin,String manu,String manuDate,String itemNum,Double safeQty,Double weight,Double manLength,Double volume,String threeCode,String supp,String suppCode,Integer beBatch,String deadTime,Integer deadWarn,Integer source,Integer inspect,Integer danger,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,Double storeMax,Double storeMin,Double storeMaxDate,Double width,Double height) {
+        this.uuid = uuid;
+        this.tagId = tagId;
+        this.matnr = matnr;
+        this.maktx = maktx;
+        this.name = name;
+        this.specs = specs;
+        this.model = model;
+        this.color = color;
+        this.brand = brand;
+        this.unit = unit;
+        this.price = price;
+        this.sku = sku;
+        this.units = units;
+        this.barcode = barcode;
+        this.origin = origin;
+        this.manu = manu;
+        this.manuDate = manuDate;
+        this.itemNum = itemNum;
+        this.safeQty = safeQty;
+        this.weight = weight;
+        this.manLength = manLength;
+        this.volume = volume;
+        this.threeCode = threeCode;
+        this.supp = supp;
+        this.suppCode = suppCode;
+        this.beBatch = beBatch;
+        this.deadTime = deadTime;
+        this.deadWarn = deadWarn;
+        this.source = source;
+        this.inspect = inspect;
+        this.danger = danger;
+        this.status = status;
+        this.createBy = createBy;
+        this.createTime = createTime;
+        this.updateBy = updateBy;
+        this.updateTime = updateTime;
+        this.memo = memo;
+        this.storeMax = storeMax;
+        this.storeMin = storeMin;
+        this.storeMaxDate = storeMaxDate;
+        this.width = width;
+        this.height = height;
+    }
+
+//    Mat mat = new Mat(
+//            null,    // 
+//            null,    // 
+//            null,    // [闈炵┖]
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // [闈炵┖]
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null,    // 
+//            null    // 
+//    );
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+    public String getUpdateTime$(){
+        if (Cools.isEmpty(this.updateTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+    }
+
+
+}
diff --git a/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java b/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
index 575ba5d..624875c 100644
--- a/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
+++ b/src/main/java/com/zy/asrs/entity/param/AgvBindCtnrAndBinParam.java
@@ -32,18 +32,6 @@
         switch (basAgvMast.getIoType()){
             case 0:
                 getAgvTaskAssignmentParam0(basAgvMast);
-                indBind = "0";
-                return;
-            case 1:
-                getAgvTaskAssignmentParam0(basAgvMast);
-                indBind = "0";
-                return;
-            case 2:
-                getAgvTaskAssignmentParam1(basAgvMast);
-                indBind = "1";
-                return;
-            case 3:
-                getAgvTaskAssignmentParam1(basAgvMast);
                 indBind = "1";
                 return;
             default:
@@ -58,25 +46,9 @@
         BasAgvLocNo basAgvLocNoSou = basAgvLocNoService.selectOne(
                 new EntityWrapper<BasAgvLocNo>().eq("loc_no", basAgvMast.getSourceLocNo())
         );
-        this.positionCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
-        BasAgvLocNo basAgvLocNoEnd = basAgvLocNoService.selectOne(
-                new EntityWrapper<BasAgvLocNo>().eq("sta_no", basAgvMast.getStaNo())
-        );
-        this.stgBinCode = basAgvLocNoEnd != null ? basAgvLocNoEnd.getAgvLocNo() : "";
+
+        this.stgBinCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
     }
 
-    public void getAgvTaskAssignmentParam1(BasAgvMast basAgvMast) {
-        BasAgvLocNoService basAgvLocNoService = SpringUtils.getBean(BasAgvLocNoService.class);
-        this.reqCode = basAgvMast.getTaskNo() + "-" + System.currentTimeMillis();
-//        BasAgvLocNo basAgvLocNoSou = basAgvLocNoService.selectOne(
-//                new EntityWrapper<BasAgvLocNo>().eq("loc_no", basAgvMast.getLocNo())
-//        );
-//        this.positionCode = basAgvLocNoSou != null ? basAgvLocNoSou.getAgvLocNo() : "";
-        BasAgvLocNo basAgvLocNoEnd = basAgvLocNoService.selectOne(
-                new EntityWrapper<BasAgvLocNo>().eq("sta_no", basAgvMast.getSourceStaNo())
-        );
-        this.stgBinCode = basAgvLocNoEnd != null ? basAgvLocNoEnd.getAgvLocNo() : "";
-
-    }
 
 }
diff --git a/src/main/java/com/zy/asrs/mapper/MatMapper.java b/src/main/java/com/zy/asrs/mapper/MatMapper.java
new file mode 100644
index 0000000..cd7c43f
--- /dev/null
+++ b/src/main/java/com/zy/asrs/mapper/MatMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.mapper;
+
+import com.zy.asrs.entity.Mat;
+import com.baomidou.mybatisplus.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface MatMapper extends BaseMapper<Mat> {
+
+}
diff --git a/src/main/java/com/zy/asrs/service/MatService.java b/src/main/java/com/zy/asrs/service/MatService.java
new file mode 100644
index 0000000..0863f5b
--- /dev/null
+++ b/src/main/java/com/zy/asrs/service/MatService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.service;
+
+import com.zy.asrs.entity.Mat;
+import com.baomidou.mybatisplus.service.IService;
+
+public interface MatService extends IService<Mat> {
+
+}
diff --git a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
index 6e65d8a..0dbe861 100644
--- a/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
+++ b/src/main/java/com/zy/asrs/service/impl/MainServiceImpl.java
@@ -110,6 +110,8 @@
     private ApiLogService apiLogService;
     @Autowired
     private BasDevpOptService basDevpOptService;
+    @Autowired
+    private MatService matService;
 
     @Value("${wms.url}")
     private String wmsUrl;
@@ -183,6 +185,9 @@
                     errMsg = "鎵爜澶辫触";
                     log.error("鐗╂枡鐮佹壂鐮佸け璐�");
                     back = true;
+                }
+                if(barcode.equals("0")){
+                    continue;
                 }
                 // 閫�鍥�
                 if (back) {
@@ -4333,8 +4338,6 @@
         }
     }
 
-
-
     /*
      * arm浠诲姟瀹屾垚鑷姩缁勬墭
      * */
@@ -4450,9 +4453,9 @@
      * */
     public synchronized void armTaskAssignment() {
         try{
-            List<BasArm> basArmList = basArmService.selectList(new EntityWrapper<>());
+            List<BasArm> basArmList = basArmService.selectList(new EntityWrapper<BasArm>().lt("arm_no",5));
             for (BasArm basArm : basArmList) {
-                if (basArm.getStatus()!=1){
+                if (basArm.getStatus()!=1 || basArm.getArmNo()>4){
                     continue;
                 }
                 try{
@@ -4469,31 +4472,23 @@
                     if(!Cools.isEmpty(barcode)) {
                         if("NG".endsWith(barcode) || "NoRead".equals(barcode)) {
                             armTaskAssignmentCallApiLogSave(staProtocol, "鎵樼洏鏉$爜涓虹┖", staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�", false);
-//                            log.error(staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�");
                             continue;
                         }
                     } else {
                         armTaskAssignmentCallApiLogSave(staProtocol, "鎵樼洏鏉$爜涓虹┖", staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�", false);
-
-//                        log.error(staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�");
                         continue;
                     }
 
                     if(barcode.length()!=6){
                         armTaskAssignmentCallApiLogSave(staProtocol, "鏉$爜闀垮害涓嶆槸6浣�", staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛屾潯鐮侀暱搴︿笉鏄�6浣�===>>" + barcode, false);
-//                        log.error(staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛屾潯鐮侀暱搴︿笉鏄�6浣�===>>" + barcode);
                         continue;
-//                        throw new CoolException(staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛屾潯鐮侀暱搴︿笉鏄�6浣�===>>" + barcode);
                     }
 
                     int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet",barcode));
                     int countWrk = wrkDetlService.selectCount(new EntityWrapper<WrkDetl>().eq("zpallet",barcode));
                     int countwait = waitPakinMapper.selectCount(new EntityWrapper<WaitPakin>().eq("zpallet",barcode));
                     if (countLoc > 0 || countWrk > 0 || countwait > 0) {
-//                        throw new CoolException("缁勬墭妗�/宸ヤ綔妗�/搴撳瓨鏉$爜鏁版嵁宸插瓨鍦�===>>" + barcode);
                         armTaskAssignmentCallApiLogSave(staProtocol, "鏉$爜鏁版嵁宸插瓨鍦�", staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛岀粍鎵樻。/宸ヤ綔妗�/搴撳瓨鏉$爜鏁版嵁宸插瓨鍦�===>>" + barcode, false);
-
-//                        log.error(staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛岀粍鎵樻。/宸ヤ綔妗�/搴撳瓨鏉$爜鏁版嵁宸插瓨鍦�===>>" + barcode);
                         continue;
                     }
 
@@ -4514,8 +4509,6 @@
                     );
                     if (!basArmMastListError.isEmpty()){
                         armTaskAssignmentCallApiLogSave(staProtocol, "瀛樺湪寮傚父鏈烘鑷備换鍔�", basArm.getArmNo()+"鍙锋満姊拌噦瀛樺湪寮傚父鏁版嵁闇�瑕佺淮鎶わ紒锛侊紒", false);
-
-//                        log.error(basArm.getArmNo()+"鍙锋満姊拌噦瀛樺湪寮傚父鏁版嵁闇�瑕佺淮鎶わ紒锛侊紒");
                         continue;
                     }
                     List<BasArmMast> basArmMastListRuning = basArmMastService.selectList(
@@ -4527,9 +4520,7 @@
                     List<BasArmMast> basArmMastListRuning3 = basArmMastService.selectList(
                             new EntityWrapper<BasArmMast>()
                                     .eq("arm_no", basArm.getArmNo())
-                                    .eq(
-
-                                            "sorting_line", basArm.getSortingLineSou())
+                                    .eq("sorting_line", basArm.getSortingLineSou())
                                     .eq("status", 3)
                     );
                     if (basArmMastListRuning.isEmpty() && basArmMastListRuning3.isEmpty()){
@@ -4544,8 +4535,6 @@
                         }
                         if (basArmMastList.size()>1){
                             armTaskAssignmentCallApiLogSave(staProtocol, "浠诲姟寰呮墽琛屾暟閲忓ぇ浜�1,鏃犳硶鍒嗚鲸寰呮墽琛屼换鍔�", "arm缂栧彿锛�"+basArm.getArmNo()+"====銆嬫媶鐮佸灈浠诲姟寮傚父绂佹涓嬪彂锛侊紒锛佷换鍔″緟鎵ц鏁伴噺澶т簬1锛侊紒锛�", false);
-
-//                            log.error("arm缂栧彿锛�"+basArm.getArmNo()+"====銆嬫媶鐮佸灈浠诲姟寮傚父绂佹涓嬪彂锛侊紒锛佷换鍔″緟鎵ц鏁伴噺澶т簬1锛侊紒锛�");
                             continue;
                         }
                         BasArmMast basArmMast = basArmMastList.get(0);
@@ -4560,26 +4549,20 @@
                         if (basArmMastListOrder.size()==1){
                             Thread.sleep(100);
 
-
                             List<BasArmMast> basArmMastListRuningBarCode2 = basArmMastService.selectList(
-                                    new EntityWrapper<BasArmMast>()
-                                            .eq("barcode", barcode)
+                                    new EntityWrapper<BasArmMast>().eq("barcode", barcode)
                             );
                             if (!basArmMastListRuningBarCode2.isEmpty()){
                                 int binding_tags = basArmMastService.selectCount(
                                         new EntityWrapper<BasArmMast>()
                                                 .eq("status", 2)
-                                                .eq("binding_tags", basArmMast.getBindingTags())
-                                );
-
+                                                .eq("binding_tags", basArmMast.getBindingTags()));
                                 if (binding_tags<2){
                                     BasArmMast basArmMastOne = basArmMastService.selectOne(
                                             new EntityWrapper<BasArmMast>()
                                                     .eq("status", 2)
-                                                    .eq("binding_tags", basArmMast.getBindingTags())
-                                    );
+                                                    .eq("binding_tags", basArmMast.getBindingTags()));
                                     Double anfmeSignOne = basArmMastService.selectBasArmMastSignValue(basArmMastOne.getOrderNo(), basArmMastOne.getMatnr(),basArmMastOne.getBindingTags());
-
                                     if (anfmeSignOne>1D){
                                         armTaskAssignmentCallApiLogSave(staProtocol, "鏉$爜鏁版嵁宸插瓨鍦紒锛侊紒", staProtocol.getSiteId()+"鐮佸灈浣嶇疆锛屾潯鐮佹暟鎹鍦ㄨ嚜鍔ㄧ粍鎵�===>>" + barcode, false);
                                         continue;
@@ -4599,18 +4582,12 @@
                                 ArmOrderAssignmentParam armOrderAssignmentParam = new ArmOrderAssignmentParam(basArmMast,orderDetlValueResultUtil);
 //                                璁㈠崟涓嬪彂(SKU+璁㈠崟)
                                 ReturnT<String> result = new PostMesDataUtils().postMesData("鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙戯細",ArmConstant.getArmUrl(basArmMast.getArmNo()), ArmConstant.ARM_ADAPTOR, armOrderAssignmentParam);
-                                if (result.getCode()==200){
-//                                    basArmMast.setStatus(1);
-//                                    basArmMast.setBarcode(barcode);
-//                                    basArmMastService.updateById(basArmMast);
-                                } else {
+                                if (result.getCode()!=200){
                                     armTaskAssignmentCallApiLogSave(staProtocol, "鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙�", "arm缂栧彿锛�"+basArm.getArmNo()+"璁㈠崟涓嬪彂璁㈠崟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
-
-//                                    log.error("arm缂栧彿锛�"+basArm.getArmNo()+"鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙戯細"+JSON.toJSON(basArmMast)+"===銆嬭鍗曚俊鎭笅鍙戝け璐�");
+                                    continue;
                                 }
                             } catch (Exception e){
                                 armTaskAssignmentCallApiLogSave(staProtocol, "鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙�", "arm缂栧彿锛�"+basArm.getArmNo()+"璁㈠崟涓嬪彂璁㈠崟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
-//                                log.error("arm缂栧彿锛�"+basArm.getArmNo()+"鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙戯細"+JSON.toJSON(basArmMast)+"===銆嬭鍗曚笅鍙戣鍗曚俊鎭笅鍙戝け璐�");
                                 continue;
                             }
                         }
@@ -4623,7 +4600,150 @@
                             basArmMastService.updateById(basArmMast);
                         } else {
                             armTaskAssignmentCallApiLogSave(staProtocol, "鏈烘鑷傛姄鍙栦换鍔′俊鎭笅鍙戝け璐�", "arm缂栧彿锛�"+basArm.getArmNo()+"浠诲姟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
-//                            log.error("鏈烘鑷傛姄鍙栦换鍔★細"+JSON.toJSON(basArmMast)+"===銆嬩换鍔′俊鎭笅鍙戝け璐�");
+                        }
+                    }
+                }  catch (Exception e){
+                    log.error("arm缂栧彿锛�"+basArm.getArmNo()+"====銆嬫媶鐮佸灈浠诲姟涓嬪彂澶辫触"+e.getMessage());
+                }
+            }
+        }catch (Exception e){
+            log.error("arm浠诲姟涓嬪彂澶辫触"+e.getMessage());
+        }
+    }
+
+    /*
+     * arm浠诲姟涓嬪彂
+     * */
+    public synchronized void armTaskAssignment2() {
+        try{
+            List<BasArm> basArmList = basArmService.selectList(new EntityWrapper<BasArm>().gt("arm_no",4));
+            for (BasArm basArm : basArmList) {
+                if (basArm.getStatus()!=1 || basArm.getArmNo()<5){
+                    continue;
+                }
+                try{
+                    LocMast locMastEnd = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_no", basArm.getStaNoSou()));
+                    if(!locMastEnd.getLocSts().equals("D")){
+                        continue;
+                    }
+
+                    String barcode = locMastEnd.getBarcode();
+                    if(!Cools.isEmpty(barcode)) {
+                        if("NG".endsWith(barcode) || "NoRead".equals(barcode) || "0".equals(barcode)) {
+                            armTaskAssignmentCallApiLogSave(locMastEnd, "鎵樼洏鏉$爜涓虹┖", basArm.getStaNoSou()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�", false);
+                            continue;
+                        }
+                    } else {
+                        armTaskAssignmentCallApiLogSave(locMastEnd, "鎵樼洏鏉$爜涓虹┖", basArm.getStaNoSou()+"鐮佸灈浣嶇疆锛�===銆嬫墭鐩樻潯鐮佷负绌�", false);
+                        continue;
+                    }
+
+                    if(barcode.length()!=6){
+                        armTaskAssignmentCallApiLogSave(locMastEnd, "鏉$爜闀垮害涓嶆槸6浣�", basArm.getStaNoSou()+"鐮佸灈浣嶇疆锛屾潯鐮侀暱搴︿笉鏄�6浣�===>>" + barcode, false);
+                        continue;
+                    }
+
+                    int countLoc = locDetlService.selectCount(new EntityWrapper<LocDetl>().eq("zpallet",barcode));
+                    int countWrk = wrkDetlService.selectCount(new EntityWrapper<WrkDetl>().eq("zpallet",barcode));
+                    int countwait = waitPakinMapper.selectCount(new EntityWrapper<WaitPakin>().eq("zpallet",barcode));
+                    if (countLoc > 0 || countWrk > 0 || countwait > 0) {
+                        armTaskAssignmentCallApiLogSave(locMastEnd, "鏉$爜鏁版嵁宸插瓨鍦�", basArm.getStaNoSou()+"鐮佸灈浣嶇疆锛岀粍鎵樻。/宸ヤ綔妗�/搴撳瓨鏉$爜鏁版嵁宸插瓨鍦�===>>" + barcode, false);
+                        continue;
+                    }
+
+                    List<BasArmMast> basArmMastListRuningBarCode = basArmMastService.selectList(
+                            new EntityWrapper<BasArmMast>()
+                                    .eq("barcode", barcode)
+                                    .eq("status", 3)
+                    );
+                    if (!basArmMastListRuningBarCode.isEmpty()){
+                        armTaskAssignmentCallApiLogSave(locMastEnd, "鏉$爜鏁版嵁宸插瓨鍦�,姝e湪鑷姩缁勬墭锛侊紒锛�", basArm.getStaNoSou()+"鐮佸灈浣嶇疆锛屾潯鐮佹暟鎹鍦ㄨ嚜鍔ㄧ粍鎵�===>>" + barcode, false);
+                        continue;
+                    }
+                    List<BasArmMast> basArmMastListError = basArmMastService.selectList(
+                            new EntityWrapper<BasArmMast>()
+                                    .eq("arm_no", basArm.getArmNo())
+                                    .eq("sorting_line", basArm.getSortingLineSou())
+                                    .eq("status", 9)
+                    );
+                    if (!basArmMastListError.isEmpty()){
+                        armTaskAssignmentCallApiLogSave(locMastEnd, "瀛樺湪寮傚父鏈烘鑷備换鍔�", basArm.getArmNo()+"鍙锋満姊拌噦瀛樺湪寮傚父鏁版嵁闇�瑕佺淮鎶わ紒锛侊紒", false);
+                        continue;
+                    }
+                    List<BasArmMast> basArmMastListRuning = basArmMastService.selectList(
+                            new EntityWrapper<BasArmMast>()
+                                    .eq("arm_no", basArm.getArmNo())
+                                    .eq("sorting_line", basArm.getSortingLineSou())
+                                    .eq("status", 1)
+                    );
+                    List<BasArmMast> basArmMastListRuning3 = basArmMastService.selectList(
+                            new EntityWrapper<BasArmMast>()
+                                    .eq("arm_no", basArm.getArmNo())
+                                    .eq("sorting_line", basArm.getSortingLineSou())
+                                    .eq("status", 3)
+                    );
+                    if (basArmMastListRuning.isEmpty() && basArmMastListRuning3.isEmpty()){
+                        List<BasArmMast> basArmMastList = basArmMastService.selectList(
+                                new EntityWrapper<BasArmMast>()
+                                        .eq("arm_no", basArm.getArmNo())
+                                        .eq("sorting_line", basArm.getSortingLineSou())
+                                        .eq("sta_no", basArm.getStaNoSou())
+                                        .eq("status", 0)
+                        );
+                        if (basArmMastList.isEmpty()){
+                            continue;
+                        }
+                        if (basArmMastList.size()>1){
+                            armTaskAssignmentCallApiLogSave(locMastEnd, "浠诲姟寰呮墽琛屾暟閲忓ぇ浜�1,鏃犳硶鍒嗚鲸寰呮墽琛屼换鍔�", "arm缂栧彿锛�"+basArm.getArmNo()+"====銆嬫媶鐮佸灈浠诲姟寮傚父绂佹涓嬪彂锛侊紒锛佷换鍔″緟鎵ц鏁伴噺澶т簬1锛侊紒锛�", false);
+                            continue;
+                        }
+                        BasArmMast basArmMast = basArmMastList.get(0);
+//                        List<BasArmMast> basArmMastListOrder = basArmMastService.selectList(
+//                                new EntityWrapper<BasArmMast>()
+//                                        .eq("arm_no", basArm.getArmNo())
+//                                        .eq("sorting_line", basArm.getSortingLineSou())
+//                                        .eq("matnr", basArmMast.getMatnr())
+//                                        .eq("order_no", basArmMast.getOrderNo())
+//                                        .eq("binding_tags", basArmMast.getBindingTags())
+//                        );
+//                        if (basArmMastListOrder.size()==1){
+//                            OrderDetlValueResultUtil orderDetlValueResultUtil = basArmMastService.selectOrderDetlValue(basArmMast.getOrderNo(), basArmMast.getMatnr());
+//
+//                            if (Cools.isEmpty(orderDetlValueResultUtil)){
+//                                continue;
+//                            }
+
+                        OrderDetlValueResultUtil orderDetlValueResultUtil = new OrderDetlValueResultUtil();
+                        Mat mat = matService.selectOne(new EntityWrapper<Mat>().eq("matnr", basArmMast.getMatnr()));
+//                            Double anfmeSign = basArmMastService.selectBasArmMastSignValue(basArmMast.getOrderNo(), basArmMast.getMatnr(),basArmMast.getBindingTags());
+                        orderDetlValueResultUtil.setAnfme(1D);
+                        orderDetlValueResultUtil.setHeight(mat.getHeight());
+                        orderDetlValueResultUtil.setWeight(mat.getWeight());
+                        orderDetlValueResultUtil.setLength(mat.getManLength());
+                        orderDetlValueResultUtil.setWidth(mat.getWidth());
+                        //璁㈠崟涓嬪彂
+                        try{
+                            ArmOrderAssignmentParam armOrderAssignmentParam = new ArmOrderAssignmentParam(basArmMast,orderDetlValueResultUtil);
+//                                璁㈠崟涓嬪彂(SKU+璁㈠崟)
+                            ReturnT<String> result = new PostMesDataUtils().postMesData("鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙戯細",ArmConstant.getArmUrl(basArmMast.getArmNo()), ArmConstant.ARM_ADAPTOR, armOrderAssignmentParam);
+                            if (result.getCode()!=200){
+                                armTaskAssignmentCallApiLogSave(locMastEnd, "鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙�", "arm缂栧彿锛�"+basArm.getArmNo()+"璁㈠崟涓嬪彂璁㈠崟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
+                                continue;
+                            }
+                        } catch (Exception e){
+                            armTaskAssignmentCallApiLogSave(locMastEnd, "鏈烘鑷傛姄鍙栬鍗曪紙SKU锛変笅鍙�", "arm缂栧彿锛�"+basArm.getArmNo()+"璁㈠崟涓嬪彂璁㈠崟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
+                            continue;
+                        }
+//                        }
+                        ArmTaskAssignmentParam armTaskAssignmentParam = new ArmTaskAssignmentParam(basArm.getSortingLine());
+                        //璁剧疆宸ヤ綔绌洪棿灏辩华
+                        ReturnT<String> result = new PostMesDataUtils().postMesData("鏈烘鑷傛姄鍙栦换鍔′笅鍙戯細閫氱煡宸ヤ綔绌洪棿宸插氨缁�",ArmConstant.getArmUrl(basArmMast.getArmNo()), ArmConstant.ARM_WORKSPACE, armTaskAssignmentParam);
+                        if (result.getCode()==200){
+                            basArmMast.setStatus(1);
+                            basArmMast.setBarcode(barcode);
+                            basArmMastService.updateById(basArmMast);
+                        } else {
+                            armTaskAssignmentCallApiLogSave(locMastEnd, "鏈烘鑷傛姄鍙栦换鍔′俊鎭笅鍙戝け璐�", "arm缂栧彿锛�"+basArm.getArmNo()+"浠诲姟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
                         }
                     }
                 }  catch (Exception e){
@@ -4659,6 +4779,33 @@
         // 濡傛灉娌℃湁绗﹀悎鏉′欢鐨勮褰曪紝鎴栬�呮墍鏈夎褰曟椂闂村樊澶т簬 5 鍒嗛挓锛屼繚瀛樻柊鐨勬棩蹇�
         apiLogService.save("鏈烘鑷備换鍔$浉鍏�", tableName, "null", staProtocol.getBarcode(),
                 "绔欑偣鍙�:" + staProtocol.getSiteId(),
+                response, bool);
+    }
+
+    public void armTaskAssignmentCallApiLogSave(LocMast locMast, String tableName, String response, Boolean bool) {
+        // 鏌ヨ绗﹀悎鏉′欢鐨勬墍鏈� ApiLog
+        List<ApiLog> apiLogs = apiLogService.selectList(new EntityWrapper<ApiLog>()
+                .eq("namespace", "鏈烘鑷備换鍔$浉鍏�")
+                .eq("request", "绔欑偣鍙�:" + locMast.getLocNo())
+                .eq("response", response)
+                .eq("url", tableName)
+                .eq("client_ip", locMast.getBarcode())
+                .eq("result", 0)
+                .orderBy("create_time", false)
+        );
+
+        // 閬嶅巻缁撴灉闆嗭紝妫�鏌ユ椂闂存埑宸�兼槸鍚﹀皬浜� 5 鍒嗛挓
+        for (ApiLog apiLog : apiLogs) {
+            long parseLong = Long.parseLong(apiLog.getTimestamp());
+            if (new Date().getTime() - parseLong < 5 * 1000 * 60) {
+                // 濡傛灉鎵惧埌绗﹀悎鏉′欢鐨勮褰曚笖鏃堕棿宸皬浜� 5 鍒嗛挓锛屽垯涓嶄繚瀛樻柊璁板綍锛岀洿鎺ヨ繑鍥�
+                return;
+            }
+        }
+
+        // 濡傛灉娌℃湁绗﹀悎鏉′欢鐨勮褰曪紝鎴栬�呮墍鏈夎褰曟椂闂村樊澶т簬 5 鍒嗛挓锛屼繚瀛樻柊鐨勬棩蹇�
+        apiLogService.save("鏈烘鑷備换鍔$浉鍏�", tableName, "null", locMast.getBarcode(),
+                "绔欑偣鍙�:" + locMast.getLocNo(),
                 response, bool);
     }
 
@@ -4774,8 +4921,8 @@
 
                 String barcode = staProtocol.getBarcode();
                 if(!Cools.isEmpty(barcode)) {
-                    if("NG".endsWith(barcode) || "NoRead".equals(barcode)) {
-                        News.info("{}鍙风珯鐐规壂鎻忓櫒妫�娴嬫潯鐮佷俊鎭細{}", outStaAgv.getStaNo(), barcode);
+                    if("NG".endsWith(barcode) || "NoRead".equals(barcode) || "0".equals(barcode)) {
+//                        News.info("{}鍙风珯鐐规壂鎻忓櫒妫�娴嬫潯鐮佷俊鎭細{}", outStaAgv.getStaNo(), barcode);
                         continue;
                     }
                 } else {
@@ -4873,18 +5020,37 @@
 
                     BasAgvMast basAgvMast = new BasAgvMast();
                     try {
-                        List<LocMast> locMastList = locMastService.selectList(new EntityWrapper<LocMast>()
-                                .eq("loc_sts", "R")
-                                .ge("row1", 23)
-                                .le("row1", 32)
-                                .orderBy("io_time",true)
-                        );
+                        List<LocMast> locMastList = null;
+                        Integer floorNo = 1;
+                        if(inStaAgv.getStaNo() < 2000){
+                            locMastList = locMastService.selectList(new EntityWrapper<LocMast>()
+                                    .eq("loc_sts", "R")
+                                    .ge("row1", 21)
+                                    .le("row1", 26)
+                                    .orderBy("io_time",true)
+                            );
+                        }else if(inStaAgv.getStaNo() < 4000){
+                            locMastList = locMastService.selectList(new EntityWrapper<LocMast>()
+                                    .eq("loc_sts", "R")
+                                    .ge("row1", 28)
+                                    .le("row1", 31)
+                                    .orderBy("io_time",true));
+                            floorNo = 2;
+                        }else{
+                            locMastList = locMastService.selectList(new EntityWrapper<LocMast>()
+                                    .eq("loc_sts", "R")
+                                    .ge("row1", 32)
+                                    .le("row1", 38)
+                                    .orderBy("io_time",true));
+                            floorNo = 3;
+                        }
 
                         for (LocMast locMast : locMastList){
                             basAgvMast.setTaskNo(inStaAgv.getStaNo());
                             basAgvMast.setSourceLocNo(locMast.getLocNo());
                             basAgvMast.setStaNo(inStaAgv.getStaNo());
                             basAgvMast.setDevpId(devp.getId());
+                            basAgvMast.setFloorNo(floorNo);
                             basAgvMast.setIoType(0);//AGV搴撲綅==銆嬭緭閫佺嚎绔欑偣  0
                             basAgvMastService.insert(basAgvMast);
                             break;
@@ -4966,6 +5132,12 @@
                     }
 
                     if (staProtocol.isAutoing()){
+                        AgvBindCtnrAndBinParam agvBindCtnrAndBinParam = new AgvBindCtnrAndBinParam(basAgvMast);
+                        agvBindCtnrAndBinParam.setCtnrCode(basAgvMast.getTimestamp().toString());
+                        ReturnT<String> resultBind = new PostMesDataUtils().postMesDataAgv("AGV瀹瑰櫒缁戝畾", AgvConstant.AGV_URL, AgvConstant.AGV_CTNRANDBING, agvBindCtnrAndBinParam);
+                        if (resultBind.getCode()!=200){
+                            agvTaskAssignmentCallApiLogSave(basAgvMast, "AGV瀹瑰櫒缁戝畾", "浠诲姟鍙凤細"+basAgvMast.getTaskNo()+"浠诲姟淇℃伅涓嬪彂澶辫触锛侊紒锛�", false);
+                        }
 
                         AgvTaskAssignmentParam agvTaskAssignmentParam = new AgvTaskAssignmentParam(basAgvMast);
                         //浠诲姟涓嬪彂
@@ -5044,7 +5216,7 @@
                             (basAgvMast.getSourceStaNo().equals(2033))){
 
                         AgvTaskAssignmentParam agvTaskAssignmentParam = new AgvTaskAssignmentParam(basAgvMast);
-                        if(basAgvMast.getFloorNo()==1) {
+                        if(basAgvMast.getFloorNo()==1 || basAgvMast.getStaNo().equals(2034)) {
                             WrkMast wrkMast = wrkMastService.selectByWrkNo(staProtocol.getWorkNo());
                             AgvBindCtnrAndBinParam agvBindCtnrAndBinParam = new AgvBindCtnrAndBinParam(basAgvMast);
                             agvBindCtnrAndBinParam.setCtnrCode(wrkMast.getBarcode());
diff --git a/src/main/java/com/zy/asrs/service/impl/MatServiceImpl.java b/src/main/java/com/zy/asrs/service/impl/MatServiceImpl.java
new file mode 100644
index 0000000..74d07e8
--- /dev/null
+++ b/src/main/java/com/zy/asrs/service/impl/MatServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.service.impl;
+
+import com.zy.asrs.mapper.MatMapper;
+import com.zy.asrs.entity.Mat;
+import com.zy.asrs.service.MatService;
+import com.baomidou.mybatisplus.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("matService")
+public class MatServiceImpl extends ServiceImpl<MatMapper, Mat> implements MatService {
+
+}
diff --git a/src/main/java/com/zy/common/CodeBuilder.java b/src/main/java/com/zy/common/CodeBuilder.java
index d3ad969..710ac24 100644
--- a/src/main/java/com/zy/common/CodeBuilder.java
+++ b/src/main/java/com/zy/common/CodeBuilder.java
@@ -20,7 +20,7 @@
         generator.url="localhost:1433;databasename=jshdasrs";
         generator.username="sa";
         generator.password="sa@123";
-        generator.table="asr_bas_rgv_error_log";
+        generator.table="man_mat";
         generator.packagePath="com.zy.asrs";
         generator.build();
     }
diff --git a/src/main/java/com/zy/core/MainProcess.java b/src/main/java/com/zy/core/MainProcess.java
index 1d8e812..a80c58d 100644
--- a/src/main/java/com/zy/core/MainProcess.java
+++ b/src/main/java/com/zy/core/MainProcess.java
@@ -71,7 +71,7 @@
                 // 鍏ュ簱  ===>> 鍏ュ簱绔欏埌鍫嗗灈鏈虹珯锛屾牴鎹潯鐮佹壂鎻忕敓鎴愬叆搴撳伐浣滄。
                 mainService.generateStoreWrkFile(1); // 缁勬墭
 //                    mainService.generateStoreWrkFile0(2); // WMS鍏ュ簱
-                Thread.sleep(500);
+                Thread.sleep(50);
 
                 // 鍑哄簱  ===>>  鍫嗗灈鏈哄嚭搴撶珯鍒板嚭搴撶珯
                 mainService.crnStnToOutStn(4);
@@ -146,6 +146,7 @@
 
                 //arm浠诲姟涓嬪彂
                 mainService.armTaskAssignment();//0===銆�1
+                mainService.armTaskAssignment2();//0===銆�1
 
             } catch (Exception e) {
                 e.printStackTrace();
diff --git a/src/main/java/mat.sql b/src/main/java/mat.sql
new file mode 100644
index 0000000..bc55617
--- /dev/null
+++ b/src/main/java/mat.sql
@@ -0,0 +1,18 @@
+-- save mat record
+-- mysql
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat/mat.html', 'mat绠$悊', null , '2', null , '1');
+
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat#view', '鏌ヨ', '', '3', '0', '1');
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat#btn-add', '鏂板', '', '3', '1', '1');
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat#btn-edit', '缂栬緫', '', '3', '2', '1');
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat#btn-delete', '鍒犻櫎', '', '3', '3', '1');
+insert into `sys_resource` ( `code`, `name`, `resource_id`, `level`, `sort`, `status`) values ( 'mat#btn-export', '瀵煎嚭', '', '3', '4', '1');
+
+-- sqlserver
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat/mat.html', N'mat绠$悊', null, '2', null, '1');
+
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat#view', N'鏌ヨ', '', '3', '0', '1');
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat#btn-add', N'鏂板', '', '3', '1', '1');
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat#btn-edit', N'缂栬緫', '', '3', '2', '1');
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat#btn-delete', N'鍒犻櫎', '', '3', '3', '1');
+insert [dbo].[sys_resource] ( [code], [name], [resource_id], [level], [sort], [status]) values ( N'mat#btn-export', N'瀵煎嚭', '', '3', '4', '1');
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 231a8a2..ce07fb7 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -480,9 +480,12 @@
     # 鍑哄簱鍙�1
     outSta[0]:
       staNo: 1041
-      led: ${wcs-slave.led[0].id}
+      led: ${wcs-slave.led[1].id}
     outStaAgvFull[0]:
       staNo: 1041
+      led: ${wcs-slave.led[1].id}
+    inStaAgv[0]:
+      staNo: 1037
       led: ${wcs-slave.led[0].id}
 
 
diff --git a/src/main/resources/mapper/MatMapper.xml b/src/main/resources/mapper/MatMapper.xml
new file mode 100644
index 0000000..b7dbdf7
--- /dev/null
+++ b/src/main/resources/mapper/MatMapper.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.zy.asrs.mapper.MatMapper">
+
+    <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
+    <resultMap id="BaseResultMap" type="com.zy.asrs.entity.Mat">
+        <id column="id" property="id" />
+        <result column="uuid" property="uuid" />
+        <result column="tag_id" property="tagId" />
+        <result column="matnr" property="matnr" />
+        <result column="maktx" property="maktx" />
+        <result column="name" property="name" />
+        <result column="specs" property="specs" />
+        <result column="model" property="model" />
+        <result column="color" property="color" />
+        <result column="brand" property="brand" />
+        <result column="unit" property="unit" />
+        <result column="price" property="price" />
+        <result column="sku" property="sku" />
+        <result column="units" property="units" />
+        <result column="barcode" property="barcode" />
+        <result column="origin" property="origin" />
+        <result column="manu" property="manu" />
+        <result column="manu_date" property="manuDate" />
+        <result column="item_num" property="itemNum" />
+        <result column="safe_qty" property="safeQty" />
+        <result column="weight" property="weight" />
+        <result column="man_length" property="manLength" />
+        <result column="volume" property="volume" />
+        <result column="three_code" property="threeCode" />
+        <result column="supp" property="supp" />
+        <result column="supp_code" property="suppCode" />
+        <result column="be_batch" property="beBatch" />
+        <result column="dead_time" property="deadTime" />
+        <result column="dead_warn" property="deadWarn" />
+        <result column="source" property="source" />
+        <result column="inspect" property="inspect" />
+        <result column="danger" property="danger" />
+        <result column="status" property="status" />
+        <result column="create_by" property="createBy" />
+        <result column="create_time" property="createTime" />
+        <result column="update_by" property="updateBy" />
+        <result column="update_time" property="updateTime" />
+        <result column="memo" property="memo" />
+        <result column="store_max" property="storeMax" />
+        <result column="store_min" property="storeMin" />
+        <result column="store_max_date" property="storeMaxDate" />
+        <result column="width" property="width" />
+        <result column="height" property="height" />
+
+    </resultMap>
+
+</mapper>
diff --git a/src/main/webapp/static/js/mat/mat.js b/src/main/webapp/static/js/mat/mat.js
new file mode 100644
index 0000000..759de5c
--- /dev/null
+++ b/src/main/webapp/static/js/mat/mat.js
@@ -0,0 +1,297 @@
+var pageCurr;
+layui.config({
+    base: baseUrl + "/static/layui/lay/modules/"
+}).use(['table','laydate', 'form', 'admin'], function(){
+    var table = layui.table;
+    var $ = layui.jquery;
+    var layer = layui.layer;
+    var layDate = layui.laydate;
+    var form = layui.form;
+    var admin = layui.admin;
+
+    // 鏁版嵁娓叉煋
+    tableIns = table.render({
+        elem: '#mat',
+        headers: {token: localStorage.getItem('token')},
+        url: baseUrl+'/mat/list/auth',
+        page: true,
+        limit: 15,
+        limits: [15, 30, 50, 100, 200, 500],
+        toolbar: '#toolbar',
+        cellMinWidth: 50,
+        height: 'full-120',
+        cols: [[
+            {type: 'checkbox'}
+            ,{field: 'id', align: 'center',title: 'ID'}
+            ,{field: 'uuid', align: 'center',title: ''}
+            ,{field: 'tagId', align: 'center',title: ''}
+            ,{field: 'matnr', align: 'center',title: ''}
+            ,{field: 'maktx', align: 'center',title: ''}
+            ,{field: 'name', align: 'center',title: ''}
+            ,{field: 'specs', align: 'center',title: ''}
+            ,{field: 'model', align: 'center',title: ''}
+            ,{field: 'color', align: 'center',title: ''}
+            ,{field: 'brand', align: 'center',title: ''}
+            ,{field: 'unit', align: 'center',title: ''}
+            ,{field: 'price', align: 'center',title: ''}
+            ,{field: 'sku', align: 'center',title: ''}
+            ,{field: 'units', align: 'center',title: ''}
+            ,{field: 'barcode', align: 'center',title: ''}
+            ,{field: 'origin', align: 'center',title: ''}
+            ,{field: 'manu', align: 'center',title: ''}
+            ,{field: 'manuDate', align: 'center',title: ''}
+            ,{field: 'itemNum', align: 'center',title: ''}
+            ,{field: 'safeQty', align: 'center',title: ''}
+            ,{field: 'weight', align: 'center',title: ''}
+            ,{field: 'manLength', align: 'center',title: ''}
+            ,{field: 'volume', align: 'center',title: ''}
+            ,{field: 'threeCode', align: 'center',title: ''}
+            ,{field: 'supp', align: 'center',title: ''}
+            ,{field: 'suppCode', align: 'center',title: ''}
+            ,{field: 'beBatch', align: 'center',title: ''}
+            ,{field: 'deadTime', align: 'center',title: ''}
+            ,{field: 'deadWarn', align: 'center',title: ''}
+            ,{field: 'source', align: 'center',title: ''}
+            ,{field: 'inspect', align: 'center',title: ''}
+            ,{field: 'danger', align: 'center',title: ''}
+            ,{field: 'status', align: 'center',title: ''}
+            ,{field: 'createBy', align: 'center',title: ''}
+            ,{field: 'createTime$', align: 'center',title: ''}
+            ,{field: 'updateBy', align: 'center',title: ''}
+            ,{field: 'updateTime$', align: 'center',title: ''}
+            ,{field: 'memo', align: 'center',title: ''}
+            ,{field: 'storeMax', align: 'center',title: ''}
+            ,{field: 'storeMin', align: 'center',title: ''}
+            ,{field: 'storeMaxDate', align: 'center',title: ''}
+            ,{field: 'width', align: 'center',title: ''}
+            ,{field: 'height', align: 'center',title: ''}
+
+            ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:120}
+        ]],
+        request: {
+            pageName: 'curr',
+            pageSize: 'limit'
+        },
+        parseData: function (res) {
+            return {
+                'code': res.code,
+                'msg': res.msg,
+                'count': res.data.total,
+                'data': res.data.records
+            }
+        },
+        response: {
+            statusCode: 200
+        },
+        done: function(res, curr, count) {
+            if (res.code === 403) {
+                top.location.href = baseUrl+"/";
+            }
+            pageCurr=curr;
+            limit();
+        }
+    });
+
+    // 鐩戝惉鎺掑簭浜嬩欢
+    table.on('sort(mat)', function (obj) {
+        var searchData = {};
+        $.each($('#search-box [name]').serializeArray(), function() {
+            searchData[this.name] = this.value;
+        });
+        searchData['orderByField'] = obj.field;
+        searchData['orderByType'] = obj.type;
+        tableIns.reload({
+            where: searchData,
+            page: {curr: 1}
+        });
+    });
+
+    // 鐩戝惉澶村伐鍏锋爮浜嬩欢
+    table.on('toolbar(mat)', function (obj) {
+        var checkStatus = table.checkStatus(obj.config.id).data;
+        switch(obj.event) {
+            case 'addData':
+                showEditModel();
+                break;
+            case 'deleteData':
+               if (checkStatus.length === 0) {
+                   layer.msg('璇烽�夋嫨瑕佸垹闄ょ殑鏁版嵁', {icon: 2});
+                   return;
+               }
+               del(checkStatus.map(function (d) {
+                   return d.id;
+               }));
+               break;
+            case 'exportData':
+                admin.confirm('纭畾瀵煎嚭Excel鍚�', {shadeClose: true}, function(){
+                    var titles=[];
+                    var fields=[];
+                    obj.config.cols[0].map(function (col) {
+                        if (col.type === 'normal' && col.hide === false && col.toolbar == null) {
+                            titles.push(col.title);
+                            fields.push(col.field);
+                        }
+                    });
+                    var exportData = {};
+                    $.each($('#search-box [name]').serializeArray(), function() {
+                        exportData[this.name] = this.value;
+                    });
+                    var param = {
+                        'mat': exportData,
+                        'fields': fields
+                    };
+                    $.ajax({
+                        url: baseUrl+"/mat/export/auth",
+                        headers: {'token': localStorage.getItem('token')},
+                        data: JSON.stringify(param),
+                        dataType:'json',
+                        contentType:'application/json;charset=UTF-8',
+                        method: 'POST',
+                        success: function (res) {
+                            layer.closeAll();
+                            if (res.code === 200) {
+                                table.exportFile(titles,res.data,'xls');
+                            } else if (res.code === 403) {
+                                top.location.href = baseUrl+"/";
+                            } else {
+                                layer.msg(res.msg, {icon: 2})
+                            }
+                        }
+                    });
+                });
+                break;
+        }
+    });
+
+    // 鐩戝惉琛屽伐鍏蜂簨浠�
+    table.on('tool(mat)', function(obj){
+        var data = obj.data;
+        switch (obj.event) {
+            case 'edit':
+                showEditModel(data);
+                break;
+            case "del":
+                del([data.id]);
+                break;
+        }
+    });
+
+    /* 寮圭獥 - 鏂板銆佷慨鏀� */
+    function showEditModel(mData) {
+        admin.open({
+            type: 1,
+            area: '600px',
+            title: (mData ? '淇敼' : '娣诲姞') + '璁㈠崟鐘舵��',
+            content: $('#editDialog').html(),
+            success: function (layero, dIndex) {
+                layDateRender(mData);
+                form.val('detail', mData);
+                form.on('submit(editSubmit)', function (data) {
+                    var loadIndex = layer.load(2);
+                    $.ajax({
+                        url: baseUrl+"/mat/"+(mData?'update':'add')+"/auth",
+                        headers: {'token': localStorage.getItem('token')},
+                        data: data.field,
+                        method: 'POST',
+                        success: function (res) {
+                            layer.close(loadIndex);
+                            if (res.code === 200){
+                                layer.close(dIndex);
+                                layer.msg(res.msg, {icon: 1});
+                                tableReload();
+                            } else if (res.code === 403){
+                                top.location.href = baseUrl+"/";
+                            }else {
+                                layer.msg(res.msg, {icon: 2});
+                            }
+                        }
+                    })
+                    return false;
+                });
+                $(layero).children('.layui-layer-content').css('overflow', 'visible');
+                layui.form.render('select');
+            }
+        });
+    }
+
+    /* 鍒犻櫎 */
+    function del(ids) {
+        layer.confirm('纭畾瑕佸垹闄ら�変腑鏁版嵁鍚楋紵', {
+            skin: 'layui-layer-admin',
+            shade: .1
+        }, function (i) {
+            layer.close(i);
+            var loadIndex = layer.load(2);
+            $.ajax({
+                url: baseUrl+"/mat/delete/auth",
+                headers: {'token': localStorage.getItem('token')},
+                data: {ids: ids},
+                method: 'POST',
+                success: function (res) {
+                    layer.close(loadIndex);
+                    if (res.code === 200){
+                        layer.msg(res.msg, {icon: 1});
+                        tableReload();
+                    } else if (res.code === 403){
+                        top.location.href = baseUrl+"/";
+                    } else {
+                        layer.msg(res.msg, {icon: 2});
+                    }
+                }
+            })
+        });
+    }
+
+    // 鎼滅储
+    form.on('submit(search)', function (data) {
+        pageCurr = 1;
+        tableReload(false);
+    });
+
+    // 閲嶇疆
+    form.on('submit(reset)', function (data) {
+        pageCurr = 1;
+        clearFormVal($('#search-box'));
+        tableReload(false);
+    });
+
+    // 鏃堕棿閫夋嫨鍣�
+    function layDateRender(data) {
+        setTimeout(function () {
+            layDate.render({
+                elem: '.layui-laydate-range'
+                ,type: 'datetime'
+                ,range: true
+            });
+            layDate.render({
+                elem: '#createTime\\$',
+                type: 'datetime',
+                value: data!==undefined?data['createTime\\$']:null
+            });
+            layDate.render({
+                elem: '#updateTime\\$',
+                type: 'datetime',
+                value: data!==undefined?data['updateTime\\$']:null
+            });
+
+        }, 300);
+    }
+    layDateRender();
+
+});
+
+// 鍏抽棴鍔ㄤ綔
+$(document).on('click','#data-detail-close', function () {
+    parent.layer.closeAll();
+});
+
+function tableReload(child) {
+    var searchData = {};
+    $.each($('#search-box [name]').serializeArray(), function() {
+        searchData[this.name] = this.value;
+    });
+    tableIns.reload({
+        where: searchData,
+        page: {curr: pageCurr}
+     });
+}
diff --git a/src/main/webapp/views/mat/mat.html b/src/main/webapp/views/mat/mat.html
new file mode 100644
index 0000000..8dfe9b7
--- /dev/null
+++ b/src/main/webapp/views/mat/mat.html
@@ -0,0 +1,338 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="utf-8">
+    <title></title>
+    <meta name="renderer" content="webkit">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+    <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all">
+    <link rel="stylesheet" href="../../static/css/admin.css?v=318" media="all">
+    <link rel="stylesheet" href="../../static/css/cool.css" media="all">
+</head>
+<body>
+
+<div class="layui-fluid">
+    <div class="layui-card">
+        <div class="layui-card-body">
+            <div class="layui-form toolbar" id="search-box">
+                <div class="layui-form-item">
+                    <div class="layui-inline">
+                        <div class="layui-input-inline">
+                            <input class="layui-input" type="text" name="id" placeholder="缂栧彿" autocomplete="off">
+                        </div>
+                    </div>
+                     <div class="layui-inline" style="width: 300px">
+                        <div class="layui-input-inline">
+                            <input class="layui-input layui-laydate-range" name="create_time" type="text" placeholder="璧峰鏃堕棿 - 缁堟鏃堕棿" autocomplete="off" style="width: 300px">
+                        </div>
+                    </div>
+                    <div class="layui-inline">
+                        <div class="layui-input-inline">
+                            <input class="layui-input" type="text" name="condition" placeholder="璇疯緭鍏�" autocomplete="off">
+                        </div>
+                    </div>
+                    <div class="layui-inline">&emsp;
+                        <button class="layui-btn icon-btn" lay-filter="search" lay-submit>
+                            <i class="layui-icon">&#xe615;</i>鎼滅储
+                        </button>
+                        <button class="layui-btn icon-btn" lay-filter="reset" lay-submit>
+                            <i class="layui-icon">&#xe666;</i>閲嶇疆
+                        </button>
+                    </div>
+                </div>
+            </div>
+            <table class="layui-hide" id="mat" lay-filter="mat"></table>
+        </div>
+    </div>
+</div>
+
+<script type="text/html" id="toolbar">
+    <div class="layui-btn-container">
+        <button class="layui-btn layui-btn-sm" id="btn-add" lay-event="addData">鏂板</button>
+        <button class="layui-btn layui-btn-sm layui-btn-danger" id="btn-delete" lay-event="deleteData">鍒犻櫎</button>
+        <button class="layui-btn layui-btn-primary layui-btn-sm" id="btn-export" lay-event="exportData" style="float: right">瀵煎嚭</button>
+    </div>
+</script>
+
+<script type="text/html" id="operate">
+    <a class="layui-btn layui-btn-primary layui-btn-xs btn-edit" lay-event="edit">淇敼</a>
+    <a class="layui-btn layui-btn-danger layui-btn-xs btn-edit" lay-event="del">鍒犻櫎</a>
+</script>
+
+<script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
+<script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/js/cool.js" charset="utf-8"></script>
+<script type="text/javascript" src="../../static/js/mat/mat.js" charset="utf-8"></script>
+</body>
+<!-- 琛ㄥ崟寮圭獥 -->
+<script type="text/html" id="editDialog">
+    <form id="detail" lay-filter="detail" class="layui-form admin-form model-form">
+        <input name="id" type="hidden">
+        <div class="layui-row">
+            <div class="layui-col-md12">
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="uuid" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="tagId" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label layui-form-required">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="matnr" placeholder="璇疯緭鍏�" lay-vertype="tips" lay-verify="required">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="maktx" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="name" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="specs" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="model" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="color" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="brand" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="unit" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="price" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="sku" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="units" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="barcode" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="origin" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="manu" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="manuDate" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="itemNum" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="safeQty" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="weight" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="manLength" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="volume" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="threeCode" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="supp" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="suppCode" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="beBatch" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="deadTime" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="deadWarn" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="source" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="inspect" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="danger" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label layui-form-required">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="status" placeholder="璇疯緭鍏�" lay-vertype="tips" lay-verify="required">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="createBy" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="createTime" id="createTime$" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="updateBy" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="updateTime" id="updateTime$" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="memo" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="storeMax" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="storeMin" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="storeMaxDate" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="width" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label">: </label>
+                    <div class="layui-input-block">
+                        <input class="layui-input" name="height" placeholder="璇疯緭鍏�">
+                    </div>
+                </div>
+
+             </div>
+        </div>
+        <hr class="layui-bg-gray">
+        <div class="layui-form-item text-right">
+            <button class="layui-btn" lay-filter="editSubmit" lay-submit="">淇濆瓨</button>
+            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">鍙栨秷</button>
+        </div>
+    </form>
+</script>
+</html>
+

--
Gitblit v1.9.1