手工认证到处添加税率

release
路明慧 2 years ago
parent b983639657
commit 5657df1aa1
  1. 1
      dxhy-core/src/main/java/com/dxhy/core/service/export/impl/RzFpxxServiceImpl.java
  2. 2
      dxhy-core/src/main/java/com/dxhy/core/thread/ManualAthensThread.java
  3. 3
      dxhy-core/src/main/resources/mapper/FpZhMapper.xml

@ -118,6 +118,7 @@ public class RzFpxxServiceImpl extends MpBaseServiceImpl<FpxxZhDao, FpRzRespVO>
dataArray[23] = "否"; dataArray[23] = "否";
dataArray[24] = ""; dataArray[24] = "";
} }
dataArray[25] = pageList.get(i).getTaxRate();

@ -68,7 +68,7 @@ public class ManualAthensThread extends BaseThread {
*/ */
private final String[] titleColumns = {"序号", "发票代码", "发票号码", "发票类型","发票状态", "开票日期","购方名称", "销方名称", "金额", "税额", private final String[] titleColumns = {"序号", "发票代码", "发票号码", "发票类型","发票状态", "开票日期","购方名称", "销方名称", "金额", "税额",
"抵扣税额", "签收状态", "签收日期", "签收方式", "签收人","凭证号", "过账时间", "影像号", "账期", "报账单号", "报账人","入账状态","所属组织" "抵扣税额", "签收状态", "签收日期", "签收方式", "签收人","凭证号", "过账时间", "影像号", "账期", "报账单号", "报账人","入账状态","所属组织"
,"暂挂状态","暂挂区间"}; ,"暂挂状态","暂挂区间","税率"};
/** /**

@ -561,6 +561,7 @@
<result column="suspend_status" property="suspendStatus"/> <result column="suspend_status" property="suspendStatus"/>
<result column="suspend_date" property="suspendDate"/> <result column="suspend_date" property="suspendDate"/>
<result column="comp_code" property="compCode"/> <result column="comp_code" property="compCode"/>
<result column="tax_rate" property="taxRate"/>
</resultMap> </resultMap>
<select id="selectByparams" parameterType="java.util.Map" <select id="selectByparams" parameterType="java.util.Map"
resultMap="SggxcxResultMap" databaseId="mysql"> resultMap="SggxcxResultMap" databaseId="mysql">
@ -570,7 +571,7 @@
,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period, ,t.qs_type,t.qs_status,t.dk_tax_amount,t.qs_name,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,
case date_format(t.invoice_date,'%Y%m%d') between c.select_start_date and c.select_end_date when case date_format(t.invoice_date,'%Y%m%d') between c.select_start_date and c.select_end_date when
true then 1 true then 1
else 2 end authStatus,t.bzdh,t.bzr,t.suspend_status,t.suspend_date, else 2 end authStatus,t.bzdh,t.bzr,t.suspend_status,t.suspend_date,t.tax_rate,
t.inaccount_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.settlement_no,t.ele_invoice_no t.inaccount_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.settlement_no,t.ele_invoice_no
from t_dx_record_invoice t left join t_dx_tax_current c on t.gf_tax_no = c.taxno from t_dx_record_invoice t left join t_dx_tax_current c on t.gf_tax_no = c.taxno
left join t_dx_dk_count d on c.taxno = d.taxno and c.current_tax_period = d.skssq left join t_dx_dk_count d on c.taxno = d.taxno and c.current_tax_period = d.skssq

Loading…
Cancel
Save