| | |
| | | package com.lf.server.service.sys; |
| | | |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.entity.sys.DepEntity; |
| | | import com.lf.server.mapper.sys.DepMapper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | * @author sws |
| | | * @date 2022-09-23 |
| | | */ |
| | | |
| | | @Service |
| | | public class DepService implements DepMapper { |
| | | @Autowired |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<IdNameEntity> selectDepsByCodes(String[] codes) { |
| | | return depMapper.selectDepsByCodes(codes); |
| | | } |
| | | |
| | | @Override |
| | | public List<DepEntity> selectDepAll() { |
| | | return depMapper.selectDepAll(); |
| | | } |
| | | |
| | | @Override |
| | | public Integer updateDeps(List<DepEntity> depEntity) { |
| | | return depMapper.updateDeps(depEntity); |
| | | public Integer updateDeps(List<DepEntity> list) { |
| | | return depMapper.updateDeps(list); |
| | | } |
| | | |
| | | @Override |