|
|
@@ -1303,9 +1303,11 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
|
|
|
@Transactional
|
|
|
public int pushOutsourceProjectAudit(TOrderOutsource o) {
|
|
|
//前端加载缓慢避免重复提交
|
|
|
- OrderOutsourceDtails ood=tOrderOutsourceMapper.selectByOrderNo(null,o.getTid().toString());
|
|
|
- if (ood!=null){
|
|
|
- return 1;
|
|
|
+ if(o.getId()==null){
|
|
|
+ OrderOutsourceDtails ood=tOrderOutsourceMapper.selectByOrderNo(null,o.getTid().toString());
|
|
|
+ if (ood!=null){
|
|
|
+ return 1;
|
|
|
+ }
|
|
|
}
|
|
|
o.setRefundStatus(0);
|
|
|
o.setCreateTime(new Date());
|