소스 검색

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

ld_xuhx 8 년 전
부모
커밋
1542fd2498
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      gkjsjy/trunk/src/com/cxfws/userLogin/service/impl/LoginService.java

+ 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(): "");