|
|
@@ -9851,6 +9851,7 @@
|
|
|
|
|
|
if ([[resultDic objectForKey:@"result"] integerValue] != RESULT_TRUE) {
|
|
|
|
|
|
+ [iSalesDB close_db:db];
|
|
|
[resultDictionary setObject:[resultDic objectForKey:@"result"] forKey:@"result"];
|
|
|
|
|
|
return [RAUtils dict2data:resultDictionary];
|
|
|
@@ -9865,9 +9866,9 @@
|
|
|
|
|
|
int result = [iSalesDB execSql:save_pdf_sql db:db];
|
|
|
|
|
|
+ [iSalesDB close_db:db];
|
|
|
[resultDictionary setObject:[NSNumber numberWithInt:result] forKey:@"result"];
|
|
|
|
|
|
-
|
|
|
return [RAUtils dict2data:resultDictionary];
|
|
|
}
|
|
|
|