Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
manager
Commits
ea18bc2f
Commit
ea18bc2f
authored
Apr 26, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
a206c0cd
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletion
+39
-1
workspace.xml
.idea/workspace.xml
+0
-0
Account4Web.java
src/main/java/common/model/Account4Web.java
+34
-0
TkioAccountServiceImpl.java
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
+5
-1
No files found.
.idea/workspace.xml
View file @
ea18bc2f
This diff is collapsed.
Click to expand it.
src/main/java/common/model/Account4Web.java
View file @
ea18bc2f
...
...
@@ -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
+
'}'
;
}
}
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
View file @
ea18bc2f
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment