This commit is contained in:
chi
2023-12-07 22:28:24 +09:00
parent 8c08587996
commit 2eefaf7065
3 changed files with 23 additions and 25 deletions

View File

@@ -182,7 +182,7 @@ namespace FCOMMON
" isnull(sum(inqty),0) as Total_Buy," +
" isnull(sum(pumqty) - sum(inqty),0) as Total_Remain" +
" from EETGW_PurchaseCR" +
" where gcode = @gcode" +
" where gcode = @gcode and state <> 'Cancled'" +
" and projectidx = @project" +
(sid == null ? string.Empty : " and sid = @sid") +
" and isnull(isdel,0) = 0";