xing
2023-02-23 c75e6f4696634d626c5569794c6349593853223a
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.yssh.service.impl;
 
import com.yssh.dao.YsshSuYuanMapper;
import com.yssh.entity.YsshQxsh;
import com.yssh.entity.YsshSuYuan;
import com.yssh.service.YsshSuYuanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
/**
 * @author wMeng
 * @ClassName YsshSuYuanServiceImpl
 * @Description TODO
 * @date 2022/11/5 10:47
 * @Version 1.0
 */
@Service
public class YsshSuYuanServiceImpl implements YsshSuYuanService {
    @Autowired
    private YsshSuYuanMapper ysshSuYuanMapper;
 
    @Override
    public List<YsshSuYuan> query(String name) {
        return ysshSuYuanMapper.query(name);
    }
    @Override
    public List<YsshSuYuan> queryByIds(List<Integer> ids) {
        return ysshSuYuanMapper.queryByIds(ids);
    }
    @Override
    public List<YsshSuYuan> getAll() {
        return ysshSuYuanMapper.getAll();
    }
    @Override
    public int insert(YsshSuYuan ysshSuYuan) {
        return ysshSuYuanMapper.insert(ysshSuYuan);
    }
    @Override
    public int delete(String id) {
        return ysshSuYuanMapper.delete(id);
    }
    @Override
    public int update(YsshSuYuan ysshSuYuan) {
        return ysshSuYuanMapper.update(ysshSuYuan);
    }
}