File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
src/main/java/com/simplesql/simplesql/config Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 defaultConfig {
88 minSdkVersion 11
99 targetSdkVersion 29
10- versionCode 23
11- versionName " 1.0.22 "
10+ versionCode 26
11+ versionName " 1.0.25 "
1212
1313 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1414 consumerProguardFiles ' consumer-rules.pro'
Original file line number Diff line number Diff line change @@ -260,6 +260,14 @@ public Object execute() {
260260 if (type .equals ("COUNT" )){
261261 cursor .moveToFirst ();
262262 return cursor .getInt (0 );
263+ }else if (type .equals ("MAX" ) || type .equals ("MIN" )){
264+ if (cursor .moveToFirst ()){
265+ for (Field f :fields ){
266+ Object object = checkItem (f , cursor );
267+ if (object != null )
268+ hashMap .put (f .getName (), object );
269+ }
270+ }
263271 }
264272 while (cursor .moveToNext ()) {
265273 for (Field f : fields ) {
You can’t perform that action at this time.
0 commit comments