|
@@ -1,6 +1,7 @@
|
|
|
package com.lc.ibps.wx.services.impl;
|
|
package com.lc.ibps.wx.services.impl;
|
|
|
|
|
|
|
|
import com.lc.ibps.wx.dao.UserRoleMapper;
|
|
import com.lc.ibps.wx.dao.UserRoleMapper;
|
|
|
|
|
+import com.lc.ibps.wx.entity.UserRole;
|
|
|
import com.lc.ibps.wx.services.UserRoleService;
|
|
import com.lc.ibps.wx.services.UserRoleService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
@@ -15,7 +16,7 @@ public class UserRoleServiceImps implements UserRoleService {
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
public String findUserRole(String userid) {
|
|
public String findUserRole(String userid) {
|
|
|
- List<com.lc.ibps.wx.entity.UserRole> userRoleList = userRoleMapper.findByUserId(userid);
|
|
|
|
|
|
|
+ List<UserRole> userRoleList = userRoleMapper.findByUserId(userid);
|
|
|
String str = new String();
|
|
String str = new String();
|
|
|
for (int i = 0;i<userRoleList.size();i++){
|
|
for (int i = 0;i<userRoleList.size();i++){
|
|
|
if(i==userRoleList.size()-1){
|
|
if(i==userRoleList.size()-1){
|