| | |
| | | <if test="proName != null and proName != ''"> |
| | | and p.pro_name like concat('%',#{proName},'%') |
| | | </if> |
| | | <if test="bt != null and bt != ''"> |
| | | and a.title like concat('%',#{bt},'%') |
| | | </if> |
| | | <if test="nr != null and nr != ''"> |
| | | and a.advice like concat('%',#{nr},'%') |
| | | </if> |
| | | </where> |
| | | LIMIT #{page},#{pageSize} |
| | | </select> |
| | |
| | | <if test="proName != null"> |
| | | and p.pro_name like concat('%',#{proName},'%') |
| | | </if> |
| | | <if test="bt != null and bt != ''"> |
| | | and a.title like concat('%',#{bt},'%') |
| | | </if> |
| | | <if test="nr != null and nr != ''"> |
| | | and a.advice like concat('%',#{nr},'%') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |