This commit is contained in:
xuhaihui 2025-08-04 16:31:42 +08:00
parent 8962e95bac
commit d708326083
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ public class InvoiceDateValidatorSubOp extends AbstractOperationServicePlugIn {
for (int i = 0; i < invoiceEntryCollection.size(); i++) { for (int i = 0; i < invoiceEntryCollection.size(); i++) {
DynamicObject invoiceEntry = invoiceEntryCollection.get(i); DynamicObject invoiceEntry = invoiceEntryCollection.get(i);
int i1 = i + 1; int i1 = i + 1;
// Date currentDate = new Date();//当前日期 Date currentDate = new Date();//当前日期
Date currentDate = invoiceEntry.getDate("zcgj_invoicedate");//当前日期 // Date currentDate = invoiceEntry.getDate("zcgj_invoicedate");//当前日期
Date invoiceDate = invoiceEntry.getDate("invoicedate");//开票日期 Date invoiceDate = invoiceEntry.getDate("invoicedate");//开票日期
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
try { try {