|  |  |  | 
|---|
|  |  |  | a.id, | 
|---|
|  |  |  | a.act_code actCode, | 
|---|
|  |  |  | a.act_name actName, | 
|---|
|  |  |  | a.act_image actImage, | 
|---|
|  |  |  | a.act_start_time actStartTime, | 
|---|
|  |  |  | a.act_end_time actEndTime, | 
|---|
|  |  |  | a.act_score_cnt actScoreCnt, | 
|---|
|  |  |  | 
|---|
|  |  |  | order by a.created_time desc | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectApiMallActListInPage" resultType="cc.mrbird.febs.mall.vo.ApiMallActListVo"> | 
|---|
|  |  |  | select | 
|---|
|  |  |  | a.* | 
|---|
|  |  |  | from mall_act_set a | 
|---|
|  |  |  | <where> | 
|---|
|  |  |  | <if test="record != null"> | 
|---|
|  |  |  | <if test="record.query != null and record.query != ''"> | 
|---|
|  |  |  | and a.act_name like CONCAT('%', CONCAT(#{record.query}, '%')) | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | </where> | 
|---|
|  |  |  | order by a.act_start_time desc | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | </mapper> | 
|---|