Skip to content

Commit

Permalink
增加entity.orm_propValues方法
Browse files Browse the repository at this point in the history
  • Loading branch information
entropy-cloud committed Nov 28, 2024
1 parent 44c8c6d commit f72a268
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nop-orm/src/main/java/io/nop/orm/IOrmEntity.java
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ default String get_entityName() {

void orm_propValueByName(String propName, Object value);

default void orm_propValues(Map<String,Object> values){
values.forEach(this::orm_propValueByName);
}

/**
* 得到指定属性的值
*
Expand Down

0 comments on commit f72a268

Please sign in to comment.