增加一个getDataBySql简便调用
This commit is contained in:
parent
7e34391848
commit
6072bb7288
@ -564,4 +564,13 @@ public class DataOperatorUtil {
|
||||
return getDataBySql( null, sql, params );
|
||||
}
|
||||
|
||||
/**
|
||||
* 再重构一个更简便调用
|
||||
* @param sql
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public static List<Map<String,String>> getDataBySql( String sql ) throws Exception {
|
||||
return getDataBySql( null, sql, null );
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user