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
2182d277
Commit
2182d277
authored
Jul 03, 2020
by
kangxiaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理合同状态
parent
e829709f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
10 deletions
+16
-10
ContractServiceImpl.java
src/main/java/common/service/impl/ContractServiceImpl.java
+16
-10
No files found.
src/main/java/common/service/impl/ContractServiceImpl.java
View file @
2182d277
...
...
@@ -808,6 +808,10 @@ public class ContractServiceImpl implements ContractService {
}
}
if
(
resource
.
getStatus
()
==
null
)
{
resource
.
setStatus
(
ContractStatusEnum
.
NFORMAL
.
getKey
());
}
this
.
calculateShareIncome
(
resource
);
resource
.
setId
(
contract
.
getId
());
...
...
@@ -1645,9 +1649,9 @@ public class ContractServiceImpl implements ContractService {
if
(
showTip
)
{
//获取相关执行合同名称
List
<
String
>
codes
=
contractRepository
.
findContractBodyNames
(
contract
.
getCustomerBody
(),
contract
.
getContractCode
());
List
<
String
>
codes
=
contractRepository
.
findContractBodyNames
(
contract
.
getCustomerBody
(),
contract
.
getContractCode
());
contract
.
setCustomBodyNames
(
codes
);
}
else
{
}
else
{
contract
.
setCustomBodyNames
(
new
ArrayList
<>());
}
...
...
@@ -2223,7 +2227,7 @@ public class ContractServiceImpl implements ContractService {
}
int
row_already
=
titleKey
.
size
();
String
extend_row_sql
=
"platform,product,my_body_code,create_time,code_num,type,status,ds,"
+
String
extend_row_sql
=
"platform,product,my_body_code,create_time,code_num,type,status,
back_status,
ds,"
+
"create_account,create_name,extra_flow,relation_contract,invoice_money,first_back_id"
;
int
extend_size
=
extend_row_sql
.
split
(
","
).
length
;
...
...
@@ -2318,21 +2322,23 @@ public class ContractServiceImpl implements ContractService {
}
//platform,product,my_body_code,create_time,code_num,type,status,back_status,ds,
s_data
[
row_already
]
=
platform
;
s_data
[
row_already
+
1
]
=
platform
;
s_data
[
row_already
+
2
]
=
bodyCode
;
s_data
[
row_already
+
3
]
=
new
Date
();
s_data
[
row_already
+
4
]
=
0
;
s_data
[
row_already
+
5
]
=
"main"
;
s_data
[
row_already
+
6
]
=
"backnone"
;
s_data
[
row_already
+
7
]
=
ds
;
s_data
[
row_already
+
6
]
=
ContractStatusEnum
.
NFORMAL
.
getKey
();
//常规合同
s_data
[
row_already
+
7
]
=
1
;
//未回款
s_data
[
row_already
+
8
]
=
ds
;
// create_account,create_name,extra_flow,relation_contract,invoice_money,first_back_id
s_data
[
row_already
+
8
]
=
0
;
s_data
[
row_already
+
9
]
=
"导入"
;
s_data
[
row_already
+
10
]
=
0
;
s_data
[
row_already
+
11
]
=
-
1
;
s_data
[
row_already
+
12
]
=
0
;
s_data
[
row_already
+
9
]
=
0
;
s_data
[
row_already
+
10
]
=
"导入"
;
s_data
[
row_already
+
11
]
=
0
;
s_data
[
row_already
+
12
]
=
-
1
;
s_data
[
row_already
+
13
]
=
0
;
s_data
[
row_already
+
14
]
=
0
;
//批量添加数据
args_data
.
add
(
s_data
);
}
...
...
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