|
@@ -576,7 +576,7 @@ public class NewPlatformApi {
|
|
|
@RequestMapping(value = "/userSave", method = RequestMethod.POST)
|
|
|
|
|
|
public CommonResult<String> userSave(@RequestParam(value = "organizationId") String organizationId,
|
|
|
- @RequestParam(value = "id") String departmentId,
|
|
|
+ @RequestParam(value = "departmentId") String departmentId,
|
|
|
@RequestParam(value = "name") String name,
|
|
|
@RequestParam(value = "uid" ,required = false) String uid,
|
|
|
@RequestParam(value = "phone") String phone
|
|
@@ -593,6 +593,7 @@ public class NewPlatformApi {
|
|
|
request.setUpdateBy(systemAdmin.getRealName());
|
|
|
request.setDepartmentId(departmentId);
|
|
|
request.setOrganizationId(organizationId);
|
|
|
+ organizationDepartmentUserService.save(request);
|
|
|
return CommonResult.success("操作成功");
|
|
|
}
|
|
|
|