|
|
@@ -56,6 +56,7 @@
|
|
|
<result column="op_create_time" property="opCreateTime" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
<result column="op_update_time" property="opUpdateTime" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
<result column="op_update_staff_id" property="opUpdateStaffId" typeHandler="com.dk.common.infrastructure.handler.UuidTypeHandler"/>
|
|
|
+ <result column="due_date" property="dueDate" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- **************************************** 查询映射结果 **************************************** -->
|
|
|
@@ -113,6 +114,7 @@
|
|
|
<result column="op_create_time" property="opCreateTime" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
<result column="op_update_time" property="opUpdateTime" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
<result column="op_update_staff_id" property="opUpdateStaffId" typeHandler="com.dk.common.infrastructure.handler.UuidTypeHandler"/>
|
|
|
+ <result column="due_date" property="dueDate" typeHandler="com.dk.common.infrastructure.handler.TimestampTypeHandler"/>
|
|
|
<!-- **************************************** 关联表映射 **************************************** -->
|
|
|
<result column="op_update_staff_name" property="opUpdateStaffName"/>
|
|
|
<result column="status_invoice_name" property="statusInvoiceName"/>
|
|
|
@@ -121,6 +123,7 @@
|
|
|
<result column="make_staff_name" property="makeStaffName"/>
|
|
|
<result column="staff_name" property="staffName"/>
|
|
|
<result column="type_name" property="typeName"/>
|
|
|
+ <result column="assetTaxRate" property="assetTaxRate"/>
|
|
|
<result column="calc_method_name" property="calcMethodName"/>
|
|
|
<result column="ass_sub_name" property="assSubName"/>
|
|
|
<result column="loss_sub_name" property="lossSubName"/>
|
|
|
@@ -194,6 +197,7 @@
|
|
|
when t.sum_amt_total_cash = 0 then '未付款'
|
|
|
when t.sum_amt_should = t.sum_amt_total_cash then '付款完成'
|
|
|
end as pay_status,
|
|
|
+ t.due_date,
|
|
|
</sql>
|
|
|
|
|
|
<!-- **************************************** 当前表查询条件 **************************************** -->
|
|
|
@@ -428,6 +432,7 @@
|
|
|
myex.f_get_name_i18n(dkf.kind_name_i18n,#{i18n}) as status_flow_name,
|
|
|
staff.staff_name,
|
|
|
assType.type_name,
|
|
|
+ assType.tax_rate as "assetTaxRate",
|
|
|
myex.f_get_name_i18n(dkm.kind_name_i18n,#{i18n}) as calc_method_name,
|
|
|
assSub.subject_name AS ass_sub_name,
|
|
|
lossSub.subject_name AS loss_sub_name,
|
|
|
@@ -590,6 +595,7 @@
|
|
|
own_cp_id,
|
|
|
ctr_cp_id,
|
|
|
sum_amt_total_cash,
|
|
|
+ due_date,
|
|
|
</trim>
|
|
|
)
|
|
|
values
|
|
|
@@ -777,6 +783,7 @@
|
|
|
DEFAULT,
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
+ #{item.dueDate},
|
|
|
</trim>
|
|
|
)
|
|
|
</foreach>
|