|
|
@@ -760,6 +760,7 @@
|
|
|
|
|
|
<resultMap id="SonExpenseAccountMap" type="com.goafanti.expenseAccount.bo.SonExpenseAccount">
|
|
|
<id column="sonId" jdbcType="INTEGER" property="id" />
|
|
|
+ <result column="prid" jdbcType="INTEGER" property="prid" />
|
|
|
<result column="sonTotalAmount" jdbcType="DECIMAL" property="totalAmount" />
|
|
|
<result column="sonSettlementAmount" jdbcType="DECIMAL" property="settlementAmount" />
|
|
|
<result column="sonRealAmount" jdbcType="DECIMAL" property="realAmount" />
|
|
|
@@ -1018,7 +1019,7 @@
|
|
|
<select id="selectSonByMainIds" resultMap="MainMap">
|
|
|
select b.id,
|
|
|
c.id sonId,c.total_amount sonTotalAmount,c.settlement_amount sonSettlementAmount,c.amount sonAmount,c.real_amount sonRealAmount,
|
|
|
- c.`type` sonType,c.type_other sonTypeOTher, c.user_names ,c.release_start ,c.release_end,
|
|
|
+ c.`type` sonType,c.type_other sonTypeOTher, c.user_names ,c.release_start ,c.release_end,c.prid,
|
|
|
c.attachment_url attachmentUrl,c.secondary_type,c.secondary_type_other
|
|
|
from expense_relationship a
|
|
|
left join expense_account b on a.id =b.id
|