李宇
2021-03-31 6d4517c51c0e0d528167c5faa2a5b70a74498e0a
src/main/java/com/nanometer/smartlab/controller/UserMngController.java
@@ -103,6 +103,14 @@
    public void onNewBtnClick() {
        this.sysUser = new SysUser();
        if (this.selectedList.size() > 1) {
            FacesUtils.warn("不能多选");
            return;
        }
        if (this.selectedList.size() == 1) {
            this.sysUser = this.sysUserService.getSysUser(this.selectedList.get(0).getId());
            this.sysUser.setId(null);
        }
        this.action = Constants.ACTION_ADD;
    }