프로젝트 직접비 현황 : 통신비도 합쳐서 계산되도록 추가

This commit is contained in:
2026-06-24 17:09:36 +09:00
parent 927a8c851b
commit 5297151017

View File

@@ -207,7 +207,7 @@ p_costType = request("p_costType")
query = query & " FROM project2.dbo.direct_cost " & vbCrLf
query = query & " WHERE p_child_sn > '17' AND del_yes_no = 'no' " & vbCrLf
If LCase(Trim(p_costType)) = "field" Then
query = query & " AND cost_type = 'field' " & vbCrLf
query = query & " AND (cost_type = 'field' OR sebu IN ('<27>μ<EFBFBD><CEBC><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)', '<27><><EFBFBD>ź<EFBFBD>')) " & vbCrLf
End If
query = query & " GROUP BY p_child_sn " & vbCrLf
query = query & " ) DC ON TPM.p_child_sn = DC.p_child_sn LEFT JOIN " & vbCrLf