mirror of
https://github.com/stokebob/bnhtrade.git
synced 2026-03-19 06:27:15 +00:00
Updating branch with changes from master (#12)
* Copy release version to Dropbox on build * Bug fix: Error thrown on list containing null item
This commit is contained in:
@@ -125,6 +125,8 @@ namespace bnhtrade.Core.Data.Database.Stock
|
||||
|
||||
public List<Model.Stock.SkuTransactionType> ByTypeCode(List<string> typeCode)
|
||||
{
|
||||
typeCode.RemoveAll(string.IsNullOrWhiteSpace);
|
||||
|
||||
string sqlWhere = @"
|
||||
WHERE TypeCode IN @typeCode ";
|
||||
|
||||
@@ -136,6 +138,8 @@ namespace bnhtrade.Core.Data.Database.Stock
|
||||
|
||||
public List<Model.Stock.SkuTransactionType> ByTypeName(List<string> typeName)
|
||||
{
|
||||
typeName.RemoveAll(string.IsNullOrWhiteSpace);
|
||||
|
||||
string sqlWhere = @"
|
||||
WHERE TypeName IN @typeName ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user