You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
642 B
22 lines
642 B
package com.zh.project0512.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.zh.project0512.model.CustomerActionNote;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* <p>
|
|
* Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author zh
|
|
* @since 2022-05-30
|
|
*/
|
|
public interface CustomerActionNoteMapper extends BaseMapper<CustomerActionNote> {
|
|
@Select("select t1.*,t2.name as provideName,t3.name as brandName from customerActionNote as t1 ,user as t2,brand as t3 WHERE t1.provideId = t2.id and t1.brandId = t3.id")
|
|
IPage<Map> pageList(IPage page);
|
|
}
|