Authored by jianhui_wang

用户查询

@@ -9,7 +9,6 @@ import com.yoho.unions.vo.UserMobileAndUidVO; @@ -9,7 +9,6 @@ import com.yoho.unions.vo.UserMobileAndUidVO;
9 import org.slf4j.Logger; 9 import org.slf4j.Logger;
10 import org.slf4j.LoggerFactory; 10 import org.slf4j.LoggerFactory;
11 import org.springframework.beans.factory.annotation.Autowired; 11 import org.springframework.beans.factory.annotation.Autowired;
12 -import org.springframework.beans.factory.annotation.Qualifier;  
13 import org.springframework.stereotype.Controller; 12 import org.springframework.stereotype.Controller;
14 import org.springframework.web.bind.annotation.RequestMapping; 13 import org.springframework.web.bind.annotation.RequestMapping;
15 import org.springframework.web.bind.annotation.ResponseBody; 14 import org.springframework.web.bind.annotation.ResponseBody;
@@ -28,7 +27,6 @@ public class UserRegisterBuyInfoRest { @@ -28,7 +27,6 @@ public class UserRegisterBuyInfoRest {
28 public static final Logger logger = LoggerFactory.getLogger(UserRegisterBuyInfoRest.class); 27 public static final Logger logger = LoggerFactory.getLogger(UserRegisterBuyInfoRest.class);
29 28
30 @Autowired 29 @Autowired
31 - @Qualifier("UserRegisterBuy") //指定实现类  
32 IUserRegisterBuyInfoService userRegisterBuyInfoService; 30 IUserRegisterBuyInfoService userRegisterBuyInfoService;
33 31
34 @RequestMapping("/InfoBatchQuery") 32 @RequestMapping("/InfoBatchQuery")
@@ -25,9 +25,9 @@ import java.util.concurrent.ExecutionException; @@ -25,9 +25,9 @@ import java.util.concurrent.ExecutionException;
25 import java.util.concurrent.TimeUnit; 25 import java.util.concurrent.TimeUnit;
26 26
27 27
28 -@Service("UserInfoImportServiceImpl")  
29 -public class UserInfoImportServiceImpl implements IBusinessImportService {  
30 - private static final Logger logger = LoggerFactory.getLogger(UserInfoImportServiceImpl.class); 28 +@Service
  29 +public class userInfoImportServiceImpl implements IBusinessImportService {
  30 + private static final Logger logger = LoggerFactory.getLogger(userInfoImportServiceImpl.class);
31 31
32 @Autowired 32 @Autowired
33 IOrdersMapper ordersMapper; 33 IOrdersMapper ordersMapper;
@@ -27,8 +27,8 @@ import java.util.List; @@ -27,8 +27,8 @@ import java.util.List;
27 /** 27 /**
28 * Created by jianhui.wang on 2017/7/25. 28 * Created by jianhui.wang on 2017/7/25.
29 */ 29 */
30 -@Service("UserRegisterBuy")  
31 -public class UserRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoService, IBusinessExportService { 30 +@Service
  31 +public class userRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoService, IBusinessExportService {
32 32
33 static Logger logger = LoggerFactory.getLogger("UserRegisterBuyInfoserviceImpl"); 33 static Logger logger = LoggerFactory.getLogger("UserRegisterBuyInfoserviceImpl");
34 34
@@ -108,12 +108,6 @@ @@ -108,12 +108,6 @@
108 <property name="isIdfa" value="1"/> 108 <property name="isIdfa" value="1"/>
109 </bean> 109 </bean>
110 110
111 - <bean id="UserInfoImportServiceImpl" class="com.yoho.unions.server.service.impl.UserInfoImportServiceImpl" >  
112 -  
113 - </bean>  
114 - <bean id="UserRegisterBuyInfoserviceImpl" class="com.yoho.unions.server.service.impl.UserRegisterBuyInfoserviceImpl" >  
115 - </bean>  
116 -  
117 <bean id="imeiMatchImportServiceImpl" class="com.yoho.unions.server.service.impl.DeviceIdMatchImportServiceImpl" > 111 <bean id="imeiMatchImportServiceImpl" class="com.yoho.unions.server.service.impl.DeviceIdMatchImportServiceImpl" >
118 <property name="isIdfa" value="0"/> 112 <property name="isIdfa" value="0"/>
119 </bean> 113 </bean>
@@ -121,7 +115,7 @@ @@ -121,7 +115,7 @@
121 <!-- 批量操作服务定义 --> 115 <!-- 批量操作服务定义 -->
122 <util:map id="batchImportBusiness" key-type="java.lang.String" 116 <util:map id="batchImportBusiness" key-type="java.lang.String"
123 value-type="com.yoho.unions.common.service.IBusinessImportService"> 117 value-type="com.yoho.unions.common.service.IBusinessImportService">
124 - <entry key="MobileUidImport" value-ref="UserInfoImportServiceImpl"/> 118 + <entry key="MobileUidImport" value-ref="userInfoImportServiceImpl"/>
125 <entry key="idfaMatchImport" value-ref="idfaMatchImportServiceImpl"/> 119 <entry key="idfaMatchImport" value-ref="idfaMatchImportServiceImpl"/>
126 <entry key="imeiMatchImport" value-ref="idfaMatchImportServiceImpl"/> 120 <entry key="imeiMatchImport" value-ref="idfaMatchImportServiceImpl"/>
127 </util:map> 121 </util:map>
@@ -130,7 +124,7 @@ @@ -130,7 +124,7 @@
130 value-type="com.yoho.unions.common.service.IBusinessExportService"> 124 value-type="com.yoho.unions.common.service.IBusinessExportService">
131 <entry key="channelUserServiceImpl" value-ref="channelUserServiceImpl"/> 125 <entry key="channelUserServiceImpl" value-ref="channelUserServiceImpl"/>
132 <entry key="userOrdersServiceImpl" value-ref="userOrdersServiceImpl"/> 126 <entry key="userOrdersServiceImpl" value-ref="userOrdersServiceImpl"/>
133 - <entry key="UserRegisterBuyInfoserviceImpl" value-ref="UserRegisterBuyInfoserviceImpl"/> 127 + <entry key="userRegisterBuyInfoserviceImpl" value-ref="userRegisterBuyInfoserviceImpl"/>
134 128
135 </util:map> 129 </util:map>
136 130
@@ -121,7 +121,7 @@ @@ -121,7 +121,7 @@
121 121
122 $("#exportButton").linkbutton({ 122 $("#exportButton").linkbutton({
123 onClick : function() { 123 onClick : function() {
124 - window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams())); 124 + window.open(contextPath + "/batch/export.do?type=userRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
125 } 125 }
126 }); 126 });
127 127
@@ -115,7 +115,7 @@ @@ -115,7 +115,7 @@
115 115
116 $("#exportButton").linkbutton({ 116 $("#exportButton").linkbutton({
117 onClick: function () { 117 onClick: function () {
118 - window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams())); 118 + window.open(contextPath + "/batch/export.do?type=userRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
119 } 119 }
120 }); 120 });
121 121
@@ -137,8 +137,9 @@ @@ -137,8 +137,9 @@
137 fit: true, 137 fit: true,
138 fitColumns: true, 138 fitColumns: true,
139 nowrap: false, 139 nowrap: false,
140 - // queryParams: getParams(),  
141 - url: contextPath + "/UserRegisterBuy/getUserRegisterBuyList?&register=" + getParams().isRegister + "&buy=" + getParams().isBuy, 140 + queryParams: getParams(),
  141 + url: contextPath + "/UserRegisterBuy/getUserRegisterBuyList",
  142 + //?&register=" + getParams().isRegister + "&buy=" + getParams().isBuy,
142 method: 'GET', 143 method: 'GET',
143 loadFilter: function (data) { 144 loadFilter: function (data) {
144 var temp = defaultLoadFilter(data); 145 var temp = defaultLoadFilter(data);
@@ -194,7 +195,7 @@ @@ -194,7 +195,7 @@
194 195
195 $("#exportButton").linkbutton({ 196 $("#exportButton").linkbutton({
196 onClick: function () { 197 onClick: function () {
197 - onclick=window.open("http://localhost:8083/union/html/getUserInfo/tedt.html") 198 + onclick=window.open("http://localhost:8083/union/html/getUserInfo/search.html")
198 // window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams())); 199 // window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
199 } 200 }
200 }); 201 });