|
|
|
@ -7,6 +7,7 @@ import java.util.*; |
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
@ -44,6 +45,7 @@ import cn.hutool.core.codec.Base64; |
|
|
|
|
* @author dxhy |
|
|
|
|
*/ |
|
|
|
|
@SuppressWarnings("AlibabaMethodTooLong") |
|
|
|
|
@Slf4j |
|
|
|
|
@Service |
|
|
|
|
public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExportInvoiceDao, TdxExportInvoice> |
|
|
|
|
implements DomesticExportInvoiceCkService { |
|
|
|
@ -82,6 +84,7 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Page<Map<String, Object>> result = this.baseMapper.queryVatSgrz(page, dto); |
|
|
|
|
log.info("返回的结果是:{}",result.getRecords().get(0)); |
|
|
|
|
|
|
|
|
|
if (ResultData.isEmpty(result)) { |
|
|
|
|
// List<DictdetaModel> fpztModels = dictdetaServcice.selectDictdeta("INVOICE_STATUS");
|
|
|
|
@ -399,7 +402,7 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Page<Map> result = this.baseMapper.queryVatBdk(page, dto); |
|
|
|
|
|
|
|
|
|
log.info("返回的结果是:{}",result.getRecords().get(0)); |
|
|
|
|
if (ResultData.isEmpty(result)) { |
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
for (int i = 0; i < page.getRecords().size(); i++) { |
|
|
|
@ -519,7 +522,7 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Page<Map<String, Object>> result = this.baseMapper.queryVatRzcx(page, dto); |
|
|
|
|
|
|
|
|
|
log.info("返回的结果是:{}",result.getRecords().get(0)); |
|
|
|
|
if (ResultData.isEmpty(result)) { |
|
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
|
|
|
|
for (int i = 0; i < page.getRecords().size(); i++) { |
|
|
|
@ -530,7 +533,7 @@ public class DomesticExportInvoiceCkServiceImpl extends ServiceImpl<DomesticExpo |
|
|
|
|
String rzhYesorno = (String)map.get("rzhYesorno"); |
|
|
|
|
String invoiceStatus = (String)map.get("invoiceStatus"); |
|
|
|
|
String authStatus = (String)map.get("authStatus"); |
|
|
|
|
String postingTime = (String)map.get("postingTime"); |
|
|
|
|
String postingTime = map.get("postingTime").toString(); |
|
|
|
|
|
|
|
|
|
map.put("xh", |
|
|
|
|
String.valueOf((((page.getCurrent() == 0 ? 1 : page.getCurrent()) - 1) * page.getSize()) + i + 1)); |
|
|
|
|