ariesy 其他票据存入报销表 v5

release
yefei 2 years ago
parent 387c0a924d
commit 53a938a099
  1. 3
      dxhy-erp/src/main/java/com/dxhy/erp/service/SNPushCheckRecordService.java

@ -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("开票日期为空.请检查发票");

Loading…
Cancel
Save