<?xml version="1.0" encoding="UTF-8"?>
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<mapper namespace="com.ruoyi.system.mapper.config.RecommendCooperationMapper">
|
|
<select id="pageMerShopRecommend" resultType="com.ruoyi.system.domain.vo.MerShopRecommendPageVo">
|
SELECT
|
id id,
|
corp_status corpStatus,
|
recommended_name recommendedName,
|
recommended_phone recommendedPhone,
|
remark remark
|
FROM t_recommend_cooperation
|
WHERE del_flag = 0 AND shop_id = #{param.shopId}
|
<if test="param.keyword != null and param.keyword != ''">
|
AND (recommended_name LIKE CONCAT('%',#{param.keyword},'%') OR recommended_phone LIKE CONCAT('%',#{param.keyword},'%'))
|
</if>
|
</select>
|
|
</mapper>
|