文件名从 src/main/java/com/lf/server/mapper/oraganization/DepMapper.java 修改 |
| | |
| | | package com.lf.server.mapper.oraganization; |
| | | package com.lf.server.mapper.data; |
| | | |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | import com.lf.server.entity.organization.DepEntity; |
| | | import com.lf.server.entity.data.DepEntity; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @author sws |
| | | * @date 2022-09-23 |
| | | */ |
| | | |
| | | @Mapper |
| | | @Repository |
| | | public interface DepMapper { |
| | |
| | | public Integer insertDep(DepEntity depEntity); |
| | | |
| | | /** |
| | | * 鎵归噺娣诲姞 |
| | | * @param depEntity |
| | | * @return |
| | | */ |
| | | public Integer insertDeps(List<DepEntity> depEntity); |
| | | /** |
| | | * 鍒櫎鏁版嵁 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public Integer deleteDep(int id); |
| | | |
| | | public Integer deleteDeps(String ids); |
| | | /** |
| | | * 鎵归噺鍒犻櫎 |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | public Integer deleteDeps(List<Integer> ids); |
| | | |
| | | /** |
| | | * 淇敼鏁版嵁 |
| | |
| | | |
| | | /** |
| | | * 鏌ヨ鍗曟潯鏁版嵁 |
| | | * @param depEntity |
| | | * @param id |
| | | * @return |
| | | */ |
| | | public DepEntity selectDep(DepEntity depEntity); |
| | | public DepEntity selectDep(int id); |
| | | |
| | | /** |
| | | * 鏌ヨ鍏ㄩ儴鏁版嵁 |