第三方单据下载异常回滚问题

dev
anthonywj 2 years ago
parent 2771e60a67
commit 8cb095693c

@ -34,7 +34,6 @@ import java.util.List;
@Slf4j
@Service
@Transactional(rollbackFor = Exception.class)
public class ThrOrderServiceImpl implements ThrOrderService {
@Resource
private ThrOrderDao thrOrderDao;
@ -168,26 +167,31 @@ public class ThrOrderServiceImpl implements ThrOrderService {
}
@Override
@Transactional(rollbackFor = Exception.class)
public boolean insertThrOrder(ThrOrderEntity thrCorpEntity) {
return thrOrderDao.insertThrOrder(thrCorpEntity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public boolean insertThrOrders(List<ThrOrderEntity> thrOrderEntities) {
return thrOrderDao.insertThrOrders(thrOrderEntities);
}
@Override
@Transactional(rollbackFor = Exception.class)
public int updateThrOrder(ThrOrderEntity thrOrderEntity) {
return thrOrderDao.updateById(thrOrderEntity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public boolean deleteById(String id) {
return thrOrderDao.deleteById(id);
}
@Override
@Transactional(rollbackFor = Exception.class)
public boolean deleteAll() {
return thrOrderDao.deleteAll();
}

Loading…
Cancel
Save