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
dfaec2dc
Commit
dfaec2dc
authored
Jan 31, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app排序
parent
b985f602
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
2 deletions
+8
-2
workspace.xml
.idea/workspace.xml
+0
-0
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+1
-1
TkioAccountServiceImpl.java
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
+3
-0
TrackAccountServiceImpl.java
...main/java/track/service/impl/TrackAccountServiceImpl.java
+3
-0
ResultStatus.java
src/main/java/util/ResultStatus.java
+1
-1
No files found.
.idea/workspace.xml
View file @
dfaec2dc
This diff is collapsed.
Click to expand it.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
dfaec2dc
...
...
@@ -172,7 +172,7 @@ public class ContractServiceImpl implements ContractService{
contractChangeRepository
.
save
(
cc
);
//同步修改trackingio的数据
if
(
resource
.
getPlatform
().
equals
(
"tkio"
)){
if
(
contract
.
getPlatform
().
equals
(
"tkio"
)){
accountService
.
update
(
contract
);
}
return
contractRepository
.
save
(
contract
);
...
...
src/main/java/tkio/service/impl/TkioAccountServiceImpl.java
View file @
dfaec2dc
...
...
@@ -171,6 +171,9 @@ public class TkioAccountServiceImpl implements TkioAccountService {
}
}
Account4Web
aw
=
account4WebRepository
.
findByEmail
(
email
);
if
(
null
==
aw
){
return
null
;
}
List
<
BackVisit
>
backVisitList
=
backVisitRepository
.
findAllByPlatformAndEmail
(
"tkio"
,
email
);
if
(
ValidateUtil
.
isValid
(
backVisitList
)){
aw
.
setBackTime
(
backVisitList
.
size
());
...
...
src/main/java/track/service/impl/TrackAccountServiceImpl.java
View file @
dfaec2dc
...
...
@@ -115,6 +115,9 @@ public class TrackAccountServiceImpl implements TrackAccountService{
}
}
TrackAccount4Web
aw
=
trackAccount4WebRepository
.
findByEmail
(
email
);
if
(
null
==
aw
){
return
null
;
}
List
<
BackVisit
>
backVisitList
=
backVisitRepository
.
findAllByPlatformAndEmail
(
"track"
,
email
);
if
(
ValidateUtil
.
isValid
(
backVisitList
)){
aw
.
setBackTime
(
backVisitList
.
size
());
...
...
src/main/java/util/ResultStatus.java
View file @
dfaec2dc
...
...
@@ -10,7 +10,7 @@ public enum ResultStatus {
NUMBER_LIMIT
(-
300
,
"超过限定值,无法添加"
),
NETWORK_ERROR
(
404
,
"网络异常"
),
PARAM_INVALID
(-
1000
,
"参数错误"
),
USER
NAME_OR_PASSWORD_ERROR
(-
1001
,
"用户名或密码错误
"
),
USER
_EMPTY
(-
1001
,
"用户不存在
"
),
USERNAME_LOGIN_EXPIRE
(-
1002
,
"用户登陆失效"
),
SUB_ACCOUNT_DISABLE
(-
1003
,
"子帐号已禁用"
),
ORIGINAL_ACCOUNT_DISABLE
(-
1004
,
"主体帐号已禁用"
),
...
...
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