11
This commit is contained in:
parent
d2e2ea0303
commit
1919896d17
@ -25,7 +25,7 @@ namespace MyCode.Project.Repositories
|
||||
|
||||
SearchCondition where = new SearchCondition();
|
||||
|
||||
where.AddSqlCondition(" 1=1 and a.FRemainOutQty<>0 AND a.FStockOutQty<>0 ", true);
|
||||
where.AddSqlCondition(" 1=1 and a.FStockOutQty<>0 ", true);
|
||||
|
||||
string sql = $@" select * from (
|
||||
SELECT * ,(QTY-FStockOutQty) AS FRemainOutQty,OutboundPercentage=CONVERT(DECIMAL(18,2),(CASE WHEN QTY !=0 THEN FStockOutQty/QTY*1.00 ELSE 0 END))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user