| | |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.io.File; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | @Override |
| | | public List<DirEntity> selectRecursiveById(Integer id) { |
| | | return dirMapper.selectRecursiveById(id); |
| | | List<DirEntity> list = dirMapper.selectRecursiveById(id); |
| | | |
| | | return null == list ? new ArrayList<>() : list; |
| | | } |
| | | |
| | | @Override |
| | |
| | | return dirMapper.selectDirsForPrj(); |
| | | } |
| | | |
| | | @Override |
| | | public Integer selectMaxOrderNum() { |
| | | return dirMapper.selectMaxOrderNum(); |
| | | } |
| | | |
| | | @Override |
| | | public DirEntity selectDirByName(String name, Integer pid) { |
| | | return dirMapper.selectDirByName(name, pid); |
| | | } |
| | | |
| | | /** |
| | | * 创建数据目录 |
| | | */ |