|
|
@@ -424,20 +424,19 @@
|
|
|
<select id="selectExpenseAccountList" resultType="com.goafanti.expenseAccount.bo.OutExpenseAccountBo">
|
|
|
select a.id,a.total_amount totalAmount,a.`type`,a.process_status processStatus,a.type_other typeOther,
|
|
|
a.attachment_url attachmentUrl,a.target_type targetType , e.contract_no contractNo,tm.buyer_name buyerName ,
|
|
|
- a.secondary_type secondaryType, a.secondary_type_other secondaryTypeOther,
|
|
|
+ a.secondary_type secondaryType, a.secondary_type_other secondaryTypeOther,a.status,
|
|
|
<if test="processStatus ==1">
|
|
|
eae.type eaeType,
|
|
|
</if>
|
|
|
<if test="expenseMain ==0">
|
|
|
- mea.status ,mea.examine_name examineName,mea.check_no checkNo,
|
|
|
+ mea.examine_name examineName,mea.check_no checkNo,
|
|
|
</if>
|
|
|
<if test="expenseMain ==1">
|
|
|
- a.status ,a.examine_name examineName,a.check_no checkNo,
|
|
|
+ a.examine_name examineName,a.check_no checkNo,
|
|
|
</if>
|
|
|
f.name depName,d2.name financeName, date_format(a.create_time,'%Y-%m-%d %H:%i:%S')createTimeStr,a.aname,
|
|
|
b.name appDepName, c.name payDepName
|
|
|
from expense_account a
|
|
|
-
|
|
|
left join admin d on a.aid =d.id left join t_order_new e on a.order_no =e.order_no
|
|
|
left join t_order_mid tm on a.order_no =tm.order_no left join department f on d.department_id =f.id
|
|
|
left join admin d2 on f.finance_id =d2.id left join expense_relationship er on a.id=er.ea_id
|