md
This commit is contained in:
parent
e8f27ac2e4
commit
143d771bff
@ -42,4 +42,7 @@ public class EmisSettlePayRel extends BaseEntity
|
||||
/* 金额 */
|
||||
private BigDecimal payMoney;
|
||||
|
||||
// 扩展参数
|
||||
private EmisWaybill waybillDetail;
|
||||
|
||||
}
|
||||
|
||||
@ -11,11 +11,19 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<result property="payMoney" column="pay_money" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="EmisSettlePayRelWithSubBillResult" type="EmisSettlePayRel" extends="EmisSettlePayRelResult" >
|
||||
<association property="waybillDetail"
|
||||
column="bill_no"
|
||||
select="com.xdadan.erp.emis.mapper.EmisWaybillMapper.selectWaybillBaseInfoByBillCode"
|
||||
fetchType="lazy"
|
||||
/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectEmisSettlePayRelVo">
|
||||
select id, pay_id, bill_no, pay_money, del_flag, create_by, create_time, update_by, update_time, create_site, update_site from emis_settle_pay_rel
|
||||
</sql>
|
||||
|
||||
<select id="selectEmisSettlePayRelList" parameterType="EmisSettlePayRel" resultMap="EmisSettlePayRelResult">
|
||||
<select id="selectEmisSettlePayRelList" parameterType="EmisSettlePayRel" resultMap="EmisSettlePayRelWithSubBillResult">
|
||||
<include refid="selectEmisSettlePayRelVo"/>
|
||||
<where>
|
||||
del_flag='0'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user