ariesy 修复手工认证列表不能勾选

release
yefei 2 years ago
parent 1267520606
commit 2a5ea5b379
  1. 3
      dxhy-base/src/main/resources/mapper/BaseSggxcxMapper.xml

@ -36,7 +36,6 @@
<result column="suspend_date" property="suspendDate"/>
<result column="bzr" property="bzr"/>
<result column="uuid" property="uuid"/>
<result column="auth_status" property="authStatus"/>
</resultMap>
<resultMap id="hjResultMap"
type="com.dxhy.base.entity.BaseTDxRecordInvoice">
@ -80,7 +79,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,
case date_format(t.invoice_date,'%Y%m%d') between c.select_start_date and c.select_end_date when
true then 1
else 2 end authStatus,t.bzdh,t.suspend_status,t.suspend_date,t.auth_status,
else 2 end authStatus,t.bzdh,t.suspend_status,t.suspend_date,
t.inaccount_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.settlement_no,t.ele_invoice_no,t.tax_rate
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

Loading…
Cancel
Save