|
|
@ -377,7 +377,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
es.setZTYPE("E"); |
|
|
|
es.setZTYPE("E"); |
|
|
|
return es; |
|
|
|
return es; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
log.info("zdata={}",zdata); |
|
|
|
for (ZDATA zdata1 : zdata) { |
|
|
|
for (ZDATA zdata1 : zdata) { |
|
|
|
//成功或者失败标识
|
|
|
|
//成功或者失败标识
|
|
|
|
boolean flag = false; |
|
|
|
boolean flag = false; |
|
|
@ -394,6 +394,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
DynamicContextHolder.push("business" + DbConstant.BUSINESS_READ); |
|
|
|
DynamicContextHolder.push("business" + DbConstant.BUSINESS_READ); |
|
|
|
if (fplxList.contains(zdata1.getZFPLX()) && !"X".equalsIgnoreCase(xxbs)) { |
|
|
|
if (fplxList.contains(zdata1.getZFPLX()) && !"X".equalsIgnoreCase(xxbs)) { |
|
|
|
TdxRecordInvoice recordInvoiceByUuid = tDxrecordInvoiceDao.getRecordInvoiceByUuid(uuid); |
|
|
|
TdxRecordInvoice recordInvoiceByUuid = tDxrecordInvoiceDao.getRecordInvoiceByUuid(uuid); |
|
|
|
|
|
|
|
log.info("查询的发票为:{}",recordInvoiceByUuid); |
|
|
|
if (recordInvoiceByUuid != null) { |
|
|
|
if (recordInvoiceByUuid != null) { |
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
updateWrapper.eq("uuid", uuid); |
|
|
|
updateWrapper.eq("uuid", uuid); |
|
|
@ -444,7 +445,6 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
zdataresp.setPROTYP("S"); |
|
|
|
zdataresp.setPROTYP("S"); |
|
|
|
es.setZMESSAGE("处理成功"); |
|
|
|
es.setZMESSAGE("处理成功"); |
|
|
|
es.setZdata(zdataresp); |
|
|
|
es.setZdata(zdataresp); |
|
|
|
return es; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return es; |
|
|
|
return es; |
|
|
|
} |
|
|
|
} |
|
|
|