Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
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
耿迪迪
precision-effect
Commits
0d3d3f8b
Commit
0d3d3f8b
authored
Nov 03, 2023
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
驳回状态的订单隐藏经办人评价按钮
parent
1e0fbd15
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
DoubleRoles.java
...ong/system/service/impl/tradeRoles/roles/DoubleRoles.java
+1
-1
Transactor.java
...hong/system/service/impl/tradeRoles/roles/Transactor.java
+1
-1
No files found.
precision-effect-system/src/main/java/com/zehong/system/service/impl/tradeRoles/roles/DoubleRoles.java
View file @
0d3d3f8b
...
@@ -38,7 +38,7 @@ public class DoubleRoles extends TradeRolesAbstract {
...
@@ -38,7 +38,7 @@ public class DoubleRoles extends TradeRolesAbstract {
//判断买方还是卖方
//判断买方还是卖方
Long
deptId
=
SecurityUtils
.
getLoginUser
().
getUser
().
getDeptId
();
Long
deptId
=
SecurityUtils
.
getLoginUser
().
getUser
().
getDeptId
();
//买方评价
//买方评价
if
(
deptId
.
equals
(
this
.
tTradeProject
.
getTradeDeptId
())
&&
(
TradeStatusEnum
.
evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
reject
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
reject
Evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
()))){
if
(
deptId
.
equals
(
this
.
tTradeProject
.
getTradeDeptId
())
&&
(
TradeStatusEnum
.
evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
rejectEvaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
()))){
tTradeProject
.
getOperators
().
add
(
"evaluate"
);
tTradeProject
.
getOperators
().
add
(
"evaluate"
);
}
}
//卖方部门
//卖方部门
...
...
precision-effect-system/src/main/java/com/zehong/system/service/impl/tradeRoles/roles/Transactor.java
View file @
0d3d3f8b
...
@@ -37,7 +37,7 @@ public class Transactor extends TradeRolesAbstract {
...
@@ -37,7 +37,7 @@ public class Transactor extends TradeRolesAbstract {
public
void
setOperators
()
{
public
void
setOperators
()
{
//申请中
//申请中
Long
deptId
=
SecurityUtils
.
getLoginUser
().
getUser
().
getDeptId
();
Long
deptId
=
SecurityUtils
.
getLoginUser
().
getUser
().
getDeptId
();
if
(
deptId
.
equals
(
this
.
tTradeProject
.
getTradeDeptId
())
&&
(
TradeStatusEnum
.
evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
reject
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
reject
Evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
()))){
if
(
deptId
.
equals
(
this
.
tTradeProject
.
getTradeDeptId
())
&&
(
TradeStatusEnum
.
evaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
())||
TradeStatusEnum
.
rejectEvaluate
.
getTradeStatus
().
equals
(
this
.
tTradeProject
.
getTradeStatus
()))){
tTradeProject
.
getOperators
().
add
(
"evaluate"
);
tTradeProject
.
getOperators
().
add
(
"evaluate"
);
}
}
}
}
...
...
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