|
|
|
@ -151,7 +151,9 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
|
if (kprq != null) { |
|
|
|
|
recordInvoice.setInvoiceDate(sdf.format(kprq)); |
|
|
|
|
} else { |
|
|
|
|
recordInvoice.setInvoiceDate(""); |
|
|
|
|
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
|
|
|
|
String format1 = format.format(new Date()); |
|
|
|
|
recordInvoice.setInvoiceDate(format1); |
|
|
|
|
log.error("开票日期为空.请检查发票"); |
|
|
|
|
} |
|
|
|
|
recordInvoice.setInvoiceCode(fpdm); |
|
|
|
|