|
@@ -29,6 +29,7 @@ import com.xt.jygl.accessory.entity.AccessoryEntity;
|
|
|
import com.xt.jygl.accessory.service.AccessoryService;
|
|
|
import com.xt.jygl.common.BaseWebCtl;
|
|
|
import com.xt.jygl.common.Constants;
|
|
|
+import com.xt.jygl.common.GlobalData;
|
|
|
import com.xt.jygl.gkjcxx.gk.entity.GkEntity;
|
|
|
import com.xt.jygl.gkjcxx.gk.service.GkService;
|
|
|
import com.xt.jygl.gkjcxx.gq.entity.GqEntity;
|
|
@@ -528,13 +529,13 @@ public class XkzyxWebService extends BaseWebCtl implements IXkzyxWebService {
|
|
|
}
|
|
|
public List<String> getGq(){
|
|
|
String userName=CxfwsUtils.userNameFromHeaderInfo(wscontext);
|
|
|
- UserEntity userEntity = userdao.findByUname(userName);
|
|
|
+ UserEntity userEntity = userdao.findByUnameszd(userName,GlobalData.CITY_CODE);
|
|
|
List<String> gqlist = gqService.findGqListByUserId(userEntity.getId());
|
|
|
return gqlist;
|
|
|
}
|
|
|
public UserEntity getUser(){
|
|
|
String userName=CxfwsUtils.userNameFromHeaderInfo(wscontext);
|
|
|
- UserEntity userEntity = userdao.findByUname(userName);
|
|
|
+ UserEntity userEntity = userdao.findByUnameszd(userName,GlobalData.CITY_CODE);
|
|
|
return userEntity;
|
|
|
}
|
|
|
}
|