@ -330,6 +330,9 @@
#{deptIdItem}
</foreach>
</if>
<if test="timestamp != null and timestamp != ''">
AND DATE_FORMAT( uu.CREATED_TIME, '%Y-%m-%d %H:%i:%s' ) <= #{timestamp}
<if test='formDto.deptId != null and formDto.deptId != ""'>
AND ad2.id = #{formDto.deptId}