From 50c8315f324e502b8b1c95dc546ce0b87820efc4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 29 一月 2024 10:54:26 +0800
Subject: [PATCH] #

---
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserLoginServiceImpl.java       |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/OperationRecordServiceImpl.java |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserServiceImpl.java            |   12 
 zy-asrs-wcs/src/main/resources/mapper/sys/DeptMapper.xml                                   |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserRoleMapper.java                   |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserService.java                     |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/DeptMapper.java                       |   12 
 zy-asrs-wcs/src/main/resources/mapper/sys/RoleMenuMapper.xml                               |    5 
 zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml                               |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/User.java                             |  319 +++++++++++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserRole.java                         |   40 +
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/MenuMapper.java                       |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/OperationRecordMapper.java            |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java                             |  152 +++++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleService.java                     |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/MenuServiceImpl.java            |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Dept.java                             |  266 +++++++++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/CodeBuilder.java                           |    2 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/OperationRecord.java                  |  182 ++++++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserRoleService.java                 |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleMenuService.java                 |    8 
 zy-asrs-wcs/src/main/resources/mapper/sys/MenuMapper.xml                                   |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserMapper.java                       |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/DeptService.java                     |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserRoleServiceImpl.java        |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserLoginMapper.java                  |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserLoginService.java                |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleMenuServiceImpl.java        |   12 
 zy-asrs-wcs/src/main/resources/mapper/sys/RoleMapper.xml                                   |    5 
 zy-asrs-wcs/src/main/resources/mapper/sys/UserMapper.xml                                   |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/DeptServiceImpl.java            |   12 
 zy-asrs-wcs/src/main/resources/mapper/sys/UserLoginMapper.xml                              |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/OperationRecordService.java          |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/MenuService.java                     |    8 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Menu.java                             |  287 ++++++++++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleServiceImpl.java            |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMapper.java                       |   12 
 zy-asrs-wcs/src/main/resources/mapper/sys/OperationRecordMapper.xml                        |    5 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserLogin.java                        |   96 +++
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMenuMapper.java                   |   12 
 zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/RoleMenu.java                         |   40 +
 41 files changed, 1,679 insertions(+), 1 deletions(-)

diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Dept.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Dept.java
new file mode 100644
index 0000000..f508616
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Dept.java
@@ -0,0 +1,266 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.HostService;
+import com.zy.asrs.wcs.sys.service.UserService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_dept")
+public class Dept 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 name;
+
+    /**
+     * 涓婄骇閮ㄩ棬
+     */
+    @ApiModelProperty(value= "涓婄骇閮ㄩ棬")
+    private Long parentId;
+
+    /**
+     * 涓婄骇閮ㄩ棬鍚�
+     */
+    @ApiModelProperty(value= "涓婄骇閮ㄩ棬鍚�")
+    private String parentName;
+
+    /**
+     * 鍏宠仈璺緞
+     */
+    @ApiModelProperty(value= "鍏宠仈璺緞")
+    private String path;
+
+    /**
+     * 鍏宠仈璺緞鍚�
+     */
+    @ApiModelProperty(value= "鍏宠仈璺緞鍚�")
+    private String pathName;
+
+    /**
+     * 鍏ㄧО
+     */
+    @ApiModelProperty(value= "鍏ㄧО")
+    private String fullName;
+
+    /**
+     * 绠�杩�
+     */
+    @ApiModelProperty(value= "绠�杩�")
+    private String brief;
+
+    /**
+     * 鏍囪瘑
+     */
+    @ApiModelProperty(value= "鏍囪瘑")
+    private String code;
+
+    /**
+     * 绫诲瀷
+     */
+    @ApiModelProperty(value= "绫诲瀷")
+    private Integer type;
+
+    /**
+     * 璐熻矗浜�
+     */
+    @ApiModelProperty(value= "璐熻矗浜�")
+    private String leader;
+
+    /**
+     * 鏁伴噺
+     */
+    @ApiModelProperty(value= "鏁伴噺")
+    private Integer count;
+
+    /**
+     * 鎺掑簭
+     */
+    @ApiModelProperty(value= "鎺掑簭")
+    private Integer sort;
+
+    /**
+     * 鎵�灞炴満鏋�
+     */
+    @ApiModelProperty(value= "鎵�灞炴満鏋�")
+    private Long hostId;
+
+    /**
+     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
+     */
+    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    private Integer status;
+
+    /**
+     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
+     */
+    @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
+    private Integer deleted;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 娣诲姞浜哄憳
+     */
+    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    private Long createBy;
+
+    /**
+     * 淇敼鏃堕棿
+     */
+    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /**
+     * 淇敼浜哄憳
+     */
+    @ApiModelProperty(value= "淇敼浜哄憳")
+    private Long updateBy;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public Dept() {}
+
+    public Dept(String name,Long parentId,String parentName,String path,String pathName,String fullName,String brief,String code,Integer type,String leader,Integer count,Integer sort,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) {
+        this.name = name;
+        this.parentId = parentId;
+        this.parentName = parentName;
+        this.path = path;
+        this.pathName = pathName;
+        this.fullName = fullName;
+        this.brief = brief;
+        this.code = code;
+        this.type = type;
+        this.leader = leader;
+        this.count = count;
+        this.sort = sort;
+        this.hostId = hostId;
+        this.status = status;
+        this.deleted = deleted;
+        this.createTime = createTime;
+        this.createBy = createBy;
+        this.updateTime = updateTime;
+        this.updateBy = updateBy;
+        this.memo = memo;
+    }
+
+//    Dept dept = new Dept(
+//            null,    // 鍚嶇О[闈炵┖]
+//            null,    // 涓婄骇閮ㄩ棬
+//            null,    // 涓婄骇閮ㄩ棬鍚�
+//            null,    // 鍏宠仈璺緞
+//            null,    // 鍏宠仈璺緞鍚�
+//            null,    // 鍏ㄧО
+//            null,    // 绠�杩�
+//            null,    // 鏍囪瘑
+//            null,    // 绫诲瀷
+//            null,    // 璐熻矗浜�
+//            null,    // 鏁伴噺
+//            null,    // 鎺掑簭
+//            null,    // 鎵�灞炴満鏋�
+//            null,    // 鐘舵��
+//            null,    // 鏄惁鍒犻櫎
+//            null,    // 娣诲姞鏃堕棿
+//            null,    // 娣诲姞浜哄憳
+//            null,    // 淇敼鏃堕棿
+//            null,    // 淇敼浜哄憳
+//            null    // 澶囨敞
+//    );
+
+    public String getHostId$(){
+        HostService service = SpringUtils.getBean(HostService.class);
+        Host host = service.getById(this.hostId);
+        if (!Cools.isEmpty(host)){
+            return String.valueOf(host.getId());
+        }
+        return null;
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return "姝e父";
+            case 0:
+                return "绂佺敤";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+    public String getDeleted$(){
+        if (null == this.deleted){ return null; }
+        switch (this.deleted){
+            case 1:
+                return "鏄�";
+            case 0:
+                return "鍚�";
+            default:
+                return String.valueOf(this.deleted);
+        }
+    }
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+    public String getCreateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.createBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+    public String getUpdateTime$(){
+        if (Cools.isEmpty(this.updateTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+    }
+
+    public String getUpdateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.updateBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Menu.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Menu.java
new file mode 100644
index 0000000..127be25
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Menu.java
@@ -0,0 +1,287 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.HostService;
+import com.zy.asrs.wcs.sys.service.UserService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_menu")
+public class Menu 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 name;
+
+    /**
+     * 涓婄骇鑿滃崟
+     */
+    @ApiModelProperty(value= "涓婄骇鑿滃崟")
+    private Long parentId;
+
+    /**
+     * 涓婄骇鑿滃崟鍚�
+     */
+    @ApiModelProperty(value= "涓婄骇鑿滃崟鍚�")
+    private String parentName;
+
+    /**
+     * 鍏宠仈璺緞
+     */
+    @ApiModelProperty(value= "鍏宠仈璺緞")
+    private String path;
+
+    /**
+     * 鍏宠仈璺緞鍚�
+     */
+    @ApiModelProperty(value= "鍏宠仈璺緞鍚�")
+    private String pathName;
+
+    /**
+     * 璺敱鍦板潃
+     */
+    @ApiModelProperty(value= "璺敱鍦板潃")
+    private String route;
+
+    /**
+     * 绠�杩�
+     */
+    @ApiModelProperty(value= "绠�杩�")
+    private String brief;
+
+    /**
+     * 鏍囪瘑
+     */
+    @ApiModelProperty(value= "鏍囪瘑")
+    private String code;
+
+    /**
+     * 绫诲瀷 0: 鑿滃崟  1: 鎸夐挳  
+     */
+    @ApiModelProperty(value= "绫诲瀷 0: 鑿滃崟  1: 鎸夐挳  ")
+    private Integer type;
+
+    /**
+     * 鏉冮檺鏍囪瘑
+     */
+    @ApiModelProperty(value= "鏉冮檺鏍囪瘑")
+    private String authority;
+
+    /**
+     * 鑿滃崟鍥炬爣
+     */
+    @ApiModelProperty(value= "鑿滃崟鍥炬爣")
+    private String icon;
+
+    /**
+     * 鎺掑簭
+     */
+    @ApiModelProperty(value= "鎺掑簭")
+    private Integer sort;
+
+    /**
+     * 鍏冧俊鎭�
+     */
+    @ApiModelProperty(value= "鍏冧俊鎭�")
+    private String meta;
+
+    /**
+     * 鎵�灞炴満鏋�
+     */
+    @ApiModelProperty(value= "鎵�灞炴満鏋�")
+    private Long hostId;
+
+    /**
+     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
+     */
+    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    private Integer status;
+
+    /**
+     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
+     */
+    @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
+    private Integer deleted;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 娣诲姞浜哄憳
+     */
+    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    private Long createBy;
+
+    /**
+     * 淇敼鏃堕棿
+     */
+    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /**
+     * 淇敼浜哄憳
+     */
+    @ApiModelProperty(value= "淇敼浜哄憳")
+    private Long updateBy;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public Menu() {}
+
+    public Menu(String name,Long parentId,String parentName,String path,String pathName,String route,String brief,String code,Integer type,String authority,String icon,Integer sort,String meta,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) {
+        this.name = name;
+        this.parentId = parentId;
+        this.parentName = parentName;
+        this.path = path;
+        this.pathName = pathName;
+        this.route = route;
+        this.brief = brief;
+        this.code = code;
+        this.type = type;
+        this.authority = authority;
+        this.icon = icon;
+        this.sort = sort;
+        this.meta = meta;
+        this.hostId = hostId;
+        this.status = status;
+        this.deleted = deleted;
+        this.createTime = createTime;
+        this.createBy = createBy;
+        this.updateTime = updateTime;
+        this.updateBy = updateBy;
+        this.memo = memo;
+    }
+
+//    Menu menu = new Menu(
+//            null,    // 鍚嶇О[闈炵┖]
+//            null,    // 涓婄骇鑿滃崟
+//            null,    // 涓婄骇鑿滃崟鍚�
+//            null,    // 鍏宠仈璺緞
+//            null,    // 鍏宠仈璺緞鍚�
+//            null,    // 璺敱鍦板潃
+//            null,    // 绠�杩�
+//            null,    // 鏍囪瘑
+//            null,    // 绫诲瀷
+//            null,    // 鏉冮檺鏍囪瘑
+//            null,    // 鑿滃崟鍥炬爣
+//            null,    // 鎺掑簭
+//            null,    // 鍏冧俊鎭�
+//            null,    // 鎵�灞炴満鏋�
+//            null,    // 鐘舵��
+//            null,    // 鏄惁鍒犻櫎
+//            null,    // 娣诲姞鏃堕棿
+//            null,    // 娣诲姞浜哄憳
+//            null,    // 淇敼鏃堕棿
+//            null,    // 淇敼浜哄憳
+//            null    // 澶囨敞
+//    );
+
+    public String getType$(){
+        if (null == this.type){ return null; }
+        switch (this.type){
+            case 0:
+                return "鑿滃崟";
+            case 1:
+                return "鎸夐挳";
+            default:
+                return String.valueOf(this.type);
+        }
+    }
+
+    public String getHostId$(){
+        HostService service = SpringUtils.getBean(HostService.class);
+        Host host = service.getById(this.hostId);
+        if (!Cools.isEmpty(host)){
+            return String.valueOf(host.getId());
+        }
+        return null;
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return "姝e父";
+            case 0:
+                return "绂佺敤";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+    public String getDeleted$(){
+        if (null == this.deleted){ return null; }
+        switch (this.deleted){
+            case 1:
+                return "鏄�";
+            case 0:
+                return "鍚�";
+            default:
+                return String.valueOf(this.deleted);
+        }
+    }
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+    public String getCreateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.createBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+    public String getUpdateTime$(){
+        if (Cools.isEmpty(this.updateTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+    }
+
+    public String getUpdateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.updateBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/OperationRecord.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/OperationRecord.java
new file mode 100644
index 0000000..5fc8064
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/OperationRecord.java
@@ -0,0 +1,182 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.HostService;
+import com.zy.asrs.wcs.sys.service.UserService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_operation_record")
+public class OperationRecord 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 namespace;
+
+    /**
+     * 鎺ュ彛鍦板潃
+     */
+    @ApiModelProperty(value= "鎺ュ彛鍦板潃")
+    private String url;
+
+    /**
+     * 骞冲彴瀵嗛挜
+     */
+    @ApiModelProperty(value= "骞冲彴瀵嗛挜")
+    private String appkey;
+
+    /**
+     * 鏃堕棿鎴�
+     */
+    @ApiModelProperty(value= "鏃堕棿鎴�")
+    private String timestamp;
+
+    /**
+     * 瀹㈡埛绔疘P
+     */
+    @ApiModelProperty(value= "瀹㈡埛绔疘P")
+    private String clientIp;
+
+    /**
+     * 璇锋眰鍐呭
+     */
+    @ApiModelProperty(value= "璇锋眰鍐呭")
+    private String request;
+
+    /**
+     * 鍝嶅簲鍐呭
+     */
+    @ApiModelProperty(value= "鍝嶅簲鍐呭")
+    private String response;
+
+    /**
+     * 寮傚父鍐呭
+     */
+    @ApiModelProperty(value= "寮傚父鍐呭")
+    private String err;
+
+    /**
+     * 缁撴灉 1: 鎴愬姛  0: 澶辫触  
+     */
+    @ApiModelProperty(value= "缁撴灉 1: 鎴愬姛  0: 澶辫触  ")
+    private Integer result;
+
+    /**
+     * 鐢ㄦ埛
+     */
+    @ApiModelProperty(value= "鐢ㄦ埛")
+    private Long userId;
+
+    /**
+     * 鎵�灞炴満鏋�
+     */
+    @ApiModelProperty(value= "鎵�灞炴満鏋�")
+    private Long hostId;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public OperationRecord() {}
+
+    public OperationRecord(String namespace,String url,String appkey,String timestamp,String clientIp,String request,String response,String err,Integer result,Long userId,Long hostId,Date createTime,String memo) {
+        this.namespace = namespace;
+        this.url = url;
+        this.appkey = appkey;
+        this.timestamp = timestamp;
+        this.clientIp = clientIp;
+        this.request = request;
+        this.response = response;
+        this.err = err;
+        this.result = result;
+        this.userId = userId;
+        this.hostId = hostId;
+        this.createTime = createTime;
+        this.memo = memo;
+    }
+
+//    OperationRecord operationRecord = new OperationRecord(
+//            null,    // 鍚嶇О绌洪棿
+//            null,    // 鎺ュ彛鍦板潃
+//            null,    // 骞冲彴瀵嗛挜
+//            null,    // 鏃堕棿鎴�
+//            null,    // 瀹㈡埛绔疘P
+//            null,    // 璇锋眰鍐呭
+//            null,    // 鍝嶅簲鍐呭
+//            null,    // 寮傚父鍐呭
+//            null,    // 缁撴灉
+//            null,    // 鐢ㄦ埛
+//            null,    // 鎵�灞炴満鏋�
+//            null,    // 娣诲姞鏃堕棿
+//            null    // 澶囨敞
+//    );
+
+    public String getResult$(){
+        if (null == this.result){ return null; }
+        switch (this.result){
+            case 1:
+                return "鎴愬姛";
+            case 0:
+                return "澶辫触";
+            default:
+                return String.valueOf(this.result);
+        }
+    }
+
+    public String getUserId$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.userId);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+    public String getHostId$(){
+        HostService service = SpringUtils.getBean(HostService.class);
+        Host host = service.getById(this.hostId);
+        if (!Cools.isEmpty(host)){
+            return String.valueOf(host.getId());
+        }
+        return null;
+    }
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java
new file mode 100644
index 0000000..0b663a8
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Role.java
@@ -0,0 +1,152 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.HostService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_role")
+public class Role 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 name;
+
+    /**
+     * 鏍囪瘑
+     */
+    @ApiModelProperty(value= "鏍囪瘑")
+    private String code;
+
+    /**
+     * 鎵�灞炴満鏋�
+     */
+    @ApiModelProperty(value= "鎵�灞炴満鏋�")
+    private Long hostId;
+
+    /**
+     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
+     */
+    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    private Integer status;
+
+    /**
+     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
+     */
+    @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
+    private Integer deleted;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 淇敼鏃堕棿
+     */
+    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public Role() {}
+
+    public Role(String name,String code,Long hostId,Integer status,Integer deleted,Date createTime,Date updateTime,String memo) {
+        this.name = name;
+        this.code = code;
+        this.hostId = hostId;
+        this.status = status;
+        this.deleted = deleted;
+        this.createTime = createTime;
+        this.updateTime = updateTime;
+        this.memo = memo;
+    }
+
+//    Role role = new Role(
+//            null,    // 鍚嶇О[闈炵┖]
+//            null,    // 鏍囪瘑
+//            null,    // 鎵�灞炴満鏋�
+//            null,    // 鐘舵��
+//            null,    // 鏄惁鍒犻櫎
+//            null,    // 娣诲姞鏃堕棿
+//            null,    // 淇敼鏃堕棿
+//            null    // 澶囨敞
+//    );
+
+    public String getHostId$(){
+        HostService service = SpringUtils.getBean(HostService.class);
+        Host host = service.getById(this.hostId);
+        if (!Cools.isEmpty(host)){
+            return String.valueOf(host.getId());
+        }
+        return null;
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return "姝e父";
+            case 0:
+                return "绂佺敤";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+    public String getDeleted$(){
+        if (null == this.deleted){ return null; }
+        switch (this.deleted){
+            case 1:
+                return "鏄�";
+            case 0:
+                return "鍚�";
+            default:
+                return String.valueOf(this.deleted);
+        }
+    }
+
+    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/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/RoleMenu.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/RoleMenu.java
new file mode 100644
index 0000000..9892fca
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/RoleMenu.java
@@ -0,0 +1,40 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+@TableName("sys_role_menu")
+public class RoleMenu implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @ApiModelProperty(value= "")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    @ApiModelProperty(value= "")
+    private Long roleId;
+
+    @ApiModelProperty(value= "")
+    private Long meunId;
+
+    public RoleMenu() {}
+
+    public RoleMenu(Long roleId,Long meunId) {
+        this.roleId = roleId;
+        this.meunId = meunId;
+    }
+
+//    RoleMenu roleMenu = new RoleMenu(
+//            null,    // [闈炵┖]
+//            null    // [闈炵┖]
+//    );
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/User.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/User.java
new file mode 100644
index 0000000..b285da2
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/User.java
@@ -0,0 +1,319 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.DeptService;
+import com.zy.asrs.wcs.sys.service.HostService;
+import com.zy.asrs.wcs.sys.service.UserService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_user")
+public class User 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 username;
+
+    /**
+     * 瀵嗙爜
+     */
+    @ApiModelProperty(value= "瀵嗙爜")
+    private String password;
+
+    /**
+     * 鏄电О
+     */
+    @ApiModelProperty(value= "鏄电О")
+    private String nickname;
+
+    /**
+     * 澶村儚
+     */
+    @ApiModelProperty(value= "澶村儚")
+    private String avatar;
+
+    /**
+     * 宸ュ彿
+     */
+    @ApiModelProperty(value= "宸ュ彿")
+    private String code;
+
+    /**
+     * 鎬у埆 0: 鏈煡  1: 鐢�  2: 濂�  
+     */
+    @ApiModelProperty(value= "鎬у埆 0: 鏈煡  1: 鐢�  2: 濂�  ")
+    private Integer sex;
+
+    /**
+     * 鎵嬫満鍙�
+     */
+    @ApiModelProperty(value= "鎵嬫満鍙�")
+    private String phone;
+
+    /**
+     * 閭
+     */
+    @ApiModelProperty(value= "閭")
+    private String email;
+
+    /**
+     * 閭楠岃瘉 0: 鍚�  1: 鏄�  
+     */
+    @ApiModelProperty(value= "閭楠岃瘉 0: 鍚�  1: 鏄�  ")
+    private Integer emailVerified;
+
+    /**
+     * 鎵�灞為儴闂�
+     */
+    @ApiModelProperty(value= "鎵�灞為儴闂�")
+    private Long deptId;
+
+    /**
+     * 鐪熷疄濮撳悕
+     */
+    @ApiModelProperty(value= "鐪熷疄濮撳悕")
+    private String realName;
+
+    /**
+     * 韬唤璇佸彿
+     */
+    @ApiModelProperty(value= "韬唤璇佸彿")
+    private String idCard;
+
+    /**
+     * 鍑虹敓鏃ユ湡
+     */
+    @ApiModelProperty(value= "鍑虹敓鏃ユ湡")
+    private String birthday;
+
+    /**
+     * 涓汉绠�浠�
+     */
+    @ApiModelProperty(value= "涓汉绠�浠�")
+    private String introduction;
+
+    /**
+     * 鎵�灞炴満鏋�
+     */
+    @ApiModelProperty(value= "鎵�灞炴満鏋�")
+    private Long hostId;
+
+    /**
+     * 鐘舵�� 1: 姝e父  0: 绂佺敤  
+     */
+    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    private Integer status;
+
+    /**
+     * 鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  
+     */
+    @ApiModelProperty(value= "鏄惁鍒犻櫎 1: 鏄�  0: 鍚�  ")
+    private Integer deleted;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 娣诲姞浜哄憳
+     */
+    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    private Long createBy;
+
+    /**
+     * 淇敼鏃堕棿
+     */
+    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date updateTime;
+
+    /**
+     * 淇敼浜哄憳
+     */
+    @ApiModelProperty(value= "淇敼浜哄憳")
+    private Long updateBy;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public User() {}
+
+    public User(String username,String password,String nickname,String avatar,String code,Integer sex,String phone,String email,Integer emailVerified,Long deptId,String realName,String idCard,String birthday,String introduction,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) {
+        this.username = username;
+        this.password = password;
+        this.nickname = nickname;
+        this.avatar = avatar;
+        this.code = code;
+        this.sex = sex;
+        this.phone = phone;
+        this.email = email;
+        this.emailVerified = emailVerified;
+        this.deptId = deptId;
+        this.realName = realName;
+        this.idCard = idCard;
+        this.birthday = birthday;
+        this.introduction = introduction;
+        this.hostId = hostId;
+        this.status = status;
+        this.deleted = deleted;
+        this.createTime = createTime;
+        this.createBy = createBy;
+        this.updateTime = updateTime;
+        this.updateBy = updateBy;
+        this.memo = memo;
+    }
+
+//    User user = new User(
+//            null,    // 璐﹀彿[闈炵┖]
+//            null,    // 瀵嗙爜
+//            null,    // 鏄电О
+//            null,    // 澶村儚
+//            null,    // 宸ュ彿
+//            null,    // 鎬у埆
+//            null,    // 鎵嬫満鍙�
+//            null,    // 閭
+//            null,    // 閭楠岃瘉
+//            null,    // 鎵�灞為儴闂�
+//            null,    // 鐪熷疄濮撳悕
+//            null,    // 韬唤璇佸彿
+//            null,    // 鍑虹敓鏃ユ湡
+//            null,    // 涓汉绠�浠�
+//            null,    // 鎵�灞炴満鏋�
+//            null,    // 鐘舵��
+//            null,    // 鏄惁鍒犻櫎
+//            null,    // 娣诲姞鏃堕棿
+//            null,    // 娣诲姞浜哄憳
+//            null,    // 淇敼鏃堕棿
+//            null,    // 淇敼浜哄憳
+//            null    // 澶囨敞
+//    );
+
+    public String getSex$(){
+        if (null == this.sex){ return null; }
+        switch (this.sex){
+            case 0:
+                return "鏈煡";
+            case 1:
+                return "鐢�";
+            case 2:
+                return "濂�";
+            default:
+                return String.valueOf(this.sex);
+        }
+    }
+
+    public String getEmailVerified$(){
+        if (null == this.emailVerified){ return null; }
+        switch (this.emailVerified){
+            case 0:
+                return "鍚�";
+            case 1:
+                return "鏄�";
+            default:
+                return String.valueOf(this.emailVerified);
+        }
+    }
+
+    public String getDeptId$(){
+        DeptService service = SpringUtils.getBean(DeptService.class);
+        Dept dept = service.getById(this.deptId);
+        if (!Cools.isEmpty(dept)){
+            return String.valueOf(dept.getId());
+        }
+        return null;
+    }
+
+    public String getHostId$(){
+        HostService service = SpringUtils.getBean(HostService.class);
+        Host host = service.getById(this.hostId);
+        if (!Cools.isEmpty(host)){
+            return String.valueOf(host.getId());
+        }
+        return null;
+    }
+
+    public String getStatus$(){
+        if (null == this.status){ return null; }
+        switch (this.status){
+            case 1:
+                return "姝e父";
+            case 0:
+                return "绂佺敤";
+            default:
+                return String.valueOf(this.status);
+        }
+    }
+
+    public String getDeleted$(){
+        if (null == this.deleted){ return null; }
+        switch (this.deleted){
+            case 1:
+                return "鏄�";
+            case 0:
+                return "鍚�";
+            default:
+                return String.valueOf(this.deleted);
+        }
+    }
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+    public String getCreateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.createBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+    public String getUpdateTime$(){
+        if (Cools.isEmpty(this.updateTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
+    }
+
+    public String getUpdateBy$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.updateBy);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserLogin.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserLogin.java
new file mode 100644
index 0000000..4ad6a5c
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserLogin.java
@@ -0,0 +1,96 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.zy.asrs.framework.common.Cools;
+import com.zy.asrs.framework.common.SpringUtils;
+import com.zy.asrs.wcs.sys.service.UserService;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+@Data
+@TableName("sys_user_login")
+public class UserLogin implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * ID
+     */
+    @ApiModelProperty(value= "ID")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    /**
+     * 鐢ㄦ埛
+     */
+    @ApiModelProperty(value= "鐢ㄦ埛")
+    private Long userId;
+
+    /**
+     * 瀵嗛挜
+     */
+    @ApiModelProperty(value= "瀵嗛挜")
+    private String token;
+
+    /**
+     * 娣诲姞鏃堕棿
+     */
+    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    private Date createTime;
+
+    /**
+     * 鐧诲綍绯荤粺
+     */
+    @ApiModelProperty(value= "鐧诲綍绯荤粺")
+    private String system;
+
+    /**
+     * 澶囨敞
+     */
+    @ApiModelProperty(value= "澶囨敞")
+    private String memo;
+
+    public UserLogin() {}
+
+    public UserLogin(Long userId,String token,Date createTime,String system,String memo) {
+        this.userId = userId;
+        this.token = token;
+        this.createTime = createTime;
+        this.system = system;
+        this.memo = memo;
+    }
+
+//    UserLogin userLogin = new UserLogin(
+//            null,    // 鐢ㄦ埛[闈炵┖]
+//            null,    // 瀵嗛挜
+//            null,    // 娣诲姞鏃堕棿
+//            null,    // 鐧诲綍绯荤粺
+//            null    // 澶囨敞
+//    );
+
+    public String getUserId$(){
+        UserService service = SpringUtils.getBean(UserService.class);
+        User user = service.getById(this.userId);
+        if (!Cools.isEmpty(user)){
+            return String.valueOf(user.getId());
+        }
+        return null;
+    }
+
+    public String getCreateTime$(){
+        if (Cools.isEmpty(this.createTime)){
+            return "";
+        }
+        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
+    }
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserRole.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserRole.java
new file mode 100644
index 0000000..b298634
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/UserRole.java
@@ -0,0 +1,40 @@
+package com.zy.asrs.wcs.sys.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+
+import java.io.Serializable;
+
+@Data
+@TableName("sys_user_role")
+public class UserRole implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    @ApiModelProperty(value= "")
+    @TableId(value = "id", type = IdType.AUTO)
+    private Long id;
+
+    @ApiModelProperty(value= "")
+    private Long userId;
+
+    @ApiModelProperty(value= "")
+    private Long roleId;
+
+    public UserRole() {}
+
+    public UserRole(Long userId,Long roleId) {
+        this.userId = userId;
+        this.roleId = roleId;
+    }
+
+//    UserRole userRole = new UserRole(
+//            null,    // [闈炵┖]
+//            null    // [闈炵┖]
+//    );
+
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/DeptMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/DeptMapper.java
new file mode 100644
index 0000000..d077257
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/DeptMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.Dept;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface DeptMapper extends BaseMapper<Dept> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/MenuMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/MenuMapper.java
new file mode 100644
index 0000000..8839d22
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/MenuMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.Menu;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface MenuMapper extends BaseMapper<Menu> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/OperationRecordMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/OperationRecordMapper.java
new file mode 100644
index 0000000..3fd88a2
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/OperationRecordMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.OperationRecord;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface OperationRecordMapper extends BaseMapper<OperationRecord> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMapper.java
new file mode 100644
index 0000000..2919b46
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.Role;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface RoleMapper extends BaseMapper<Role> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMenuMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMenuMapper.java
new file mode 100644
index 0000000..67f412c
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/RoleMenuMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.RoleMenu;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserLoginMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserLoginMapper.java
new file mode 100644
index 0000000..cc15246
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserLoginMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.UserLogin;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface UserLoginMapper extends BaseMapper<UserLogin> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserMapper.java
new file mode 100644
index 0000000..9b9939e
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.User;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface UserMapper extends BaseMapper<User> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserRoleMapper.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserRoleMapper.java
new file mode 100644
index 0000000..2832d4f
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/mapper/UserRoleMapper.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.mapper;
+
+import com.zy.asrs.wcs.sys.entity.UserRole;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface UserRoleMapper extends BaseMapper<UserRole> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/DeptService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/DeptService.java
new file mode 100644
index 0000000..c6fc874
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/DeptService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.Dept;
+
+public interface DeptService extends IService<Dept> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/MenuService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/MenuService.java
new file mode 100644
index 0000000..82e2b10
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/MenuService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.Menu;
+
+public interface MenuService extends IService<Menu> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/OperationRecordService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/OperationRecordService.java
new file mode 100644
index 0000000..24777fa
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/OperationRecordService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.OperationRecord;
+
+public interface OperationRecordService extends IService<OperationRecord> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleMenuService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleMenuService.java
new file mode 100644
index 0000000..95a1abb
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleMenuService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.RoleMenu;
+
+public interface RoleMenuService extends IService<RoleMenu> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleService.java
new file mode 100644
index 0000000..898efa1
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/RoleService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.Role;
+
+public interface RoleService extends IService<Role> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserLoginService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserLoginService.java
new file mode 100644
index 0000000..d7e54b5
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserLoginService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.UserLogin;
+
+public interface UserLoginService extends IService<UserLogin> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserRoleService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserRoleService.java
new file mode 100644
index 0000000..e632cea
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserRoleService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.UserRole;
+
+public interface UserRoleService extends IService<UserRole> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserService.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserService.java
new file mode 100644
index 0000000..3514f62
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/UserService.java
@@ -0,0 +1,8 @@
+package com.zy.asrs.wcs.sys.service;
+
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.zy.asrs.wcs.sys.entity.User;
+
+public interface UserService extends IService<User> {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/DeptServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/DeptServiceImpl.java
new file mode 100644
index 0000000..95b5e3d
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/DeptServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.DeptMapper;
+import com.zy.asrs.wcs.sys.entity.Dept;
+import com.zy.asrs.wcs.sys.service.DeptService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("deptService")
+public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept> implements DeptService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/MenuServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/MenuServiceImpl.java
new file mode 100644
index 0000000..d2583d7
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/MenuServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.MenuMapper;
+import com.zy.asrs.wcs.sys.entity.Menu;
+import com.zy.asrs.wcs.sys.service.MenuService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("menuService")
+public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/OperationRecordServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/OperationRecordServiceImpl.java
new file mode 100644
index 0000000..4093df5
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/OperationRecordServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.OperationRecordMapper;
+import com.zy.asrs.wcs.sys.entity.OperationRecord;
+import com.zy.asrs.wcs.sys.service.OperationRecordService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("operationRecordService")
+public class OperationRecordServiceImpl extends ServiceImpl<OperationRecordMapper, OperationRecord> implements OperationRecordService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleMenuServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleMenuServiceImpl.java
new file mode 100644
index 0000000..089b4d5
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleMenuServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.RoleMenuMapper;
+import com.zy.asrs.wcs.sys.entity.RoleMenu;
+import com.zy.asrs.wcs.sys.service.RoleMenuService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("roleMenuService")
+public class RoleMenuServiceImpl extends ServiceImpl<RoleMenuMapper, RoleMenu> implements RoleMenuService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleServiceImpl.java
new file mode 100644
index 0000000..2baf5d9
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/RoleServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.RoleMapper;
+import com.zy.asrs.wcs.sys.entity.Role;
+import com.zy.asrs.wcs.sys.service.RoleService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("roleService")
+public class RoleServiceImpl extends ServiceImpl<RoleMapper, Role> implements RoleService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserLoginServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserLoginServiceImpl.java
new file mode 100644
index 0000000..1342f48
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserLoginServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.UserLoginMapper;
+import com.zy.asrs.wcs.sys.entity.UserLogin;
+import com.zy.asrs.wcs.sys.service.UserLoginService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("userLoginService")
+public class UserLoginServiceImpl extends ServiceImpl<UserLoginMapper, UserLogin> implements UserLoginService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserRoleServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserRoleServiceImpl.java
new file mode 100644
index 0000000..bee5204
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserRoleServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.UserRoleMapper;
+import com.zy.asrs.wcs.sys.entity.UserRole;
+import com.zy.asrs.wcs.sys.service.UserRoleService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("userRoleService")
+public class UserRoleServiceImpl extends ServiceImpl<UserRoleMapper, UserRole> implements UserRoleService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserServiceImpl.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserServiceImpl.java
new file mode 100644
index 0000000..b21c138
--- /dev/null
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/service/impl/UserServiceImpl.java
@@ -0,0 +1,12 @@
+package com.zy.asrs.wcs.sys.service.impl;
+
+import com.zy.asrs.wcs.sys.mapper.UserMapper;
+import com.zy.asrs.wcs.sys.entity.User;
+import com.zy.asrs.wcs.sys.service.UserService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import org.springframework.stereotype.Service;
+
+@Service("userService")
+public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
+
+}
diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/CodeBuilder.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/CodeBuilder.java
index ee7fe19..7ace39c 100644
--- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/CodeBuilder.java
+++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/utils/CodeBuilder.java
@@ -22,7 +22,7 @@
 //        generator.username="sa";
 //        generator.password="Zoneyung@zy56$";
 
-        generator.table="sys_host";
+        generator.table="sys_user_role";
         generator.packagePath="com.zy.asrs.wcs.sys";
 
         generator.controller = false;
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/DeptMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/DeptMapper.xml
new file mode 100644
index 0000000..6ea2f3b
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/DeptMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.DeptMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/MenuMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/MenuMapper.xml
new file mode 100644
index 0000000..94458c1
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/MenuMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.MenuMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/OperationRecordMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/OperationRecordMapper.xml
new file mode 100644
index 0000000..42d8bea
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/OperationRecordMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.OperationRecordMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMapper.xml
new file mode 100644
index 0000000..24febe9
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.RoleMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMenuMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMenuMapper.xml
new file mode 100644
index 0000000..f8392f8
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/RoleMenuMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.RoleMenuMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/UserLoginMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/UserLoginMapper.xml
new file mode 100644
index 0000000..ee05c9f
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/UserLoginMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.UserLoginMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/UserMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/UserMapper.xml
new file mode 100644
index 0000000..777ab91
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/UserMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.UserMapper">
+
+</mapper>
diff --git a/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml b/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml
new file mode 100644
index 0000000..192e5c1
--- /dev/null
+++ b/zy-asrs-wcs/src/main/resources/mapper/sys/UserRoleMapper.xml
@@ -0,0 +1,5 @@
+<?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.wcs.sys.mapper.UserRoleMapper">
+
+</mapper>

--
Gitblit v1.9.1