修改导出字段不展示

release
yishiqihuasheng 2 years ago
parent adcec30b5e
commit 73a61f5ba7
  1. 2
      dxhy-base/src/main/java/com/dxhy/base/controller/BaseInvoiceController.java
  2. 2
      dxhy-base/src/main/java/com/dxhy/base/service/fpxxrz/BaseRzFpxxServiceImpl.java
  3. 2
      dxhy-core/src/main/java/com/dxhy/core/service/export/impl/FpzhcxServiceImpl.java
  4. 7
      dxhy-core/src/main/java/com/dxhy/core/service/export/impl/RzFpxxServiceImpl.java
  5. 13
      dxhy-core/src/main/resources/mapper/FpZhMapper.xml

@ -1260,7 +1260,7 @@ public class BaseInvoiceController extends AbstractController {
if (map == null){
return ResponseEntity.ok(R.error("缺少请求参数"));
}
// log.info("getUserInfo====>{}",getUserInfo());
log.info("getUserInfo====>{}",getUserInfo());
// List<String> gfshAll = UserInfoUtil.getGfshAll(getUserInfo().getOrg());
// if (gfshAll ==null || gfshAll.isEmpty()){
// return ResponseEntity.ok(R.error("购方信息不能为空"));

@ -189,7 +189,7 @@ public class BaseRzFpxxServiceImpl extends MpBaseServiceImpl<BaseFpxxZhDao, Base
// pageList.get(i).getInAccountStatus()));
if ("1".equals(pageList.get(i).getInAccountStatus())){
pageList.get(i).setInAccountStatus("已入账");
}else if ("0".equals(pageList.get(i).getInAccountStatus())){
}else {
pageList.get(i).setInAccountStatus("未入账");
}
pageList.get(i).setRzsj(pageList.get(i).getRzsj());

@ -110,8 +110,6 @@ public class FpzhcxServiceImpl extends MpBaseServiceImpl<BbfpzhDao, BbfpzhcxResp
vo.setInvoiceStatus(
dictdetaServcice.queryDictName(DictConstant.INVOICE_STATUS, vo.getInvoiceStatus()));
vo.setRzzt(dictdetaServcice.queryDictName(DictConstant.DEDU_STATUS, vo.getRzzt()));
vo.setInAccountStatus(
dictdetaServcice.queryDictName(DictConstant.DK_STATUS, vo.getInAccountStatus()));
vo.setInvoiceType(
dictdetaServcice.queryDictName(DictConstant.INVOICE_TYPE_VAT, vo.getInvoiceType()));
vo.setQszt(dictdetaServcice.queryDictName(DictConstant.QS_STATUS, vo.getQszt()));

@ -227,8 +227,11 @@ public class RzFpxxServiceImpl extends MpBaseServiceImpl<FpxxZhDao, FpRzRespVO>
for (int i = 0; i < pageList.size(); i++) {
pageList.get(i).setXh(String.valueOf((curr - 1) * size + i + 1));
// 字典转换
pageList.get(i).setInAccountStatus(dictdetaServcice.queryDictName(DictConstant.DK_STATUS,
pageList.get(i).getInAccountStatus()));
if ("1".equals(pageList.get(i).getInAccountStatus())){
pageList.get(i).setInAccountStatus("已入账");
}else {
pageList.get(i).setInAccountStatus("未入账");
}
pageList.get(i)
.setInvoiceType(new InvoiceTypeUtils().invoiceTypeName(pageList.get(i).getInvoiceType()));
String invoiceStatus = pageList.get(i).getInvoiceStatus();

@ -32,13 +32,16 @@
<result column="cxrz_status" property="cxrzStatus"/>
<result column="bdk_status" property="bdkStatus"/>
<result column="export_mark" property="exportMark"/>
<result column="in_account_status" property="inAccountStatus"/>
<result column="voucher_number" property="voucherNumber"/>
<result column="ele_invoice_no" property="eleInvoiceNo"/>
<result column="bzdh" property="bzdh"/>
<result column="bzr" property="bzr"/>
<result column="inAccountStatus" property="inAccountStatus"/>
<result column="compCode" property="compCode"/>
<result column="inaccount_status" property="inAccountStatus"/>
<result column="comp_code" property="compCode"/>
<result column="account_period" property="accountPeriod"/>
<result column="image_id" property="imageNumber"/>
<result column="posting_time" property="postingTime"/>
<result column="sn_voucher_number" property="snVoucherNumber"/>
</resultMap>
<resultMap id="RzcxhjResultMap"
@ -87,10 +90,10 @@
gfmc,t.dept_id deptId,t.dept_name deptName,t.bzdh,t.bzr,
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,
qs_date,t.rzh_type,t.sn_voucher_number,t.posting_time,t.image_id,t.account_period,comp_code,
t.gx_user_name,t.rzh_belong_date
dqskssq,t.auth_status,t.qs_type,t.qs_status,t.confirm_user,t.qs_name,t.rzh_yesorno,t.cxrz_status,t.bdk_status, t.ele_invoice_no,
t.export_mark,t.in_account_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.voucher_number
t.export_mark,t.inaccount_status,t.payment_status,DATE_FORMAT(t.payment_date,'%Y-%m-%d')payment_date,t.voucher_number
from t_dx_record_invoice t
WHERE date_format(t.invoice_date,'%Y-%m-%d') between #{kpksrq} and #{kpjsrq}
and (t.invoice_type in('01','03','08','14','31','283','161','183','185') or (t.invoice_type ='32' and t.lq_tdyslxDm='08'))

Loading…
Cancel
Save