You've already forked FrameTour-BE
添加“broker”相关CRUD代码
This commit is contained in:
20
src/main/java/com/ycwl/basic/mapper/pc/BrokerMapper.java
Normal file
20
src/main/java/com/ycwl/basic/mapper/pc/BrokerMapper.java
Normal file
@ -0,0 +1,20 @@
|
||||
package com.ycwl.basic.mapper.pc;
|
||||
|
||||
import com.ycwl.basic.model.pc.broker.entity.BrokerEntity;
|
||||
import com.ycwl.basic.model.pc.broker.req.BrokerReqQuery;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author:longbinbin
|
||||
* @Date:2024/11/29 14:15
|
||||
* 推客/推广人
|
||||
*/
|
||||
public interface BrokerMapper {
|
||||
List<BrokerEntity> list(BrokerReqQuery brokerReqQuery);
|
||||
BrokerEntity getById(Long id);
|
||||
int add(BrokerEntity broker);
|
||||
int deleteById(Long id);
|
||||
int update(BrokerEntity broker);
|
||||
int updateStatus();
|
||||
}
|
@ -1,6 +1,7 @@
|
||||
package com.ycwl.basic.mapper.pc;
|
||||
|
||||
import com.ycwl.basic.model.pc.menu.MenuNode;
|
||||
import com.ycwl.basic.model.pc.menu.entity.MenuEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@ -10,6 +11,7 @@ import java.util.List;
|
||||
public interface MenuMapper {
|
||||
int delete(@Param("id")String id);
|
||||
int addRoleMenu(@Param("id")String id,@Param("list") List<Integer> list);
|
||||
int add(MenuEntity menuEntity);
|
||||
|
||||
List<MenuNode>getListByType(@Param("type")Integer type);
|
||||
}
|
||||
|
Reference in New Issue
Block a user