@ -148,6 +148,9 @@
<if test="endTime != null and endTime != ''">
AND CREATED_TIME <= #{endTime}
</if>
<if test='orgId != null and orgId != "" '>
AND CONCAT(PIDS,':',AGENCY_ID) LIKE CONCAT('%',#{orgId},'%')
order by CREATED_TIME desc
</select>