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