newcode
This commit is contained in:
@@ -129,11 +129,10 @@ public class GSKOrangeDB extends SQLiteOpenHelper {
|
||||
public void deleteTableWithStoreID(String storeid) {
|
||||
|
||||
db.delete(CommonString.TABLE_COVERAGE_DATA, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_DIALOG_MAIN, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
|
||||
db.delete(CommonString.CREATE_TABLE_INSERT_STOCK_ADDITIONAL_VISIBILITY_MAIN, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_DIALOG, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_ADDITIONAL_STOCK_DATA, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_DIALOG_MAIN, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_ADDITIONAL_MAIN, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_DIALOG, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_ADDITIONAL_DATA, CommonString.KEY_STORE_ID + "='" + storeid + "'", null);
|
||||
|
||||
//Gagan start code
|
||||
db.delete(CommonString.TABLE_INSERT_MSL_AVAILABILITY, "Store_Id='" + storeid + "'", null);
|
||||
@@ -149,10 +148,10 @@ public class GSKOrangeDB extends SQLiteOpenHelper {
|
||||
|
||||
db.delete(CommonString.TABLE_COVERAGE_DATA, null, null);
|
||||
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_DIALOG_MAIN, null, null);
|
||||
db.delete(CommonString.CREATE_TABLE_INSERT_STOCK_ADDITIONAL_VISIBILITY_MAIN, null, null);
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_DIALOG, null, null);
|
||||
db.delete(CommonString.CREATE_TABLE_STOCK_ADDITIONAL_STOCK_DATA, null, null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_DIALOG_MAIN, null, null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_ADDITIONAL_MAIN, null, null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_DIALOG, null, null);
|
||||
db.delete(CommonString.TABLE_INSERT_STOCK_ADDITIONAL_DATA, null, null);
|
||||
|
||||
//Gagan start code
|
||||
db.delete(CommonString.TABLE_INSERT_MSL_AVAILABILITY, null, null);
|
||||
|
||||
Reference in New Issue
Block a user