|
|
@ -42,11 +42,14 @@ |
|
|
|
AND wl.GRID_ID = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="agencyId != null and agencyId != '' "> |
|
|
|
AND wl.AGENCY_ID = #{agencyId} |
|
|
|
AND FIND_IN_SET( #{agencyId}, wl.pids ) |
|
|
|
</if> |
|
|
|
<if test="mobile != null and mobile != '' "> |
|
|
|
AND wl.MOBILE = #{mobile} |
|
|
|
</if> |
|
|
|
<if test="isSelf != null and isSelf != '' and isSelf == '1' "> |
|
|
|
AND wl.CREATED_BY = #{createdBy} |
|
|
|
</if> |
|
|
|
<if test="startTime != null and startTime != '' "> |
|
|
|
AND DATE_FORMAT( wl.CREATED_TIME, '%Y-%m-%d' ) >= #{startTime} |
|
|
|
</if> |
|
|
@ -85,11 +88,14 @@ |
|
|
|
AND wl.GRID_ID = #{gridId} |
|
|
|
</if> |
|
|
|
<if test="agencyId != null and agencyId != '' "> |
|
|
|
AND wl.AGENCY_ID = #{agencyId} |
|
|
|
AND FIND_IN_SET( #{agencyId}, wl.pids ) |
|
|
|
</if> |
|
|
|
<if test="mobile != null and mobile != '' "> |
|
|
|
AND wl.MOBILE = #{mobile} |
|
|
|
</if> |
|
|
|
<if test="isSelf != null and isSelf != '' and isSelf == '1' "> |
|
|
|
AND wl.CREATED_BY = #{createdBy} |
|
|
|
</if> |
|
|
|
<if test="startTime != null and startTime != '' "> |
|
|
|
AND DATE_FORMAT( wl.CREATED_TIME, '%Y-%m-%d' ) >= #{startTime} |
|
|
|
</if> |
|
|
|