Package cn.net.pap.common.jsonorm.util
Class SqlUtil
java.lang.Object
cn.net.pap.common.jsonorm.util.SqlUtil
数据结构转SQL语句
-
Constructor Details
-
SqlUtil
public SqlUtil()
-
-
Method Details
-
geneInsertStatement
生成 insert 语句- Parameters:
tableName
-valueMap
-- Returns:
-
generateDeleteStatement
生成删除语句- Parameters:
tableName
-- Returns:
-
generateSelectStatement
public static String generateSelectStatement(String tableName, List<String> fieldNameList, Map<String, Object> valueMap) 生成查询语句- Parameters:
tableName
-- Returns:
-