liurunyu
2024-01-29 c568a328a8c273531773710fe814ac429bafc48f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.dy.pipIrrDemo.role;
 
 
import com.dy.pipIrrGlobal.daoDemo.DemoRoleMapper;
import com.dy.pipIrrGlobal.pojoDemo.DemoRole;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
 
import java.util.List;
 
@Service
public class RoleSv {
    @Autowired
    private DemoRoleMapper demoRoleMapper ;
 
    public List<DemoRole> selectAll() {
        List<DemoRole> list = this.demoRoleMapper.selectAll() ;
        return list ;
    }
}