|
@@ -86,6 +86,12 @@ public class PlanManageController {
|
|
|
if(loginUser.getTenantId() != null) {
|
|
|
record.setTenantId(loginUser.getTenantId());
|
|
|
}
|
|
|
+ if(loginUser.getCompanyId() != null){
|
|
|
+ record.setCompanyOrgId(loginUser.getCompanyId().toString());
|
|
|
+ }
|
|
|
+ if(loginUser.getDepartmentId() != null){
|
|
|
+ record.setDepartmentOrgId(loginUser.getDepartmentId().toString());
|
|
|
+ }
|
|
|
int rows = planManageService.insertSelective(record);
|
|
|
if(rows > 0) {
|
|
|
return new AjaxMessage(ResultStatus.OK);
|