|
|
@@ -116,15 +116,5 @@
|
|
|
where a.eaid= #{eaid}
|
|
|
order by a.create_time
|
|
|
</select>
|
|
|
- <select id="selectExamineLog" resultType="com.goafanti.expenseAccount.bo.ExpenseAccountExamineLog">
|
|
|
- select a.id,a.status ,a.process_status processStatus ,b.name yxy ,c.name yxjl,yxgly.name yxgly,e.name cwzy,zc.name boss
|
|
|
- from expense_account a left join admin b on a.aid=b.id left join admin c on b.superior_id =c.id
|
|
|
- left join department d on b.department_id =d.id left join admin e on d.finance_id =e.id
|
|
|
- left join (select a.department_id depId,group_concat(a.name) name from admin a left join user_role b
|
|
|
- on a.id=b.uid left join `role` c on b.rid =c.id where c.role_type ='9996' and a.status ='0' group by a.department_id )yxgly
|
|
|
- on b.department_id =yxgly.depId
|
|
|
- left join (select group_concat(a.name) name from admin a left join user_role b on a.id=b.uid left join `role` c
|
|
|
- on b.rid =c.id where c.role_type in ('99998','99988','99999','99989') and a.status ='0' ) zc on 1=1
|
|
|
- where a.id= #{eaid}
|
|
|
- </select>
|
|
|
+
|
|
|
</mapper>
|