package com.xzx.gc.order.service; import com.xzx.gc.entity.HomeServiceInfo; import com.xzx.gc.order.mapper.HomeServiceInfoMapper; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import java.util.List; @Service @Transactional public class HomeServiceInfoService { @Autowired private HomeServiceInfoMapper homeServiceInfoMapper; public HomeServiceInfo findFather(Long id){ return homeServiceInfoMapper.findFather(id); } public HomeServiceInfo findById(Long id){ return homeServiceInfoMapper.selectByPrimaryKey(id); } }