|
|
|
@ -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();
|
|
|
|
|
}
|
|
|
|
|