| package cc.mrbird.febs.mall.mapper; | 
|   | 
| import cc.mrbird.febs.mall.entity.MallAgentRecord; | 
| import cc.mrbird.febs.mall.vo.ApiMallAgentRecordVo; | 
| import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
| import com.baomidou.mybatisplus.core.metadata.IPage; | 
| import com.baomidou.mybatisplus.extension.plugins.pagination.Page; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
| public interface MallAgentRecordMapper extends BaseMapper<MallAgentRecord> { | 
|   | 
|     MallAgentRecord selectByMemberIdAndState(@Param("memberId")Long memberId, @Param("state")Integer applyIng); | 
|   | 
|     IPage<MallAgentRecord> selectMallAgentRecordListInPage(Page<MallAgentRecord> page, @Param("record")MallAgentRecord mallAgentRecord); | 
|   | 
|     void updateStateByMemberId(@Param("memberId")Long memberId); | 
|   | 
|     void deleteByMemberIdAndState(@Param("memberId")Long memberId, @Param("state")Integer applyIng); | 
|   | 
|     ApiMallAgentRecordVo selectApiMallAgentRecordVoByMemberIdAndState(@Param("memberId")Long memberId, @Param("state")Integer applyIng); | 
|   | 
|     List<MallAgentRecord> selectByCity(@Param("city")String city); | 
| } |