From 074f334d060ec7d33d39cdeaae5ed84a2a2dd3a3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 22 八月 2023 18:20:59 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmMes
---
server/src/main/java/doumeemes/biz/system/impl/SystemUserBizImpl.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/server/src/main/java/doumeemes/biz/system/impl/SystemUserBizImpl.java b/server/src/main/java/doumeemes/biz/system/impl/SystemUserBizImpl.java
index 29f3f26..e14e811 100644
--- a/server/src/main/java/doumeemes/biz/system/impl/SystemUserBizImpl.java
+++ b/server/src/main/java/doumeemes/biz/system/impl/SystemUserBizImpl.java
@@ -325,10 +325,12 @@
cu.setDeleted(Constants.ZERO);
cu.setCreateTime(date);
cu.setCode("NO."+userParam.getPhone());
+ cu.setIsMaster(com.getIsNew());//鏄惁涓昏处鍙�
cu.setPhoneAuthStatus(Constants.ZERO+"");
cu.setQrcodeid(barcodeParamExtService.getByType(com.getId(),com.getRootDepartment().getId(),Constants.BARCODEPARAM_TYPE.user)+"");
cu.setComDepartId(com.getRootDepartment().getId());
cu.setDepartmentId(com.getRootDepartment().getId());
+ cu.setOrigin(userParam.getOrigin());
if(userParam.getOrigin() == Constants.COMPANY_ORIGIN.lingyang){
cu.setLingyangUserid(userParam.getUserId());
}else if(userParam.getOrigin() == Constants.COMPANY_ORIGIN.edgp){
@@ -463,7 +465,6 @@
if(srList!=null && srList.size()>0){
List<SystemUserRole> urList = new ArrayList<>();
for(SystemRole tr :srList){
-
SystemUserRole userRole = new SystemUserRole();
userRole.setUserId(cu.getUserId());
userRole.setDeleted(false);
@@ -473,7 +474,7 @@
userRole.setCreateTime(userRole.getInvalidTime());
userRole.setRemark("缇氱緤浼佷笟鐢熸垚鑷姩瀵煎叆");
urList.add(userRole);
-// systemUserRoleMapper.insert(userRole);
+// systemUserRoleMapper.insert(userRole);
}
systemRoleMapper.insertRoleUserBatch(urList);
}
--
Gitblit v1.9.3