Selaa lähdekoodia

git-svn-id: https://192.168.57.71/svn/jsgkj@1537 931142cf-59ea-a443-aa0e-51397b428577

ld_xuhx 8 vuotta sitten
vanhempi
commit
1542fd2498

+ 2 - 1
gkjsjy/trunk/src/com/cxfws/userLogin/service/impl/LoginService.java

@@ -12,6 +12,7 @@ import org.springframework.stereotype.Service;
 import com.cxfws.userLogin.service.ILoginService;
 import com.cxfws.userLogin.service.entity.UserJson;
 import com.xt.jygl.common.BaseWebCtl;
+import com.xt.jygl.common.GlobalData;
 import com.xtframe.sec.role.entity.RoleEntity;
 import com.xtframe.sec.user.dao.UserDao;
 import com.xtframe.sec.user.entity.UserEntity;
@@ -28,7 +29,7 @@ public class LoginService extends BaseWebCtl implements ILoginService{
 		if (!this.checkUser()){
 			return BaseWebCtl.NOLOGIN;
 		}
-		UserEntity user = userService.findByUname(username);
+		UserEntity user = userService.findByUnameszd(username,GlobalData.CITY_CODE);
 		UserJson userJson = new UserJson();
 		if(user!=null){
 			user.setSsglryzw(user.getSsglry()!=null?user.getSsglry().getXm(): "");