|
@@ -370,10 +370,10 @@ public class AuthServiceImpl implements AuthService {
|
|
|
* @param auth
|
|
|
*/
|
|
|
public void relaMech(CmBrandAuthPo auth){
|
|
|
- String relaId=auth.getId().toString();
|
|
|
- String relaName=auth.getAuthParty();
|
|
|
String[] relaIdArr = auth.getRelationId().split(",");
|
|
|
for(int i=0;i<relaIdArr.length;i++){
|
|
|
+ String relaId=auth.getId().toString();
|
|
|
+ String relaName=auth.getAuthParty();
|
|
|
Integer id = Integer.valueOf(relaIdArr[i]);
|
|
|
//先获取该机构是否与其他机构关联,有则合并
|
|
|
CmBrandAuthPo relationInfo = authMapper.getRelationInfo(id);
|