|
|
|
@ -373,7 +373,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
//凭证过账日期
|
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
//账期
|
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT().substring(0,7)); |
|
|
|
|
//报账单号
|
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
//入账状态
|
|
|
|
@ -407,7 +407,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
//凭证过账日期
|
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
//账期
|
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT().substring(0,7)); |
|
|
|
|
//报账单号
|
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
//入账状态
|
|
|
|
@ -419,7 +419,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
|
updateWrapper.set("sn_voucher_number",zdata1.getBELNR()); |
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT().substring(0,7)); |
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
|
updateWrapper.eq("uuid",uuid); |
|
|
|
@ -508,8 +508,8 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|
String d="2023-01-01"; |
|
|
|
|
String substring = d.substring(0, 7).replace("-",""); |
|
|
|
|
String d="2023"; |
|
|
|
|
String substring = d.substring(0, 7); |
|
|
|
|
System.out.println(substring); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|