Pārlūkot izejas kodu

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

ld_xuhx 8 gadi atpakaļ
vecāks
revīzija
627457e77b

+ 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 userName = CxfwsUtils.userNameFromHeaderInfo(wscontexts);
 		String pwd = CxfwsUtils.passWordFromHeaderInfo(wscontexts);
 		String pwd = CxfwsUtils.passWordFromHeaderInfo(wscontexts);
 		if (StringUtils.isNotEmpty(userName) && StringUtils.isNotEmpty(pwd)) {
 		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 (user != null) {
 				if (pwd.equals(user.getPassword())) {
 				if (pwd.equals(user.getPassword())) {
 					AuthHandler.setCurrentUser(user);
 					AuthHandler.setCurrentUser(user);