|
@@ -110,6 +110,10 @@ public class AdminDeptLogic {
|
|
|
}
|
|
|
|
|
|
public void add(AdminDept adminDept) {
|
|
|
+ AdminDept adminDeptServiceById = adminDeptService.getById(adminDept.getPId());
|
|
|
+
|
|
|
+ adminDept.setCompanyWechatId(adminDeptServiceById.getCompanyWechatId());
|
|
|
+ adminDept.setCompanyWechatName(adminDeptServiceById.getCompanyWechatName());
|
|
|
adminDept.insert();
|
|
|
}
|
|
|
|