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