wuzeyu
2024-01-26 351577011aacad0d80394db206702a69bccc962b
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 ;
    }
}