wuzeyu
2024-01-27 d276b2f67315e638b6596b48da1b6f9ac01dd69b
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 ;
    }
}