|
|
@ -49,12 +49,12 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl<ExtInvoicePoolD |
|
|
|
try { |
|
|
|
try { |
|
|
|
String[] titlelist = {"序号", "发票类型", "发票代码", "发票号码", "发票状态", "开票日期", "销方名称", "销方税号", "金额", "税额", "有效税额", |
|
|
|
String[] titlelist = {"序号", "发票类型", "发票代码", "发票号码", "发票状态", "开票日期", "销方名称", "销方税号", "金额", "税额", "有效税额", |
|
|
|
"价税合计", "认证状态", "认证类型", "认证日期", "认证方式", "认证人", "采集状态", "底账库采集时间", "采集来源", "签收方式", "签收状态", "签收日期", "签收人", |
|
|
|
"价税合计", "认证状态", "认证类型", "认证日期", "认证方式", "认证人", "采集状态", "底账库采集时间", "采集来源", "签收方式", "签收状态", "签收日期", "签收人", |
|
|
|
"入账月份", "入账状态","凭证号", "过账时间", "影像号", "账期","是否末次摊销", "摊销金额", "剩余金额", "业务单号", "入池时间","报账单号","入账状态"}; |
|
|
|
"入账月份", "凭证号", "过账时间", "影像号", "账期","是否末次摊销", "摊销金额", "剩余金额", "业务单号", "入池时间","报账单号","入账状态"}; |
|
|
|
|
|
|
|
|
|
|
|
String[] titleprop = {"xh", "invoiceType", "invoiceCode", "invoiceNo", "invoiceStatus", "invoiceDate", |
|
|
|
String[] titleprop = {"xh", "invoiceType", "invoiceCode", "invoiceNo", "invoiceStatus", "invoiceDate", |
|
|
|
"xfmc", "xfsh", "invoiceAmount", "taxAmount", "yxse", "totalAmount", "rzzt", "rzlx", "rzrq", "rzfs", |
|
|
|
"xfmc", "xfsh", "invoiceAmount", "taxAmount", "yxse", "totalAmount", "rzzt", "rzlx", "rzrq", "rzfs", |
|
|
|
"rzr", "collectStatus", "collectDate", "collectFrom", "qsfs", "qszt", "qsrq", "qsr", "inAccountMonth", |
|
|
|
"rzr", "collectStatus", "collectDate", "collectFrom", "qsfs", "qszt", "qsrq", "qsr", "inAccountMonth", |
|
|
|
"inAccountStatus", "voucherNo","postingTime","imageId","accountPeriod", "amortizeStatus", "amortizeAmount", "remainAmortizeAmount", |
|
|
|
"snVoucherNumber","postingTime","imageNumber","accountPeriod", "amortizeStatus", "amortizeAmount", "remainAmortizeAmount", |
|
|
|
"documentNumber", "createDate","bzdh","inAccountStatus"}; |
|
|
|
"documentNumber", "createDate","bzdh","inAccountStatus"}; |
|
|
|
// 需要设置返回列表标题时调用
|
|
|
|
// 需要设置返回列表标题时调用
|
|
|
|
json = super.setTitleList(titlelist, titleprop); |
|
|
|
json = super.setTitleList(titlelist, titleprop); |
|
|
@ -158,11 +158,12 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl<ExtInvoicePoolD |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
pageList.get(i).setRzlx(""); |
|
|
|
pageList.get(i).setRzlx(""); |
|
|
|
} |
|
|
|
} |
|
|
|
// if ("0".equals(pageList.get(i).getInAccountStatus())) {
|
|
|
|
if ("0".equals(pageList.get(i).getInAccountStatus())) { |
|
|
|
// pageList.get(i).setInAccountStatus("未入账");
|
|
|
|
pageList.get(i).setInAccountStatus("未入账"); |
|
|
|
// } else if ("1".equals(pageList.get(i).getInAccountStatus())) {
|
|
|
|
} else if ("1".equals(pageList.get(i).getInAccountStatus())) { |
|
|
|
// pageList.get(i).setInAccountStatus("已入账");
|
|
|
|
pageList.get(i).setInAccountStatus("已入账"); |
|
|
|
// } else {
|
|
|
|
} |
|
|
|
|
|
|
|
// else {
|
|
|
|
// pageList.get(i).setInAccountStatus("未入账");
|
|
|
|
// pageList.get(i).setInAccountStatus("未入账");
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
@ -172,7 +173,7 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl<ExtInvoicePoolD |
|
|
|
pageList.get(i).setCollectFrom("票据采集"); |
|
|
|
pageList.get(i).setCollectFrom("票据采集"); |
|
|
|
} |
|
|
|
} |
|
|
|
//报账单号字典值转换
|
|
|
|
//报账单号字典值转换
|
|
|
|
pageList.get(i).setInAccountStatus(dictdetaServcice.queryDictName(DictConstant.INACCOUNT_STATUS,pageList.get(i).getInAccountStatus())); |
|
|
|
// pageList.get(i).setInAccountStatus(dictdetaServcice.queryDictName(DictConstant.INACCOUNT_STATUS,pageList.get(i).getInAccountStatus()));
|
|
|
|
log.info("入账状态====>{}",pageList.get(i).getInAccountStatus()); |
|
|
|
log.info("入账状态====>{}",pageList.get(i).getInAccountStatus()); |
|
|
|
pageList.get(i).setInvoiceType(InvoiceTypeUtils.invoiceTypeName(pageList.get(i).getInvoiceType())); |
|
|
|
pageList.get(i).setInvoiceType(InvoiceTypeUtils.invoiceTypeName(pageList.get(i).getInvoiceType())); |
|
|
|
pageList.get(i).setQsrq(pageList.get(i).getQsrq() == null ? "" : pageList.get(i).getQsrq()); |
|
|
|
pageList.get(i).setQsrq(pageList.get(i).getQsrq() == null ? "" : pageList.get(i).getQsrq()); |
|
|
@ -274,9 +275,17 @@ public class ExtInvoicePoolServiceImpl extends MpBaseServiceImpl<ExtInvoicePoolD |
|
|
|
pageList.get(i).setScanId(pageList.get(i).getScanId() == null ? "" : pageList.get(i).getScanId()); |
|
|
|
pageList.get(i).setScanId(pageList.get(i).getScanId() == null ? "" : pageList.get(i).getScanId()); |
|
|
|
pageList.get(i) |
|
|
|
pageList.get(i) |
|
|
|
.setInvoiceTypeString(InvoiceTypeUtils.invoiceTypeName(pageList.get(i).getInvoiceType())); |
|
|
|
.setInvoiceTypeString(InvoiceTypeUtils.invoiceTypeName(pageList.get(i).getInvoiceType())); |
|
|
|
log.info("inAccountStatus=====>{}",pageList.get(i).getInAccountStatus()); |
|
|
|
if (pageList.get(i).getInAccountStatus()!= null){ |
|
|
|
pageList.get(i).setInAccountStatus(dictdetaServcice.queryDictName(DictConstant.INACCOUNT_STATUS, |
|
|
|
if ("1".equals(pageList.get(i).getInAccountStatus())){ |
|
|
|
pageList.get(i).getInAccountStatus())); |
|
|
|
pageList.get(i).setInAccountStatus("已入账"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if ("0".equals(pageList.get(i).getInAccountStatus())) { |
|
|
|
|
|
|
|
pageList.get(i).setInAccountStatus("未入账"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// log.info("inAccountStatus=====>{}",pageList.get(i).getInAccountStatus());
|
|
|
|
|
|
|
|
// pageList.get(i).setInAccountStatus(dictdetaServcice.queryDictName(DictConstant.INACCOUNT_STATUS,
|
|
|
|
|
|
|
|
// pageList.get(i).getInAccountStatus()));
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|