johnswang
2022-01-15 8369edbbb756fbfcbb108d8c6785ba24bb12495d
优化公众号打开页面响应时间,缩短加入购物车时间
170个文件已修改
400 ■■■■ 已修改文件
WebRoot/general/alipay/notify_url.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/accountcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/accountcontentmobile.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/accountlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/addresscontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/addresseditcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/attentioncontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/distributoraddresslistcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/distributorcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/editcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/forgottencontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/forgottensuccesscontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/mycustomercontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/ordercontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/orderdetailcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/registercontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/regsuccesscontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/returncontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/rewardcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/rewardlistcontentdropload.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/showimagecontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/vouchercontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/wishlistcontent.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/account/wxuserlistcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/brand/brandcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/brand/brandlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/brand/brandnav.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/cart/cartlist.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/category/cataloglist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/category/cataloglistbak.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/category/categorynav.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/checkout.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/checkoutbak.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/checkoutbak2.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/confirm.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/guest.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/paymentaddress.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/paymentmethod.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/register.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/shippingaddress.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkout/shippingmethod.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkoutnew/addresscontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/checkoutnew/checkout.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/banner.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/catalogtop.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/content.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/footer.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/header.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/manufacturer.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/search.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/home/top.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/information/contactcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/information/information.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/information/informationnav.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/information/sitemapcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/map/gaodemap.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/map/wxjssdk.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/map/wxmap.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/about.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/account.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/account0.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/account1.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/address.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/addressedit.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/attention.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/balancedetail.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/coupon.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/couponlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/distributor.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/distributoraddresslist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/documents.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/edit.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/forgotten.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/forgottensuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/generating_order.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/login.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/logout.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/member.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/membergroup.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/memberrights.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/mybalance.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/mycustomer.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/mycustomer2.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/order.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/orderdetail.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/orderreview.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/password.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/paymentway.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/profile.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/refundmoney.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/register.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/regsuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/reward.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/rewardhelp.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/rewardlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/share.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/sharewidget.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/showimage.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/switcharea.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/wallet.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/wishlist.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/withdrawals.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/wxuseredit.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/wxusereditsuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/account/wxuserlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/brand/brand.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/brand/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/cart/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/category/categorylist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/category/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/category/index0.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/category/index1.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/category/index2.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/checkoutnew/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/checkoutnew/membercheckout.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/checkoutnew/paymentway.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/home/footerbar.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/home/header.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/information/contact.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/information/contactsuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/information/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/memberandjoin/joinapply.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/memberandjoin/joinapplysucccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/memberandjoin/memberapply.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/memberandjoin/memberapplysucccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/ListProdByMatGroup.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/OpenExternalUrl.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/ProductHorizontal.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/ProductVertical.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/compare.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/index.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/product/search.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/OpenExternalUrl.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/cart.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/checkout.jsp 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/compare.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/indexlist.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/paymentway.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/productdetail.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/uploadimage.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/purchase/wishlist.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/seller/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/seller/industryList.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/seller/listByIndustry.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/mobile/seller/sellerList.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxmemberpaysuccess-Stop.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpay.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpayByPicture-Stop.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpayOld.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpaymember-Stop.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpayrecharge.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpayrechargesuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/pay/wxpaysuccess.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/product/comparecontent.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/product/productdetail.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/product/productlist.jsp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/product/searchcontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/product/specialoffercontent.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/ai/chat.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/ai/home/header.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/ai/index.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/authorizer/miniapp.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/authorizer/workapp.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/home/header.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/home/top.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/work/organizationuserlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/work/radar.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/shopping/weixinby3rd/setting/work/radarlist.jsp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebRoot/general/alipay/notify_url.jsp
@@ -71,7 +71,7 @@
        
        String out_trade_no = new String(request.getParameter("out_trade_no").getBytes("ISO-8859-1"),"UTF-8");
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        settingEntity = settingIfc.getSettingEntity();
        settingEntity = settingIfc.getSettingEntity(request);
        //订单头信息
        orderEntity = orderIfc.getOrderHeaderEntity(out_trade_no);
        //订单行信息
WebRoot/shopping/account/accountcontent.jsp
@@ -33,7 +33,7 @@
List<InformationEntity> infoList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/account/accountcontentmobile.jsp
@@ -39,7 +39,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/account/accountlist.jsp
@@ -23,7 +23,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //检查该客户是否存在
    if (cltCode != null && !"".equals(cltCode)) {
WebRoot/shopping/account/addresscontent.jsp
@@ -44,7 +44,7 @@
List<AddressEntity> addressList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    addressList = addressIfc.getAddress(cltCode);
WebRoot/shopping/account/addresseditcontent.jsp
@@ -64,7 +64,7 @@
List<CommunityEntity> communityList = null ;  //小区
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    addressEntity = addressIfc.getAddressByAddressId(Integer.parseInt(seq), cltCode) ;
 
    countryList = countryIfc.getCountrys();
WebRoot/shopping/account/attentioncontent.jsp
@@ -25,7 +25,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //显示页面图形(data)
WebRoot/shopping/account/distributoraddresslistcontent.jsp
@@ -43,7 +43,7 @@
List<DepartmentEntity> deptList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    /*DataSourceEntity corpEntity = MultiDataSource.getDataSourceMap(dbId) ;
    if (corpEntity == null) {
        out.println("没有找到 dbid 为 "+ dbId +" 的数据源");
WebRoot/shopping/account/distributorcontent.jsp
@@ -49,7 +49,7 @@
List<DistributorEntity> distributorList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    distributorList = distributorIfc.getDistributors(cltCode,openId);
}catch(DataAccessException e ) {
    e.printStackTrace();
WebRoot/shopping/account/editcontent.jsp
@@ -54,7 +54,7 @@
List<OtherStaffEntity> otherStaffList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //客户来源下拉列表
    SourceInfoIfc sourceInfoIfc = (SourceInfoIfc)FactoryBean.getBean("SourceInfoImpl");
    
WebRoot/shopping/account/forgottencontent.jsp
@@ -32,7 +32,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/account/forgottensuccesscontent.jsp
@@ -24,7 +24,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//显示页面图形(data)
ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/account/mycustomercontent.jsp
@@ -56,7 +56,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd") ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    distributorList = distributorIfc.getMyCustomers(cltCode,openId,search);
WebRoot/shopping/account/ordercontent.jsp
@@ -48,7 +48,7 @@
List<OrderEntity> orderList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    // 取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null ? "": (String) session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/account/orderdetailcontent.jsp
@@ -76,7 +76,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //订单头信息
    orderEntity = orderIfc.getOrderHeaderEntity(cltCode,docCode,120230);
    //暂时加上改变订单状态,没有操作数据库  有需要可以删除
WebRoot/shopping/account/registercontent.jsp
@@ -56,7 +56,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/account/regsuccesscontent.jsp
@@ -24,7 +24,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//显示页面图形(data)
ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/account/returncontent.jsp
@@ -58,7 +58,7 @@
        try {
            SpObserver.setDBtoInstance("_"+dbId);//切换数据源
            SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
            SettingEntity settingEntity = settingIfc.getSettingEntity() ;
            SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
            //订单头信息
            orderEntity = orderIfc.getOrderHeaderEntity(cltCode,docCode,formId!=null&&!"".equals(formId)?Integer.parseInt(formId):null);
            
WebRoot/shopping/account/rewardcontent.jsp
@@ -44,7 +44,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//积分列表
RewardIfc rewardIfc = (RewardIfc)FactoryBean.getBean("RewardImpl");
List<PointsEntity> pointsList = rewardIfc.getPoints(cltCode);
WebRoot/shopping/account/rewardlistcontentdropload.jsp
@@ -70,7 +70,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//积分列表
RewardIfc rewardIfc = (RewardIfc)FactoryBean.getBean("RewardImpl");
List<PointsEntity> pointsList = rewardIfc.getPoints(cltCode);
WebRoot/shopping/account/showimagecontent.jsp
@@ -30,7 +30,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    String hostUrl = SettingKey.getHostUrl(request) ;
    //将微信corpid组装成url
WebRoot/shopping/account/vouchercontent.jsp
@@ -27,7 +27,7 @@
SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/account/wishlistcontent.jsp
@@ -41,7 +41,7 @@
boolean isMoblieBrowser = SettingKey.isMoblieBrowser(request);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
@@ -56,7 +56,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(cltCode);
    currencyEntity = new CurrencyEntity(request);
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/account/wxuserlistcontent.jsp
@@ -39,7 +39,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    userList =  wxUserListIfc.getNewMpUsers(search);
    
WebRoot/shopping/brand/brandcontent.jsp
@@ -41,7 +41,7 @@
request.setAttribute("sequence", 0);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/brand/brandlist.jsp
@@ -28,7 +28,7 @@
List<BrandEntity> brandFirstAlpList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/brand/brandnav.jsp
@@ -28,7 +28,7 @@
BrandEntity brandEntity = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/cart/cartlist.jsp
@@ -49,7 +49,7 @@
String checkboxs = (String)session.getAttribute(SettingKey.CHECKBOX);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
    String shopCcName = (session.getAttribute(SettingKey.SHOPCCNAME) == null ? "": (String) session.getAttribute(SettingKey.SHOPCCNAME));
@@ -61,7 +61,7 @@
    }
    
    //String currencyProd = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(userCode);
    currencyEntity = new CurrencyEntity(request);
    cartList = cartIfc.getCartList(userCode, sessionId,openId,cltCode,shopCcCode);    
    countryList = countryIfc.getCountrys();
    
WebRoot/shopping/category/cataloglist.jsp
@@ -44,7 +44,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/category/cataloglistbak.jsp
@@ -42,7 +42,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/category/categorynav.jsp
@@ -28,7 +28,7 @@
try {
    SpObserver.setDBtoInstance("_" + dbId);// 切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
    String shopCcName = (session.getAttribute(SettingKey.SHOPCCNAME) == null ? "": (String) session.getAttribute(SettingKey.SHOPCCNAME));
WebRoot/shopping/checkout/checkout.jsp
@@ -37,7 +37,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
    String shopCcName = (session.getAttribute(SettingKey.SHOPCCNAME) == null ? "": (String) session.getAttribute(SettingKey.SHOPCCNAME));
WebRoot/shopping/checkout/checkoutbak.jsp
@@ -35,7 +35,7 @@
 List<CartEntity> cartList = null;
 try {
     SpObserver.setDBtoInstance("_"+dbId);//切换数据源
     settingEntity = settingIfc.getSettingEntity() ;
     settingEntity = settingIfc.getSettingEntity(request) ;
         
         //取网店 shopcccode
         String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/checkout/checkoutbak2.jsp
@@ -37,7 +37,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
       
       //取网店 shopcccode
       String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/checkout/confirm.jsp
@@ -43,12 +43,12 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
SettingEntity settingEntity = settingIfc.getSettingEntity() ;
SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
//货币
CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
//String currencyProd = settingEntity.getCurrency();
CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
CurrencyEntity currencyEntity = new CurrencyEntity(request);
//购物车
CartIfc cartIfc = (CartIfc)FactoryBean.getBean("CartImpl"); 
WebRoot/shopping/checkout/guest.jsp
@@ -33,7 +33,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/checkout/paymentaddress.jsp
@@ -29,7 +29,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
settingEntity = settingIfc.getSettingEntity() ;
settingEntity = settingIfc.getSettingEntity(request) ;
//交货地址
AddressIfc addressIfc = (AddressIfc)FactoryBean.getBean("AddressImpl");  
WebRoot/shopping/checkout/paymentmethod.jsp
@@ -30,7 +30,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/checkout/register.jsp
@@ -32,7 +32,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/checkout/shippingaddress.jsp
@@ -29,7 +29,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//交货地址
WebRoot/shopping/checkout/shippingmethod.jsp
@@ -23,12 +23,12 @@
List<FreeEntity> freeList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    //String currencyProd = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(userCode);
    currencyEntity = new CurrencyEntity(request);
    
    
    Integer countryId = (session.getAttribute(SettingKey.COUNTRY) == null? settingEntity.getCountryId() :  (Integer.parseInt(session.getAttribute(SettingKey.COUNTRY).toString())));
WebRoot/shopping/checkoutnew/addresscontent.jsp
@@ -44,7 +44,7 @@
List<AddressEntity> addressList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    addressList = addressIfc.getAddress(cltCode);
}catch(DataAccessException e ) {
WebRoot/shopping/checkoutnew/checkout.jsp
@@ -94,7 +94,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //账户
    AccountIfc accountIfc = (AccountIfc)FactoryBean.getBean("AccountImpl"); 
@@ -157,7 +157,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    //String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
    //货运方式
    FreeIfc freeIfc = (FreeIfc)FactoryBean.getBean("FreeImpl"); 
WebRoot/shopping/home/banner.jsp
@@ -21,7 +21,7 @@
try {
    DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
    SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/home/catalogtop.jsp
@@ -21,7 +21,7 @@
List<MatGroupEntity> matGroupList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/home/content.jsp
@@ -24,7 +24,7 @@
List<ShowGroupNameEntity> showGroupNameList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/home/footer.jsp
@@ -19,7 +19,7 @@
List<InformationEntity> infoList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/home/header.jsp
@@ -15,7 +15,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/home/manufacturer.jsp
@@ -17,7 +17,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/home/search.jsp
@@ -15,7 +15,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
    String shopCcName = (session.getAttribute(SettingKey.SHOPCCNAME) == null ? "": (String) session.getAttribute(SettingKey.SHOPCCNAME));
WebRoot/shopping/home/top.jsp
@@ -22,7 +22,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
  String hostUrl = SettingKey.getHostUrl(request) ;
  //将微信corpid组装成url
@@ -55,7 +55,7 @@
      <div class="btn-group">
      <% CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
       String currency = settingEntity.getCurrency();
       CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(cltCode);
       CurrencyEntity currencyEntity = new CurrencyEntity(request);
      %>
      <button class="btn btn-link dropdown-toggle" data-toggle="dropdown">
      <strong><%=currencyEntity.getCurrencySign()%></strong><span class="hidden-xs hidden-sm hidden-md"><%=currencyEntity.getCurrencyName()%></span> <i class="fa fa-caret-down"></i></button>
WebRoot/shopping/information/contactcontent.jsp
@@ -28,7 +28,7 @@
List<DepartmentEntity> deptList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    deptList = departmentIfc.getDepartmentByIndependent();
}catch(DataAccessException e ) {
    e.printStackTrace();
WebRoot/shopping/information/information.jsp
@@ -25,7 +25,7 @@
 SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
 try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
        
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/information/informationnav.jsp
@@ -28,7 +28,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/information/sitemapcontent.jsp
@@ -28,7 +28,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/map/gaodemap.jsp
@@ -28,7 +28,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (cccode == null || "".equals(cccode)) {
        latitude = settingEntity.getLatitude() ;
WebRoot/shopping/map/wxjssdk.jsp
@@ -26,7 +26,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/map/wxmap.jsp
@@ -60,7 +60,7 @@
    if (cccode == null || "".equals(cccode)) {
        //参数设置
        SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        if (settingEntity != null) {
            latitude = settingEntity.getLatitude() ;
            longitude = settingEntity.getLongitude() ;
WebRoot/shopping/mobile/account/about.jsp
@@ -27,7 +27,7 @@
List<InformationEntity> infoList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/account.jsp
@@ -20,7 +20,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //System.out.println(this.getClass()+" dbid="+ dbId + " MyPageStyle=" +settingEntity.getMyPageStyle() );
    if (settingEntity.getMyPageStyle() == 0) {
        //System.out.println(this.getClass() + " 0");
WebRoot/shopping/mobile/account/account0.jsp
@@ -54,7 +54,7 @@
List<MatCodeEntity> matCodeList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/account1.jsp
@@ -69,7 +69,7 @@
List<MatCodeEntity> matCodeList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -85,7 +85,7 @@
    
     //币种
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    String currency = currencyEntity.getCurrency();
    
    //客户余额
WebRoot/shopping/mobile/account/address.jsp
@@ -51,7 +51,7 @@
String docCode = request.getParameter(SettingKey.DOCCODE);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    addressList = addressIfc.getAddress(cltCode);
    String returnUrl = "" ;
WebRoot/shopping/mobile/account/addressedit.jsp
@@ -66,7 +66,7 @@
List<CommunityEntity> communityList = null ;  //小区
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    addressEntity = addressIfc.getAddressByAddressId(Integer.parseInt(seq), cltCode) ;
 
    countryList = countryIfc.getCountrys();
WebRoot/shopping/mobile/account/attention.jsp
@@ -25,7 +25,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //显示页面图形(data)
WebRoot/shopping/mobile/account/balancedetail.jsp
@@ -54,7 +54,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //积分列表
    //RewardIfc rewardIfc = (RewardIfc)FactoryBean.getBean("RewardImpl");
    //积分
@@ -64,7 +64,7 @@
    
     //币种
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    String currency = currencyEntity.getCurrency();    
    
    //客户余额
WebRoot/shopping/mobile/account/coupon.jsp
@@ -46,7 +46,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/couponlist.jsp
@@ -50,7 +50,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/distributor.jsp
@@ -49,7 +49,7 @@
List<DistributorEntity> distributorList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    distributorList = distributorIfc.getDistributors(cltCode,openId);
    request.setAttribute(SettingKey.TITLE,"我的分销");
WebRoot/shopping/mobile/account/distributoraddresslist.jsp
@@ -44,7 +44,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    /*DataSourceEntity corpEntity = MultiDataSource.getDataSourceMap(dbId) ;
    if (corpEntity == null) {
        out.println("没有找到 dbid 为 "+ dbId +" 的数据源");
WebRoot/shopping/mobile/account/documents.jsp
@@ -28,7 +28,7 @@
try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源   
        SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
            
          //取网店 shopcccode
        ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/edit.jsp
@@ -55,7 +55,7 @@
List<OtherStaffEntity> otherStaffList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //客户来源下拉列表
    SourceInfoIfc sourceInfoIfc = (SourceInfoIfc)FactoryBean.getBean("SourceInfoImpl");
    
WebRoot/shopping/mobile/account/forgotten.jsp
@@ -32,7 +32,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    request.setAttribute(SettingKey.TITLE,"找回密码");
%>      
WebRoot/shopping/mobile/account/forgottensuccess.jsp
@@ -24,7 +24,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//显示页面图形(data)
ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/mobile/account/generating_order.jsp
@@ -116,7 +116,7 @@
    DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
    SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //账户
    AccountIfc accountIfc = (AccountIfc)FactoryBean.getBean("AccountImpl"); 
WebRoot/shopping/mobile/account/login.jsp
@@ -24,7 +24,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/logout.jsp
@@ -33,7 +33,7 @@
      
  SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
  SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
  SettingEntity settingEntity =settingIfc.getSettingEntity() ;
  SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
  
  
  request.setAttribute(SettingKey.TITLE,"退出账号");
WebRoot/shopping/mobile/account/member.jsp
@@ -46,7 +46,7 @@
        DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
        SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源 
        SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
        SettingEntity settingEntity =settingIfc.getSettingEntity() ;
        SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
       /*  //获取会员广告图的单号
        String memberInfoDocCode=request.getParameter("memberInfoDocCode")==null?"":request.getParameter("memberInfoDocCode"); */
        WxPayIfc wxPayIfc = (WxPayIfc)FactoryBean.getBean("WxPayImpl");  
WebRoot/shopping/mobile/account/membergroup.jsp
@@ -28,7 +28,7 @@
            
            SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
        SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
        SettingEntity settingEntity =settingIfc.getSettingEntity() ;
        SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
        
        WxPayIfc wxPayIfc = (WxPayIfc)FactoryBean.getBean("WxPayImpl");  
        List<MemberGroupDetailEntity> memberGroupDetailList = wxPayIfc.getMemberGroupDetail( docCode) ;
WebRoot/shopping/mobile/account/memberrights.jsp
@@ -44,7 +44,7 @@
    DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
        SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源 
        SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
        SettingEntity settingEntity =settingIfc.getSettingEntity() ;
        SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
       /*  //获取会员广告图的单号
        String memberInfoDocCode=request.getParameter("memberInfoDocCode")==null?"":request.getParameter("memberInfoDocCode"); */
        WxPayIfc wxPayIfc = (WxPayIfc)FactoryBean.getBean("WxPayImpl");  
WebRoot/shopping/mobile/account/mybalance.jsp
@@ -27,7 +27,7 @@
        
         //币种
        CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");
        CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
        CurrencyEntity currencyEntity = new CurrencyEntity(request);
        String currency = currencyEntity.getCurrency();
        //客户余额
@@ -36,7 +36,7 @@
        
        
         SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl"); 
     SettingEntity settingEntity=settingIfc.getSettingEntity();
     SettingEntity settingEntity=settingIfc.getSettingEntity(request);
        request.setAttribute(SettingKey.TITLE,"我的余额"); 
    %>
<jsp:include page="/shopping/mobile/home/header.jsp" flush="true"/>
WebRoot/shopping/mobile/account/mycustomer.jsp
@@ -56,7 +56,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd") ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    distributorList = distributorIfc.getMyCustomers(cltCode,openId,search);
    request.setAttribute(SettingKey.TITLE,"我的微信客户");
WebRoot/shopping/mobile/account/mycustomer2.jsp
@@ -56,7 +56,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd") ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    distributorList = distributorIfc.getMyCustomers(openId,search);
    request.setAttribute(SettingKey.TITLE,"我的关注");
WebRoot/shopping/mobile/account/order.jsp
@@ -65,7 +65,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    // 取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);    
WebRoot/shopping/mobile/account/orderdetail.jsp
@@ -34,7 +34,7 @@
try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源   
        OrderEntity orderEntity=  orderIfc.getOrderHeaderEntity( cltCode,docCode,120230) ;
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        //显示页面图形(data)
        ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
        String state="待签收";
WebRoot/shopping/mobile/account/orderreview.jsp
@@ -29,7 +29,7 @@
try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源   
        
        SettingEntity    settingEntity = settingIfc.getSettingEntity() ;
        SettingEntity    settingEntity = settingIfc.getSettingEntity(request) ;
          //显示页面图形(data)
              ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
          //订单头信息
WebRoot/shopping/mobile/account/password.jsp
@@ -34,7 +34,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
request.setAttribute(SettingKey.TITLE,"更改密码");
%>     
<jsp:include page="/shopping/mobile/home/header.jsp" flush="true"/>
WebRoot/shopping/mobile/account/paymentway.jsp
@@ -29,7 +29,7 @@
     }
    SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity =settingIfc.getSettingEntity() ;
    SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
    request.setAttribute(SettingKey.TITLE,"在线支付");
%>    
<jsp:include page="/shopping/mobile/home/header.jsp" flush="true"/>
WebRoot/shopping/mobile/account/profile.jsp
@@ -44,7 +44,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //维护图片订单购买权限
    PicOrderAuthorityIfc picOrderAuthorityIfc = (PicOrderAuthorityIfc)FactoryBean.getBean("PicOrderAuthorityImpl"); 
WebRoot/shopping/mobile/account/refundmoney.jsp
@@ -24,7 +24,7 @@
   try { 
       
       SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
       SettingEntity    settingEntity = settingIfc.getSettingEntity() ;
       SettingEntity    settingEntity = settingIfc.getSettingEntity(request) ;
   //显示页面图形(data)
       ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
   //订单头信息
WebRoot/shopping/mobile/account/register.jsp
@@ -47,7 +47,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/regsuccess.jsp
@@ -24,7 +24,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//显示页面图形(data)
ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/mobile/account/reward.jsp
@@ -46,7 +46,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //积分列表
    RewardIfc rewardIfc = (RewardIfc)FactoryBean.getBean("RewardImpl");
    //积分
WebRoot/shopping/mobile/account/rewardhelp.jsp
@@ -13,7 +13,7 @@
    
SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
SettingEntity settingEntity =settingIfc.getSettingEntity() ;
SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
request.setAttribute(SettingKey.TITLE,"帮助说明");   
%> 
WebRoot/shopping/mobile/account/rewardlist.jsp
@@ -57,7 +57,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
%>     
<jsp:include page="/shopping/mobile/home/header.jsp" flush="true"/>
<style type="text/css">
WebRoot/shopping/mobile/account/share.jsp
@@ -28,7 +28,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
    SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity =settingIfc.getSettingEntity() ;
    SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/sharewidget.jsp
@@ -59,7 +59,7 @@
    try { 
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源 
        SettingIfc settingIfc =(SettingIfc)FactoryBean.getBean("SettingImpl");   
        SettingEntity settingEntity =settingIfc.getSettingEntity() ;
        SettingEntity settingEntity =settingIfc.getSettingEntity(request) ;
        
        //取网店 shopcccode
        ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/showimage.jsp
@@ -30,7 +30,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    String hostUrl = SettingKey.getHostUrl(request) ;
    //将微信corpid组装成url
WebRoot/shopping/mobile/account/switcharea.jsp
@@ -43,7 +43,7 @@
List<RegionEntity> cityList = null ;   //城市
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    request.setAttribute(SettingKey.TITLE,"选择门店");   
%>    
WebRoot/shopping/mobile/account/wallet.jsp
@@ -52,7 +52,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -67,7 +67,7 @@
 //币种
CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");
CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
CurrencyEntity currencyEntity = new CurrencyEntity(request);
String currency = currencyEntity.getCurrency();
//客户余额
WebRoot/shopping/mobile/account/wishlist.jsp
@@ -60,7 +60,7 @@
DecimalFormat df = new DecimalFormat("0.00");
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -68,7 +68,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(cltCode);
    currencyEntity = new CurrencyEntity(request);
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/mobile/account/withdrawals.jsp
@@ -34,7 +34,7 @@
        
         //币种
        CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");
        CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
        CurrencyEntity currencyEntity = new CurrencyEntity(request);
        String currency = currencyEntity.getCurrency();
        //客户余额
@@ -47,7 +47,7 @@
         int count=wxPayIfc.getWithdrawCount();
         List<BankEntity> entityList = wxPayIfc.getBankinfo();
         List<WxWithdrawalsInBankEntity> wxWithdrawalsInBankEntityList = wxPayIfc.getCustomerBankinfo(openId);
         SettingEntity settingEntity=settingIfc.getSettingEntity();
         SettingEntity settingEntity=settingIfc.getSettingEntity(request);
            
    request.setAttribute(SettingKey.TITLE,"提现");
    DecimalFormat df = new DecimalFormat("0.00") ;
WebRoot/shopping/mobile/account/wxuseredit.jsp
@@ -36,7 +36,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request); 
WebRoot/shopping/mobile/account/wxusereditsuccess.jsp
@@ -39,7 +39,7 @@
    DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
    SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/account/wxuserlist.jsp
@@ -55,7 +55,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    userList = wxUserListIfc.getNewMpUsers(search);
    
WebRoot/shopping/mobile/brand/brand.jsp
@@ -30,7 +30,7 @@
List<BrandEntity> brandFirstAlpList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/brand/index.jsp
@@ -43,7 +43,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/cart/index.jsp
@@ -51,12 +51,12 @@
String checkboxs = (String)session.getAttribute(SettingKey.CHECKBOX);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
    
    //String currencyProd = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(userCode);
    currencyEntity = new CurrencyEntity(request);
    cartList = cartIfc.getCartList(userCode, sessionId,openId,cltCode,shopCcCodeEntity.getShopCcCode());    
    //countryList = countryIfc.getCountrys();
    
WebRoot/shopping/mobile/category/categorylist.jsp
@@ -16,7 +16,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
%>
<%
WebRoot/shopping/mobile/category/index.jsp
@@ -16,7 +16,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    
    if (settingEntity.getCategoryListStyle() == 0) { %>
WebRoot/shopping/mobile/category/index0.jsp
@@ -51,7 +51,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/category/index1.jsp
@@ -51,7 +51,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/category/index2.jsp
@@ -39,7 +39,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/checkoutnew/index.jsp
@@ -100,7 +100,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);    
@@ -162,7 +162,7 @@
    
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
WebRoot/shopping/mobile/checkoutnew/membercheckout.jsp
@@ -95,7 +95,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //账户
    AccountIfc accountIfc = (AccountIfc)FactoryBean.getBean("AccountImpl"); 
WebRoot/shopping/mobile/checkoutnew/paymentway.jsp
@@ -53,12 +53,12 @@
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        //参数设置
        SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        //货币
        CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
        //String currencyProd = settingEntity.getCurrency();
        CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
        CurrencyEntity currencyEntity = new CurrencyEntity(request);
        
        //订单头信息
        orderEntity = orderIfc.getOrderHeaderEntity(cltCode,docCode,formId!=null&&!"".equals(formId)?Integer.parseInt(formId):null);
WebRoot/shopping/mobile/home/footerbar.jsp
@@ -37,7 +37,7 @@
CartIfc cartIfc = (CartIfc)FactoryBean.getBean("CartImpl"); 
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
       
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/home/header.jsp
@@ -15,7 +15,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/mobile/index.jsp
@@ -66,7 +66,7 @@
      try {
        DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
          SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
          settingEntity = settingIfc.getSettingEntity() ;
          settingEntity = settingIfc.getSettingEntity(request) ;
          //用户已经 选择的城市
          String selectCityAreaId = (session.getAttribute(SettingKey.SELECTCITYAREAID) == null?"":(String)session.getAttribute(SettingKey.SELECTCITYAREAID)) ;
WebRoot/shopping/mobile/information/contact.jsp
@@ -29,7 +29,7 @@
List<DepartmentEntity> deptList = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    deptList = departmentIfc.getDepartmentByIndependent();
WebRoot/shopping/mobile/information/contactsuccess.jsp
@@ -20,7 +20,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
request.setAttribute(SettingKey.TITLE,"联系我们");
%> 
WebRoot/shopping/mobile/information/index.jsp
@@ -36,7 +36,7 @@
 try {
     DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
    SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request); 
WebRoot/shopping/mobile/memberandjoin/joinapply.jsp
@@ -22,7 +22,7 @@
    SettingEntity settingEntity = null ;
    try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        request.setAttribute(SettingKey.TITLE, "在线加盟");
%>
WebRoot/shopping/mobile/memberandjoin/joinapplysucccess.jsp
@@ -22,7 +22,7 @@
    SettingEntity settingEntity = null ;
    try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        request.setAttribute(SettingKey.TITLE, "在线加盟");
%>
WebRoot/shopping/mobile/memberandjoin/memberapply.jsp
@@ -22,7 +22,7 @@
    SettingEntity settingEntity = null ;
    try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        request.setAttribute(SettingKey.TITLE, "申请会员");
%>
WebRoot/shopping/mobile/memberandjoin/memberapplysucccess.jsp
@@ -22,7 +22,7 @@
    SettingEntity settingEntity = null ;
    try {
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        request.setAttribute(SettingKey.TITLE, "申请会员");
%>
WebRoot/shopping/mobile/product/ListProdByMatGroup.jsp
@@ -45,7 +45,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/product/OpenExternalUrl.jsp
@@ -33,7 +33,7 @@
try {
    DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
    SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/product/ProductHorizontal.jsp
@@ -48,7 +48,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    String hostUrl = SettingKey.getHostUrl(request) ;
    //将微信corpid组装成url
    String wxQueryString = SettingKey.getQueryStringByWx(request);
@@ -73,7 +73,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCodeProd);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
      
    //商品资料
    MatCodeIfc matCodeIfcProd = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");   
WebRoot/shopping/mobile/product/ProductVertical.jsp
@@ -46,7 +46,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    String hostUrl = SettingKey.getHostUrl(request) ;
    //将微信corpid组装成url
    String wxQueryString = SettingKey.getQueryStringByWx(request);
@@ -71,7 +71,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCodeProd);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
      
    //商品资料
    MatCodeIfc matCodeIfcProd = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");   
WebRoot/shopping/mobile/product/compare.jsp
@@ -35,7 +35,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -43,7 +43,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/mobile/product/index.jsp
@@ -81,7 +81,7 @@
List<MatCodeEntity> matCodeList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -141,7 +141,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    //消费积份
    MatPointsIfc matPointsIfc = (MatPointsIfc)FactoryBean.getBean("MatPointsImpl");  
WebRoot/shopping/mobile/product/search.jsp
@@ -44,7 +44,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
//商品资料
MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/mobile/purchase/OpenExternalUrl.jsp
@@ -28,7 +28,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/purchase/cart.jsp
@@ -48,10 +48,10 @@
String checkboxs = (String)session.getAttribute(SettingKey.CHECKBOXBYPICTURE);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //String currencyProd = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(userCode);
    currencyEntity = new CurrencyEntity(request);
    cartList = cartIfc.getCartsByPicture(cltCode);    
    countryList = countryIfc.getCountrys();
    
WebRoot/shopping/mobile/purchase/checkout.jsp
@@ -100,7 +100,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -159,9 +159,7 @@
    
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    //客户余额
    BalanceIfc balanceIfc = (BalanceIfc)FactoryBean.getBean("BalanceImpl");
WebRoot/shopping/mobile/purchase/compare.jsp
@@ -35,7 +35,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -43,7 +43,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/mobile/purchase/index.jsp
@@ -56,7 +56,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm") ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    
WebRoot/shopping/mobile/purchase/indexlist.jsp
@@ -58,7 +58,7 @@
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm") ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -66,7 +66,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
        
    //显示页面图形(data)
    ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/mobile/purchase/paymentway.jsp
@@ -53,12 +53,12 @@
        SpObserver.setDBtoInstance("_"+dbId);//切换数据源
        //参数设置
        SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
        settingEntity = settingIfc.getSettingEntity() ;
        settingEntity = settingIfc.getSettingEntity(request) ;
        
        //货币
        CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
        //String currencyProd = settingEntity.getCurrency();
        CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
        CurrencyEntity currencyEntity = new CurrencyEntity(request);
        
        //订单头信息
        orderEntity = orderIfc.getOrderHeaderEntity(cltCode,docCode,formId!=null&&!"".equals(formId)?Integer.parseInt(formId):null);
WebRoot/shopping/mobile/purchase/productdetail.jsp
@@ -81,7 +81,7 @@
List<MatCodeEntity> matCodeList = null;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);    
@@ -145,7 +145,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    //消费积份
    MatPointsIfc matPointsIfc = (MatPointsIfc)FactoryBean.getBean("MatPointsImpl");  
WebRoot/shopping/mobile/purchase/uploadimage.jsp
@@ -31,7 +31,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/purchase/wishlist.jsp
@@ -60,7 +60,7 @@
DecimalFormat df = new DecimalFormat("0.00");
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
@@ -68,7 +68,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    currencyEntity = currencyIfc.getUserCurrency(cltCode);
    currencyEntity = new CurrencyEntity(request);
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/mobile/seller/index.jsp
@@ -35,7 +35,7 @@
      try {
          DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
          SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
          settingEntity = settingIfc.getSettingEntity() ;
          settingEntity = settingIfc.getSettingEntity(request) ;
          
          
          //取网店 shopcccode
WebRoot/shopping/mobile/seller/industryList.jsp
@@ -28,7 +28,7 @@
      try {
          DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
          SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
          settingEntity = settingIfc.getSettingEntity() ;
          settingEntity = settingIfc.getSettingEntity(request) ;
          //取网店 shopcccode
          //ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request);
WebRoot/shopping/mobile/seller/listByIndustry.jsp
@@ -30,7 +30,7 @@
      try {
          DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
          SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
          settingEntity = settingIfc.getSettingEntity() ;
          settingEntity = settingIfc.getSettingEntity(request) ;
          
          
          //取网店 shopcccode
WebRoot/shopping/mobile/seller/sellerList.jsp
@@ -28,7 +28,7 @@
      try {
          DataSourceEntity dataSourceEntity = MultiDataSource.getDataSourceMap( request) ;
          SpObserver.setDBtoInstance("_"+dataSourceEntity.getDbId());//切换数据源
          settingEntity = settingIfc.getSettingEntity() ;
          settingEntity = settingIfc.getSettingEntity(request) ;
          //取网店 shopcccode
          ShopCcCodeEntity shopCcCodeEntity = ShopCcCode.getShopCcCode(settingEntity,request); 
WebRoot/shopping/pay/wxmemberpaysuccess-Stop.jsp
@@ -48,7 +48,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpay.jsp
@@ -143,7 +143,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
        
    String openid = (String)session.getAttribute(SessionKey.WEIXIN_OPENID);
    
WebRoot/shopping/pay/wxpayByPicture-Stop.jsp
@@ -138,7 +138,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpayOld.jsp
@@ -139,7 +139,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpaymember-Stop.jsp
@@ -128,7 +128,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpayrecharge.jsp
@@ -121,7 +121,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpayrechargesuccess.jsp
@@ -48,7 +48,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/pay/wxpaysuccess.jsp
@@ -50,7 +50,7 @@
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    //参数设置
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");  
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (settingEntity == null) {
        out.println("未找到【维护导购系统设置】参数,请在 714001 功能号维护");
WebRoot/shopping/product/comparecontent.jsp
@@ -33,7 +33,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
@@ -48,7 +48,7 @@
    //货币
    CurrencyIfc currencyIfc = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currency = settingEntity.getCurrency();
    CurrencyEntity currencyEntity = currencyIfc.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
    //商品资料
    MatCodeIfc matCodeIfc = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");  
WebRoot/shopping/product/productdetail.jsp
@@ -51,7 +51,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
@@ -87,7 +87,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCode);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
    
    //消费积份
    MatPointsIfc matPointsIfc = (MatPointsIfc)FactoryBean.getBean("MatPointsImpl");  
WebRoot/shopping/product/productlist.jsp
@@ -28,7 +28,7 @@
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    String hostUrl = SettingKey.getHostUrl(request) ;
    //将微信corpid组装成url
    String wxQueryString = SettingKey.getQueryStringByWx(request);
@@ -104,7 +104,7 @@
    //货币
    CurrencyIfc currencyIfcProd = (CurrencyIfc)FactoryBean.getBean("CurrencyImpl");  
    String currencyProd = settingEntity.getCurrency();
    CurrencyEntity currencyEntityProd = currencyIfcProd.getUserCurrency(userCodeProd);
    CurrencyEntity currencyEntity = new CurrencyEntity(request);
      
    //商品资料
    MatCodeIfc matCodeIfcProd = (MatCodeIfc)FactoryBean.getBean("MatCodeImpl");   
WebRoot/shopping/product/searchcontent.jsp
@@ -43,7 +43,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //取网店 shopcccode
    String shopCcCode = (session.getAttribute(SettingKey.SHOPCCCODE) == null?"":(String)session.getAttribute(SettingKey.SHOPCCCODE));
WebRoot/shopping/product/specialoffercontent.jsp
@@ -32,7 +32,7 @@
request.setAttribute("sequence", 0);
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    //处理显示第几页
    //limit = (request.getParameter("limit")==null?settingEntity.getProductLimit().toString(): request.getParameter("limit"));
WebRoot/shopping/weixinby3rd/ai/chat.jsp
@@ -54,7 +54,7 @@
    
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    
    if (corpId == null || "".equals(corpId)) {
        corpId = corpEntity.getCorpId() ;
WebRoot/shopping/weixinby3rd/ai/home/header.jsp
@@ -15,7 +15,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+dbId);//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/weixinby3rd/ai/index.jsp
@@ -45,7 +45,7 @@
    }
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    
    //显示页面图形(data)
    ShoppingImageDataIfc imgData = (ShoppingImageDataIfc)FactoryBean.getBean("ShoppingImageDataImpl"); 
WebRoot/shopping/weixinby3rd/setting/authorizer/miniapp.jsp
@@ -48,7 +48,7 @@
try {
    SpObserver.setDBtoInstance("_"+openComponentAppSetting.getOpenDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    AuthAppIdBy3rdIfc  authAppIdBy3rdIfc = (AuthAppIdBy3rdIfc)FactoryBean.getBean("AuthAppIdBy3rdImpl");  
    OpenCorpInfoEntity  openCorpInfoEntity = authAppIdBy3rdIfc.getOpenCorpInfoEntity(openComponentAppSetting.getOpenAppId(),corpEntity.getMiniAppId()) ;
WebRoot/shopping/weixinby3rd/setting/authorizer/workapp.jsp
@@ -48,7 +48,7 @@
try {
    SpObserver.setDBtoInstance("_"+suiteComponentAppEntityList.get(0).getSuiteDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    
    //ERPUserIfc erpUserIfc = (ERPUserIfc)FactoryBean.getBean("ERPUserImpl");   
WebRoot/shopping/weixinby3rd/setting/home/header.jsp
@@ -21,7 +21,7 @@
SettingEntity settingEntity = null ;
try {
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/weixinby3rd/setting/home/top.jsp
@@ -23,7 +23,7 @@
SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
try {
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
    
    String hostUrl = SettingKey.getHostUrl(request) ;
    
WebRoot/shopping/weixinby3rd/setting/work/organizationuserlist.jsp
@@ -28,7 +28,7 @@
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    //搜索关键字 
    String search = (request.getParameter("search") == null ?"":request.getParameter("search")) ;
WebRoot/shopping/weixinby3rd/setting/work/radar.jsp
@@ -62,7 +62,7 @@
String corpWxQrCodeUnidUrl = "" ; 
try {
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    settingEntity = settingIfc.getSettingEntity() ;
    settingEntity = settingIfc.getSettingEntity(request) ;
}catch(DataAccessException e ) {
    e.printStackTrace();
    out.println(SettingKey.getJsHint(e.getCause().getMessage()));   
WebRoot/shopping/weixinby3rd/setting/work/radarlist.jsp
@@ -29,7 +29,7 @@
    SpObserver.setDBtoInstance("_"+corpEntity.getDbId());//切换数据源
    SettingIfc settingIfc = (SettingIfc)FactoryBean.getBean("SettingImpl");   
    SettingEntity settingEntity = settingIfc.getSettingEntity() ;
    SettingEntity settingEntity = settingIfc.getSettingEntity(request) ;
    //搜索关键字 
    String search = (request.getParameter("search") == null ?"":request.getParameter("search")) ;