Skip to content

Commit

Permalink
fix: dataimport fillinRecord
Browse files Browse the repository at this point in the history
  • Loading branch information
getrebuild committed Dec 8, 2024
1 parent 9fab67f commit 7c033bd
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import cn.devezhao.persist4j.engine.ID;
import cn.devezhao.persist4j.exception.JdbcException;
import com.rebuild.core.Application;
import com.rebuild.core.configuration.general.AutoFillinManager;
import com.rebuild.core.metadata.EntityHelper;
import com.rebuild.core.metadata.EntityRecordCreator;
import com.rebuild.core.metadata.MetadataHelper;
Expand Down Expand Up @@ -193,6 +194,9 @@ protected Record checkoutRecord(Cell[] row, ID defaultOwning) {
}
}

// fix: 3.9 导入也生效
AutoFillinManager.instance.fillinRecord(checkout);

// Verify new record
// Throws DataSpecificationException
if (checkout.getPrimary() == null) {
Expand Down

0 comments on commit 7c033bd

Please sign in to comment.