|
@@ -32,6 +32,30 @@
|
|
|
<result column="cp_id" property="cpId"/>
|
|
<result column="cp_id" property="cpId"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
+ <!-- 通用查询映射结果 -->
|
|
|
|
|
+ <resultMap id="BaseResultMapResponse" type="com.dk.mdm.model.response.mac.AccountResponse">
|
|
|
|
|
+ <id column="object_id" property="objectId"/>
|
|
|
|
|
+ <result column="object_type" property="objectType"/>
|
|
|
|
|
+ <result column="receipt" property="receipt"/>
|
|
|
|
|
+ <result column="receipt_lock" property="receiptLock"/>
|
|
|
|
|
+ <result column="contract_assets" property="contractAssets"/>
|
|
|
|
|
+ <result column="receivable" property="receivable"/>
|
|
|
|
|
+ <result column="receivable_handle" property="receivableHandle"/>
|
|
|
|
|
+ <result column="receivable_waive" property="receivableWaive"/>
|
|
|
|
|
+ <result column="receivable_residue" property="receivableResidue"/>
|
|
|
|
|
+ <result column="receipt_residue" property="receiptResidue"/>
|
|
|
|
|
+ <result column="payment" property="payment"/>
|
|
|
|
|
+ <result column="pur_estimate" property="purEstimate"/>
|
|
|
|
|
+ <result column="payable" property="payable"/>
|
|
|
|
|
+ <result column="payable_handle" property="payableHandle"/>
|
|
|
|
|
+ <result column="payable_waive" property="payableWaive"/>
|
|
|
|
|
+ <result column="payable_residue" property="payableResidue"/>
|
|
|
|
|
+ <result column="payment_residue" property="paymentResidue"/>
|
|
|
|
|
+ <result column="remarks" property="remarks"/>
|
|
|
|
|
+ <result column="flg_valid" property="flgValid"/>
|
|
|
|
|
+ <result column="cp_id" property="cpId"/>
|
|
|
|
|
+ </resultMap>
|
|
|
|
|
+
|
|
|
<!-- 通用条件列 -->
|
|
<!-- 通用条件列 -->
|
|
|
<sql id="Condition">
|
|
<sql id="Condition">
|
|
|
<where>
|
|
<where>
|
|
@@ -123,7 +147,7 @@
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<!-- 根据主键查询表t_mac_account的一行数据 -->
|
|
<!-- 根据主键查询表t_mac_account的一行数据 -->
|
|
|
- <select id="selectById" resultMap="BaseResultMap">
|
|
|
|
|
|
|
+ <select id="selectById" resultMap="BaseResultMapResponse">
|
|
|
SELECT
|
|
SELECT
|
|
|
<include refid="Base_Column_List"/>
|
|
<include refid="Base_Column_List"/>
|
|
|
FROM dkic_b.t_mac_account
|
|
FROM dkic_b.t_mac_account
|