¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.lf.server.mapper.all; |
| | | |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.data.DomainEntity; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ç¶æ¥è¯¢Mapper |
| | | * @author WWW |
| | | */ |
| | | @Mapper |
| | | @Repository |
| | | public interface BaseQueryMapper { |
| | | /** |
| | | * æ¨¡ç³æç´¢ç¨æ· |
| | | * |
| | | * @param name ç¨æ·å |
| | | * @return å®ä½ç±»éå |
| | | */ |
| | | public List<IdNameEntity> selectUserFuzzy(String name); |
| | | |
| | | /** |
| | | * æ¨¡ç³æç´¢åä½ |
| | | * |
| | | * @param name åä½å |
| | | * @return å®ä½ç±»éå |
| | | */ |
| | | public List<IdNameEntity> selectDepFuzzy(String name); |
| | | |
| | | /** |
| | | * æ¥è¯¢ææè¡¨ |
| | | * |
| | | * @return |
| | | */ |
| | | public List<TabEntity> selectTabs(); |
| | | |
| | | /** |
| | | * æ¥è¯¢åæ®µä¿¡æ¯ |
| | | * |
| | | * @param ns åç§°ç©ºé´ |
| | | * @param tab 表å |
| | | * @return å®ä½ç±»éå |
| | | */ |
| | | public List<DictEntity> selectFields(String ns, String tab); |
| | | |
| | | /** |
| | | * æ¥è¯¢å¼åä¿¡æ¯ |
| | | * |
| | | * @param ns åç§°ç©ºé´ |
| | | * @param tab 表å |
| | | * @return å®ä½ç±»éå |
| | | */ |
| | | public List<DomainEntity> selectDomains(String ns, String tab); |
| | | } |