This commit is contained in:
@@ -380,7 +380,7 @@ namespace AyaNova
|
||||
// ******************** TESTING WIPE DB *****************************
|
||||
//
|
||||
//Set this to true to wipe the db and reinstall a trial license and re-seed the data
|
||||
var TESTING_REFRESH_DB = true;//#############################################################################################
|
||||
var TESTING_REFRESH_DB = false;//#############################################################################################
|
||||
|
||||
#if (DEBUG)
|
||||
//TESTING
|
||||
@@ -419,7 +419,7 @@ namespace AyaNova
|
||||
if (TESTING_REFRESH_DB)
|
||||
{
|
||||
AyaNova.Core.License.Fetch(apiServerState, dbContext, _log);
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.SmallOneManShopTrialDataSet, -8);//#############################################################################################
|
||||
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.HugeForLoadTest, -8);//#############################################################################################
|
||||
}
|
||||
//TESTING
|
||||
#endif
|
||||
|
||||
@@ -40,15 +40,15 @@ namespace AyaNova.Biz
|
||||
}
|
||||
|
||||
var dataType = filterOptions.Flds.Find(x => x.Fld == fld).Type;
|
||||
|
||||
sb.Append("(");
|
||||
sb.Append(DataFilterToColumnCriteria(fld, dataType, opType, val, tagList, userId));
|
||||
if (i < FilterArray.Count - 1)
|
||||
{
|
||||
sb.Append(" AND ");
|
||||
sb.Append(") AND ");
|
||||
}
|
||||
}
|
||||
|
||||
return " where " + sb.ToString();
|
||||
return " where " + sb.ToString() + ")";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -12,8 +12,8 @@ namespace raven_integration
|
||||
{
|
||||
private static HttpClient client { get; } = new HttpClient();
|
||||
|
||||
// private static string API_BASE_URL = "http://localhost:7575/api/v8.0/";
|
||||
private static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/";
|
||||
private static string API_BASE_URL = "http://localhost:7575/api/v8.0/";
|
||||
//private static string API_BASE_URL = "https://test.helloayanova.com/api/v8.0/";
|
||||
|
||||
public static string TEST_DATA_FOLDER = @"..\..\..\testdata\";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user