gdg
2021-03-22 c79e850cf9f4262a7644dfd512f671139a221819
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;
    }