|
@@ -557,12 +557,14 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
|
|
|
addOrderLog(tl);
|
|
addOrderLog(tl);
|
|
|
//非特批增加催款信息
|
|
//非特批增加催款信息
|
|
|
//外包
|
|
//外包
|
|
|
- o.setRefundStatus(0);
|
|
|
|
|
- if(o.getId()==null) {
|
|
|
|
|
|
|
+ if(outsource==1) {
|
|
|
|
|
+ o.setRefundStatus(0);
|
|
|
|
|
+ if(o.getId()==null) {
|
|
|
o.setCreateTime(new Date());
|
|
o.setCreateTime(new Date());
|
|
|
tOrderOutsourceMapper.insertSelective(o);
|
|
tOrderOutsourceMapper.insertSelective(o);
|
|
|
- }else {
|
|
|
|
|
|
|
+ }else {
|
|
|
tOrderOutsourceMapper.updateByPrimaryKeySelective(o);
|
|
tOrderOutsourceMapper.updateByPrimaryKeySelective(o);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
if(t2.getApproval()==0)pushOrderDun(t2);
|
|
if(t2.getApproval()==0)pushOrderDun(t2);
|
|
|
}else if (orderStatus==OrderNewState.QDSHJJ.getCode()) {//如果不通过新增驳回
|
|
}else if (orderStatus==OrderNewState.QDSHJJ.getCode()) {//如果不通过新增驳回
|