yujian
2020-05-17 de4110d3d3944ffcd797fd8c43f0d455cc731f84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package com.yeshi.fanli.dao.mybatis.homemodule;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.homemodule.CommonShareInfo;
 
public interface CommonShareInfoMapper extends BaseMapper<CommonShareInfo> {
 
    /**
     * 根据上级id 和类型查询
     * @param pid
     * @param type
     * @return
     */
    CommonShareInfo getByPidAndType(@Param("pid") Long pid, @Param("type") String type);
    
    /**
     * 删除
     * @param pid
     * @param type
     */
    void deleteByPidAndType(@Param("pid") Long pid, @Param("type") String type);
    
    
}