|
|
|
@ -26,6 +26,14 @@ |
|
|
|
|
<result column="rzh_belong_date" property="rzhBelongDate"/> |
|
|
|
|
<result column="glzt" property="glzt"/> |
|
|
|
|
<result column="dept_name" property="businessName"/> |
|
|
|
|
<result column="inaccount_status" property="inAccountStatus"/> |
|
|
|
|
<result column="sn_voucher_number" property="snVoucherNumber"/> |
|
|
|
|
<result column="image_id" property="imageId"/> |
|
|
|
|
<result column="posting_time" property="postingTime"/> |
|
|
|
|
<result column="account_period" property="accountPeriod"/> |
|
|
|
|
<result column="bzdh" property="bzdh"/> |
|
|
|
|
<result column="bzr" property="bzr"/> |
|
|
|
|
<result column="comp_code" property="comp_code"/> |
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
<select id="selectByPramsMap" parameterType="java.util.Map" |
|
|
|
@ -34,7 +42,8 @@ |
|
|
|
|
t.id,t.customs_code,DATE_FORMAT(t.fill_in_date,'%Y-%m-%d') |
|
|
|
|
fill_in_date,t.gf_tax_no,t.gf_name,t.tax_amount,t.yx_tax_amount,t.audit_status,t.apply_check,t.check_status,t.qs_status, |
|
|
|
|
DATE_FORMAT(t.qs_date,'%Y-%m-%d') qs_date,t.qs_type,t.qs_user,DATE_FORMAT(t.rzh_date,'%Y-%m-%d') rzh_date, |
|
|
|
|
t.rzh_yesorno,t.auth_status,t.bdk_status,t.confirm_user,t.rzh_belong_date,t.glzt,t.dept_name |
|
|
|
|
t.rzh_yesorno,t.auth_status,t.bdk_status,t.confirm_user,t.rzh_belong_date,t.glzt,t.dept_name,t.inaccount_status, |
|
|
|
|
t.sn_voucher_number,t.image_id,t.posting_time,t.account_period,t.bzdh,t.bzr,tcomp_code |
|
|
|
|
from t_dx_customs_record t |
|
|
|
|
where export_mark = '0' and t.gf_tax_no = #{gfsh} |
|
|
|
|
<if test="companyCode != null and companyCode != '' and companyCode != 'null'"> |
|
|
|
|