| | |
| | | package com.lf.server.service.data; |
| | | |
| | | import com.lf.server.entity.data.DirEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.mapper.data.DirMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<DirEntity> selectProject() { |
| | | return dirMapper.selectProject(); |
| | | public List<DirEntity> selectProject(String name) { |
| | | name = StringHelper.getLikeStr(name); |
| | | |
| | | return dirMapper.selectProject(name); |
| | | } |
| | | |
| | | @Override |