This commit is contained in:
xuhaihui 2025-06-09 14:14:43 +08:00
parent 3b0deb688d
commit fe7d729753
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ public class PaymentapplyCopyPlugin extends AbstractBillPlugIn implements Plugin
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMM");
String formattedDate = sdf.format(Date);
QFilter f1 = new QFilter("number", QCP.equals, formattedDate);
DynamicObject bd_period = BusinessDataServiceHelper.loadSingle("bd_period", "id", new QFilter[]{f1});//会计期间
DynamicObject bd_period = BusinessDataServiceHelper.loadSingle("bd_period", "id", new QFilter[]{f1});// 会计期间
if (bd_period != null) {
this.getModel().setValue("period", bd_period);//期间
}