|
@@ -404,6 +404,24 @@ public class CwFinanceInvoiceController {
|
|
Map<String,Object> invoiceStatusValueDTOs = JSON.parseObject(invoiceStatusDatas, new TypeReference<Map<String,Object>>() {});
|
|
Map<String,Object> invoiceStatusValueDTOs = JSON.parseObject(invoiceStatusDatas, new TypeReference<Map<String,Object>>() {});
|
|
|
|
|
|
for (CwFinanceInvoiceDTO info : resultList) {
|
|
for (CwFinanceInvoiceDTO info : resultList) {
|
|
|
|
+ //处理开票类型
|
|
|
|
+ String billingType = info.getBillingType();
|
|
|
|
+ if(StringUtils.isNotBlank(billingType)){
|
|
|
|
+ switch (billingType){
|
|
|
|
+ case "1":
|
|
|
|
+ info.setBillingType("企业开票");
|
|
|
|
+ break;
|
|
|
|
+ case "2":
|
|
|
|
+ info.setBillingType("个人开票");
|
|
|
|
+ info.setBillingWorkplaceReal(info.getName());
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ info.setBillingType("");
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
if(StringUtils.isNotBlank(info.getReportType())){
|
|
if(StringUtils.isNotBlank(info.getReportType())){
|
|
for (String key : cwWorkClientReportTypeValueDTOs.keySet()) {
|
|
for (String key : cwWorkClientReportTypeValueDTOs.keySet()) {
|
|
if(info.getReportType().equals(key)){
|
|
if(info.getReportType().equals(key)){
|