|
@@ -5201,22 +5201,18 @@
|
|
|
nsline_note= [[NSString alloc]initWithUTF8String:line_note];
|
|
nsline_note= [[NSString alloc]initWithUTF8String:line_note];
|
|
|
|
|
|
|
|
|
|
|
|
|
- char *name = (char*)sqlite3_column_text(stmt, 5);
|
|
|
|
|
|
|
+// char *name = (char*)sqlite3_column_text(stmt, 5);
|
|
|
// NSString *nsname = nil;
|
|
// NSString *nsname = nil;
|
|
|
// if(name!=nil)
|
|
// if(name!=nil)
|
|
|
// nsname= [[NSString alloc]initWithUTF8String:name];
|
|
// nsname= [[NSString alloc]initWithUTF8String:name];
|
|
|
-// if ([nsname containsString:@"(null)"]) {
|
|
|
|
|
-// nsname = @"";
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+
|
|
|
NSString *nsname = [self textAtColumn:5 statement:stmt];
|
|
NSString *nsname = [self textAtColumn:5 statement:stmt];
|
|
|
|
|
|
|
|
- char *description = (char*)sqlite3_column_text(stmt, 6);
|
|
|
|
|
|
|
+// char *description = (char*)sqlite3_column_text(stmt, 6);
|
|
|
// NSString *nsdescription=nil;
|
|
// NSString *nsdescription=nil;
|
|
|
// if(description!=nil)
|
|
// if(description!=nil)
|
|
|
// nsdescription= [[NSString alloc]initWithUTF8String:description];
|
|
// nsdescription= [[NSString alloc]initWithUTF8String:description];
|
|
|
-// if ([nsdescription containsString:@"(null)"]) {
|
|
|
|
|
-// nsdescription = @"";
|
|
|
|
|
-// }
|
|
|
|
|
|
|
+
|
|
|
NSString *nsdescription = [self textAtColumn:6 statement:stmt];
|
|
NSString *nsdescription = [self textAtColumn:6 statement:stmt];
|
|
|
|
|
|
|
|
// int stockUom = sqlite3_column_int(stmt, 8);
|
|
// int stockUom = sqlite3_column_int(stmt, 8);
|