public interface EntityScript
EntityDeleteScript,
EntitySelectScript,
EntityInsertScript,
EntityUpdateScript| 限定符和类型 | 方法和说明 |
|---|---|
DataScriptStatement |
getStatement() |
static EntityScript |
insert(String entityName,
Map<String,Object> fieldToUpdate)
插入脚本
|
static EntityScript |
update(String entityName,
Map<String,Object> fieldToUpdate,
EntityCondition whereCondition)
更新脚本
|
DataScriptStatement getStatement()
static EntityScript update(String entityName, Map<String,Object> fieldToUpdate, EntityCondition whereCondition)
entityName - 实体全名fieldToUpdate - 要更新的字段whereCondition - 条件static EntityScript insert(String entityName, Map<String,Object> fieldToUpdate)
entityName - 实体全名fieldToUpdate - 要插入的字段Copyright © 2019. All rights reserved.