退税—手工认证

release
yishiqihuasheng 2 years ago
parent 0bf3dbd6cf
commit 7de4619e78
  1. 20
      dxhy-export-domestic/src/main/java/com/dxhy/domestic/model/vo/ManualAuthenticationListVO.java
  2. 5
      dxhy-export-domestic/src/main/java/com/dxhy/domestic/service/drawback/impl/DomesticInvoiceDrawbackServiceImpl.java
  3. 9
      dxhy-export-domestic/src/main/resources/mapper/DomesticRecordInvoiceMapper.xml

@ -2,6 +2,7 @@ package com.dxhy.domestic.model.vo;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@ -70,4 +71,23 @@ public class ManualAuthenticationListVO implements Serializable {
@ApiModelProperty("业务单元名称,根据部门id获取")
private String businessName;
//凭证号
private String snVoucherNumber;
//账期
private String accountPeriod;
//过账时间
private String postingTime;
//影像号
private String imageNumber;
//报账单号
private String bzdh;
/**
* 组织编码
*/
private String compCode;
private String bzr;
private String inAccountStatus;
}

@ -127,6 +127,11 @@ public class DomesticInvoiceDrawbackServiceImpl implements DomesticInvoiceDrawba
invoice.setSignInStatus(dictdetaServcice.queryDictName(DictConstant.QS_STATUS, invoice.getSignInStatus()));
invoice.setInvoiceStatus(
dictdetaServcice.queryDictName(DictConstant.INVOICE_STATUS, invoice.getInvoiceStatus()));
if ("1".equals(invoice.getInAccountStatus())){
invoice.setInAccountStatus("已入账");
}else {
invoice.setInAccountStatus("未入账");
}
});
// 当前页为第一页时统计总税额
if (dto.getCurrentPage() == 1) {

@ -1468,6 +1468,14 @@
<result column="qs_type" jdbcType="VARCHAR" property="signInType"/>
<result column="qs_name" jdbcType="VARCHAR" property="signInPeople"/>
<result column="business_name" jdbcType="VARCHAR" property="businessName"/>
<result column="sn_voucher_number" jdbcType="VARCHAR" property="snVoucherNumber"/>
<result column="posting_time" jdbcType="VARCHAR" property="postingTime"/>
<result column="image_id" jdbcType="VARCHAR" property="imageNumber"/>
<result column="account_period" jdbcType="VARCHAR" property="accountPeriod"/>
<result column="bzdh" jdbcType="VARCHAR" property="bzdh"/>
<result column="bzr" jdbcType="VARCHAR" property="bzr"/>
<result column="inaccount_status" jdbcType="VARCHAR" property="inAccountStatus"/>
<result column="comp_code" jdbcType="VARCHAR" property="compCode"/>
</resultMap>
<resultMap id="authenticationCheckListMap"
type="com.dxhy.domestic.model.vo.AuthenticationCheckListVO">
@ -1624,6 +1632,7 @@
resultMap="authenticationListMap">
select
<include refid="Authentication_Column_List"/>
,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,t.bzdh,t.bzr,t.inaccount_status,t.comp_code
from t_dx_record_invoice t
left join ${dxhyAdmin}.sys_business b on t.dept_id = b.business_code
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{invoiceStartTime} and #{invoiceEndTime}

Loading…
Cancel
Save