| | |
| | | where a.state = 1 |
| | | </select> |
| | | |
| | | |
| | | |
| | | <select id="selectApiLeaderInfoInPage" resultType="cc.mrbird.febs.mall.vo.ApiHappyLeaderInfoVo"> |
| | | select |
| | | a.* |
| | | from mall_team_leader a |
| | | <where> |
| | | and a.state = 1 |
| | | and a.online_state = 1 |
| | | <if test="record != null"> |
| | | <if test="record.query != null and record.query != ''"> |
| | | and ( |
| | | a.name like CONCAT('%', CONCAT(#{record.query}, '%')) |
| | | or a.address_area like CONCAT('%', CONCAT(#{record.query}, '%')) |
| | | or a.detail_address like CONCAT('%', CONCAT(#{record.query}, '%')) |
| | | ) |
| | | </if> |
| | | </if> |
| | | </where> |
| | | order by a.id desc |
| | | </select> |
| | | |
| | | </mapper> |