|
|
@ -150,8 +150,10 @@ public class SNPushCheckRecordService extends AbstractServiceAdapter { |
|
|
|
if (kprq != null) { |
|
|
|
if (kprq != null) { |
|
|
|
recordInvoice.setInvoiceDate(sdf.format(kprq)); |
|
|
|
recordInvoice.setInvoiceDate(sdf.format(kprq)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
String format = sdf.format(new Date()); |
|
|
|
SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US); |
|
|
|
recordInvoice.setInvoiceDate(format); |
|
|
|
String date = format.format(new Date()); |
|
|
|
|
|
|
|
recordInvoice.setInvoiceDate(date); |
|
|
|
|
|
|
|
log.info("date={}",date); |
|
|
|
log.error("开票日期为空.请检查发票"); |
|
|
|
log.error("开票日期为空.请检查发票"); |
|
|
|
} |
|
|
|
} |
|
|
|
recordInvoice.setInvoiceCode(fpdm); |
|
|
|
recordInvoice.setInvoiceCode(fpdm); |
|
|
|