|
|
@ -1908,7 +1908,7 @@ c.Sequence, |
|
|
|
order by c.Code,Convert(int,c.Sequence),d.MTIME,d.LotNO ";
|
|
|
|
|
|
|
|
var dataset = Repository().FindDataSetBySql(sql); |
|
|
|
if (dataset.Tables.Count == 0) |
|
|
|
if (dataset.Tables[0].Rows.Count == 0) |
|
|
|
return null; |
|
|
|
DataTable table = dataset.Tables[0]; |
|
|
|
decimal qtyCount = 0; |
|
|
|