Authored by jianhui_wang

用户查询

... ... @@ -9,7 +9,6 @@ import com.yoho.unions.vo.UserMobileAndUidVO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
... ... @@ -28,7 +27,6 @@ public class UserRegisterBuyInfoRest {
public static final Logger logger = LoggerFactory.getLogger(UserRegisterBuyInfoRest.class);
@Autowired
@Qualifier("UserRegisterBuy") //指定实现类
IUserRegisterBuyInfoService userRegisterBuyInfoService;
@RequestMapping("/InfoBatchQuery")
... ...
... ... @@ -25,9 +25,9 @@ import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
@Service("UserInfoImportServiceImpl")
public class UserInfoImportServiceImpl implements IBusinessImportService {
private static final Logger logger = LoggerFactory.getLogger(UserInfoImportServiceImpl.class);
@Service
public class userInfoImportServiceImpl implements IBusinessImportService {
private static final Logger logger = LoggerFactory.getLogger(userInfoImportServiceImpl.class);
@Autowired
IOrdersMapper ordersMapper;
... ...
... ... @@ -27,8 +27,8 @@ import java.util.List;
/**
* Created by jianhui.wang on 2017/7/25.
*/
@Service("UserRegisterBuy")
public class UserRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoService, IBusinessExportService {
@Service
public class userRegisterBuyInfoserviceImpl implements IUserRegisterBuyInfoService, IBusinessExportService {
static Logger logger = LoggerFactory.getLogger("UserRegisterBuyInfoserviceImpl");
... ...
... ... @@ -108,12 +108,6 @@
<property name="isIdfa" value="1"/>
</bean>
<bean id="UserInfoImportServiceImpl" class="com.yoho.unions.server.service.impl.UserInfoImportServiceImpl" >
</bean>
<bean id="UserRegisterBuyInfoserviceImpl" class="com.yoho.unions.server.service.impl.UserRegisterBuyInfoserviceImpl" >
</bean>
<bean id="imeiMatchImportServiceImpl" class="com.yoho.unions.server.service.impl.DeviceIdMatchImportServiceImpl" >
<property name="isIdfa" value="0"/>
</bean>
... ... @@ -121,7 +115,7 @@
<!-- 批量操作服务定义 -->
<util:map id="batchImportBusiness" key-type="java.lang.String"
value-type="com.yoho.unions.common.service.IBusinessImportService">
<entry key="MobileUidImport" value-ref="UserInfoImportServiceImpl"/>
<entry key="MobileUidImport" value-ref="userInfoImportServiceImpl"/>
<entry key="idfaMatchImport" value-ref="idfaMatchImportServiceImpl"/>
<entry key="imeiMatchImport" value-ref="idfaMatchImportServiceImpl"/>
</util:map>
... ... @@ -130,7 +124,7 @@
value-type="com.yoho.unions.common.service.IBusinessExportService">
<entry key="channelUserServiceImpl" value-ref="channelUserServiceImpl"/>
<entry key="userOrdersServiceImpl" value-ref="userOrdersServiceImpl"/>
<entry key="UserRegisterBuyInfoserviceImpl" value-ref="UserRegisterBuyInfoserviceImpl"/>
<entry key="userRegisterBuyInfoserviceImpl" value-ref="userRegisterBuyInfoserviceImpl"/>
</util:map>
... ...
... ... @@ -121,7 +121,7 @@
$("#exportButton").linkbutton({
onClick : function() {
window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
window.open(contextPath + "/batch/export.do?type=userRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
}
});
... ...
... ... @@ -115,7 +115,7 @@
$("#exportButton").linkbutton({
onClick: function () {
window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
window.open(contextPath + "/batch/export.do?type=userRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
}
});
... ...
... ... @@ -137,8 +137,9 @@
fit: true,
fitColumns: true,
nowrap: false,
// queryParams: getParams(),
url: contextPath + "/UserRegisterBuy/getUserRegisterBuyList?&register=" + getParams().isRegister + "&buy=" + getParams().isBuy,
queryParams: getParams(),
url: contextPath + "/UserRegisterBuy/getUserRegisterBuyList",
//?&register=" + getParams().isRegister + "&buy=" + getParams().isBuy,
method: 'GET',
loadFilter: function (data) {
var temp = defaultLoadFilter(data);
... ... @@ -194,7 +195,7 @@
$("#exportButton").linkbutton({
onClick: function () {
onclick=window.open("http://localhost:8083/union/html/getUserInfo/tedt.html")
onclick=window.open("http://localhost:8083/union/html/getUserInfo/search.html")
// window.open(contextPath + "/batch/export.do?type=UserRegisterBuyInfoserviceImpl&queryConf=" + JSON.stringify(getParams()));
}
});
... ...