|
|
@@ -164,8 +164,10 @@
|
|
|
and eaid = #{id}
|
|
|
</select>
|
|
|
<update id="updateExamine">
|
|
|
- update expense_account_examine a ,admin b
|
|
|
+ update expense_account_examine a ,admin b ,expense_account c
|
|
|
set a.auditor =b.id ,a.auditorName =b.name
|
|
|
- where a.process_status =2 and a.auditor = #{useId} and b.id = #{managerId}
|
|
|
+ where c.apply_dep=#{depId} and c.id = a.eaid
|
|
|
+ and a.process_status =2 and a.status=0
|
|
|
+ and a.auditor = #{useId} and b.id = #{managerId}
|
|
|
</update>
|
|
|
</mapper>
|