Commit ea18bc2f by manxiaoqiang

2

parent a206c0cd
......@@ -261,4 +261,38 @@ public class Account4Web {
public void setPressStatus(Boolean pressStatus) {
this.pressStatus = pressStatus;
}
@Override
public String toString() {
return "Account4Web{" +
"id=" + id +
", accountId=" + accountId +
", email='" + email + '\'' +
", company='" + company + '\'' +
", createDate=" + createDate +
", createDs='" + createDs + '\'' +
", status='" + status + '\'' +
", packageType='" + packageType + '\'' +
", packageTypeId=" + packageTypeId +
", pastDate='" + pastDate + '\'' +
", track=" + track +
", io=" + io +
", trackLimit=" + trackLimit +
", ioLimit=" + ioLimit +
", backTime=" + backTime +
", user='" + user + '\'' +
", tell='" + tell + '\'' +
", money=" + money +
", ioStatus=" + ioStatus +
", trackStatus=" + trackStatus +
", remStatus=" + remStatus +
", bussinessMan=" + bussinessMan +
", contractStatus='" + contractStatus + '\'' +
", contractTime=" + contractTime +
", saleName='" + saleName + '\'' +
", pressStatus=" + pressStatus +
", saleEamil='" + saleEamil + '\'' +
", sale=" + sale +
'}';
}
}
......@@ -13,6 +13,8 @@ import org.apache.commons.collections4.list.TreeList;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils;
......@@ -23,6 +25,7 @@ import tkio.model.SalesManLeader;
import tkio.repository.*;
import tkio.service.AccountFlowRestrictService;
import tkio.service.TkioAccountService;
import tkio.task.AccountCheck;
import util.Constant;
import util.DateUtil;
import util.HttpClientUtil;
......@@ -37,7 +40,7 @@ import java.util.*;
*/
@Service
public class TkioAccountServiceImpl implements TkioAccountService {
private static final Logger logger = LoggerFactory.getLogger(TkioAccountServiceImpl.class);
//查询URI
private final static String URI_REPORT_BY_SQL = "/api/trackingio/bysql";
......@@ -195,6 +198,7 @@ public class TkioAccountServiceImpl implements TkioAccountService {
Map<String, Integer> backTimeMap = getBackTime();
Map<String, List<Contract>> payMap = getPay();
for(Account4Web aw : account4WebList){
logger.error(aw.toString());
if(backTimeMap.containsKey(aw.getEmail())){
aw.setBackTime(backTimeMap.get(aw.getEmail()));
} else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment