|
|
@@ -1247,7 +1247,12 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
|
|
|
}
|
|
|
TOrderNew t2= checkDeleteSign(o.getOrderNo());
|
|
|
pushGeneralSendNoticeAndEmail(aids, NoticeStatus.PROJECT_OUTSOURCE_START.getCode(),o.getOrderNo(), TokenManager.getAdminId(),t2.getApproval());
|
|
|
- return tOrderOutsourceMapper.insertSelective(o);
|
|
|
+ if (o.getId()!=null) {
|
|
|
+ tOrderOutsourceMapper.updateByPrimaryKeySelective(o);
|
|
|
+ }else {
|
|
|
+ tOrderOutsourceMapper.insertSelective(o);
|
|
|
+ }
|
|
|
+ return 1;
|
|
|
}
|
|
|
|
|
|
|