|
|
@@ -154,7 +154,7 @@ public class OutsourceOrgServiceImpl extends BaseMybatisDao<TOrderOutsourceMapp
|
|
|
type=NoticeStatus.PROJECT_OUTSOURCE_YES.getCode();
|
|
|
ol.setStatus(1);
|
|
|
addOrderLog(o.getOrderNo(),OrderLogProcess.XMWBTG.getCode(),o.getRemarks());
|
|
|
- OrderNewService.updateOrderCostAmount(o.getTid(),0);
|
|
|
+
|
|
|
}else {
|
|
|
type=NoticeStatus.PROJECT_OUTSOURCE_NO.getCode();
|
|
|
ol.setStatus(2);
|
|
|
@@ -165,7 +165,11 @@ public class OutsourceOrgServiceImpl extends BaseMybatisDao<TOrderOutsourceMapp
|
|
|
}
|
|
|
TOrderNewBo order=tOrderNewMapper.getSaleIdByOno(o.getOrderNo());
|
|
|
orderNewService.pushGeneralSendNoticeAndEmail(aids, type,order, TokenManager.getAdminId(),t2.getApproval(),o.getTid());
|
|
|
- return tOrderOutsourceMapper.updateByPrimaryKeySelective(o);
|
|
|
+ tOrderOutsourceMapper.updateByPrimaryKeySelective(o);
|
|
|
+ if(o.getRefundStatus()==1 &&o.getType()==1){
|
|
|
+ OrderNewService.updateOrderCostAmount(o.getTid(),0);
|
|
|
+ }
|
|
|
+ return 1;
|
|
|
}
|
|
|
|
|
|
private void pushRejectMid(OrderOutsourceDtails o) {
|