|
|
|
@ -11,7 +11,12 @@ |
|
|
|
|
<result column="kprq" property="invoiceDate"/> |
|
|
|
|
<result column="invoice_type" property="invoiceType"/> |
|
|
|
|
<result column="gfsh" property="gfsh"/> |
|
|
|
|
<result column="image_id" property="imageId"/> |
|
|
|
|
<result column="image_id" property="imageNumber"/> |
|
|
|
|
<result column="gfmc" property="gfmc"/> |
|
|
|
|
<result column="gf_tax_no" property="gfsh"/> |
|
|
|
|
<result column="gf_name" property="gfmc"/> |
|
|
|
|
<result column="rzh_date" property="rzsj"/> |
|
|
|
|
<result column="xf_tax_no" property="xfsh"/> |
|
|
|
|
<result column="xf_name" property="xfmc"/> |
|
|
|
|
<result column="invoice_amount" property="invoiceAmount"/> |
|
|
|
@ -52,9 +57,8 @@ |
|
|
|
|
<select id="selectByPramsMap" parameterType="java.util.Map" |
|
|
|
|
resultMap="BaseResultMap" databaseId="mysql"> |
|
|
|
|
select |
|
|
|
|
t.invoice_code,t.invoice_no,t.invoice_type,DATE_FORMAT(t.invoice_date,'%Y-%m-%d')kprq,t.gf_tax_no |
|
|
|
|
gfsh,t.gf_name,t.image_id,t.rzh_date, |
|
|
|
|
t.gfmc,t.dept_id deptId,t.dept_name deptName, |
|
|
|
|
t.invoice_code,t.invoice_no,t.invoice_type,DATE_FORMAT(t.invoice_date,'%Y-%m-%d')kprq,t.gf_tax_no,t.gf_name,t.image_id,t.rzh_date, |
|
|
|
|
t.dept_id deptId,t.dept_name deptName, |
|
|
|
|
t.xf_tax_no,t.xf_name,t.tax_amount,t.dk_tax_amount,t.invoice_status,t.invoice_amount,date_format(t.rzh_date,'%Y-%m-%d') |
|
|
|
|
rzh_date,date_format(t.qs_date,'%Y-%m-%d') qs_date,t.rzh_type,t.id id, |
|
|
|
|
t.gx_user_name,t.rzh_belong_date |
|
|
|
|