Helius
2021-06-28 2b3cf8e87398099ba0818ea84e6c751871beac1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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);
    }
 
}