|
@@ -7,6 +7,7 @@ import com.fdkankan.manage.common.PageInfo;
|
|
import com.fdkankan.manage.common.ResultCode;
|
|
import com.fdkankan.manage.common.ResultCode;
|
|
import com.fdkankan.manage.entity.JyPlatform;
|
|
import com.fdkankan.manage.entity.JyPlatform;
|
|
import com.fdkankan.manage.entity.JyUser;
|
|
import com.fdkankan.manage.entity.JyUser;
|
|
|
|
+import com.fdkankan.manage.entity.SysUser;
|
|
import com.fdkankan.manage.exception.BusinessException;
|
|
import com.fdkankan.manage.exception.BusinessException;
|
|
import com.fdkankan.manage.mapper.IJyPlatformMapper;
|
|
import com.fdkankan.manage.mapper.IJyPlatformMapper;
|
|
import com.fdkankan.manage.service.*;
|
|
import com.fdkankan.manage.service.*;
|
|
@@ -96,6 +97,7 @@ public class JyPlatformServiceImpl extends ServiceImpl<IJyPlatformMapper, JyPlat
|
|
this.saveOrUpdate(jyPlatform);
|
|
this.saveOrUpdate(jyPlatform);
|
|
if (jyUser !=null){
|
|
if (jyUser !=null){
|
|
jyUserService.updatePlatformId(jyUser.getId(),jyPlatform.getId());
|
|
jyUserService.updatePlatformId(jyUser.getId(),jyPlatform.getId());
|
|
|
|
+ sysUserService.updateRoleId(jyUser.getSysUserId(),48L);
|
|
}
|
|
}
|
|
return jyPlatform;
|
|
return jyPlatform;
|
|
}
|
|
}
|