프로젝트정보에 major 추가

This commit is contained in:
chi
2024-01-31 17:23:12 +09:00
parent 3c86087f76
commit fd5b64ca32
5 changed files with 67 additions and 88 deletions

View File

@@ -174,9 +174,9 @@ namespace FCOMMON
{
var sql =
" select " +
" isnull(sum(case when[state] = 'PR' then 0 when[state] = 'PO' then 0 when[state] = 'Received' then 0 when[state] = 'Cancled' then 0 else pumqty end),0) as Request," +
" isnull(sum(case when[state] = 'PR' then pumqtyReq else 0 end),0) as PR," +
" isnull(sum(case when[state] = 'PO' then pumqtyReq else 0 end),0) as PO," +
" isnull(sum(case when[state] = 'PR' then 0 when[state] = 'PO' then 0 when[state] = 'Received' then 0 when[state] = 'Cancled' then 0 else pumqtyreq end),0) as Request," +
" isnull(sum(case when[state] = 'PR' then pumqty else 0 end),0) as PR," +
" isnull(sum(case when[state] = 'PO' then pumqty else 0 end),0) as PO," +
" isnull(sum(case when[state] = 'Received' then inqty else 0 end),0) as Received," +
" isnull(sum(isnull(pumqty,pumqtyreq)),0) as Total_Request," +
" isnull(sum(inqty),0) as Total_Buy," +