@@ -604,7 +604,7 @@ a.annex_url annexUrl ,a.remarks,a.duration ,a.valid_date validDate ,a.latitude ,
and a.aid= #{aid}
</if>
<if test="sid != null">
- and d.aid= #{sid}
+ and d.id= #{sid}
<if test="depId != null">
and d.department_id = #{depId}
@@ -642,7 +642,7 @@ a.annex_url annexUrl ,a.remarks,a.duration ,a.valid_date validDate ,a.latitude ,