| | |
| | | SELECT |
| | | a.*, |
| | | a.CREATED_TIME createTime, |
| | | b.name name, |
| | | b.nick_name name, |
| | | b.mobile_phone phone, |
| | | d.express_com expressCom, |
| | | d.express_no expressNo |
| | |
| | | </if> |
| | | |
| | | <if test="name != null and name != ''"> |
| | | and b.name like concat('%',#{name},'%') |
| | | and b.nick_name like concat('%',#{name},'%') |
| | | </if> |
| | | <if test="status != null and status != ''"> |
| | | and a.status = #{status} |
| | |
| | | </if> |
| | | |
| | | <if test="createdTimeEnd != null"> |
| | | and a.CREATED_TIME >= #{createdTimeEnd} |
| | | and a.CREATED_TIME <= #{createdTimeEnd} |
| | | </if> |
| | | order by a.CREATED_TIME desc |
| | | </select> |