| | |
| | | <if test="vo.source !=null and vo.source !=''"> |
| | | AND L.SOURCE = #{vo.source} |
| | | </if> |
| | | <if test="vo.daterange !=null and vo.daterange.length > 0"> |
| | | AND L.CREATE_TIME >= #{vo.daterange[0]} AND L.CREATE_TIME <= #{vo.daterange[1]} |
| | | <if test="vo.startTime !=null and vo.startTime !=''"> |
| | | AND DATE_FORMAT(L.create_time,'%Y-%m-%d') >= #{vo.startTime} |
| | | </if> |
| | | <if test="vo.endTime !=null and vo.endTime !=''"> |
| | | AND DATE_FORMAT(L.create_time,'%Y-%m-%d') <= #{vo.endTime} |
| | | </if> |
| | | ORDER BY L.CREATE_TIME DESC |
| | | </select> |