Commit 0d3d3f8b authored by 王晓倩's avatar 王晓倩

驳回状态的订单隐藏经办人评价按钮

parent 1e0fbd15
......@@ -38,7 +38,7 @@ public class DoubleRoles extends TradeRolesAbstract {
//判断买方还是卖方
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.rejectEvaluate.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");
}
//卖方部门
......
......@@ -37,7 +37,7 @@ public class Transactor extends TradeRolesAbstract {
public void setOperators() {
//申请中
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.rejectEvaluate.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");
}
}
......
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