| | |
| | | <if test="null != item.search and '' != item.search"> |
| | | and (a.name like CONCAT('%', #{item.search}, '%') or b.name like CONCAT('%', #{item.search}, '%')) |
| | | </if> |
| | | <if test="null != item.targetAudience and '' != item.targetAudience"> |
| | | and (a.targetAudience like CONCAT('%', #{item.targetAudience}, '%')) |
| | | </if> |
| | | order by a.insertTime desc limit #{item.pageNum}, #{item.pageSize} |
| | | </select> |
| | | |
| | |
| | | a.payMoney as payMoney, |
| | | a.payType as payType, |
| | | a.isHalf as isHalf, |
| | | a.targetAudience as targetAudience, |
| | | CONCAT(DATE_FORMAT(a.startTime, '%Y-%m-%d %H:%i'), '-', DATE_FORMAT(a.endTime, '%H:%i')) as appointment, |
| | | a.`status`, |
| | | UNIX_TIMESTAMP(a.insertTime) * 1000 as insertTime |