소스 검색

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

ld_xuhx 8 년 전
부모
커밋
627457e77b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      gkjsjy/trunk/src/com/xt/jygl/common/BaseWebCtl.java

+ 1 - 1
gkjsjy/trunk/src/com/xt/jygl/common/BaseWebCtl.java

@@ -491,7 +491,7 @@ public class BaseWebCtl extends BaseCtl {
 		String userName = CxfwsUtils.userNameFromHeaderInfo(wscontexts);
 		String pwd = CxfwsUtils.passWordFromHeaderInfo(wscontexts);
 		if (StringUtils.isNotEmpty(userName) && StringUtils.isNotEmpty(pwd)) {
-			UserEntity user = securityMgr.userService().findByUname(userName);
+			UserEntity user = securityMgr.userService().findByUnameszd(userName,GlobalData.CITY_CODE);
 			if (user != null) {
 				if (pwd.equals(user.getPassword())) {
 					AuthHandler.setCurrentUser(user);