구매필요내역에 cr 없느 ㄴ데이터는 나오지 않게 함(박성민s)

This commit is contained in:
chi
2021-03-11 09:24:51 +09:00
parent 382b45e2b5
commit 87da6dbe5f
10 changed files with 1289 additions and 73 deletions

View File

@@ -29180,7 +29180,8 @@ WHERE (idx = @idx)";
a.crdue
FROM Projects AS a INNER JOIN
ProjectsPart AS b ON a.idx = b.Project
WHERE (a.gcode = @gcode) AND (ISNULL(b.qtybuy, 0) > 0) AND (ISNULL(b.qtybuy, 0) > ISNULL(b.qtyin, 0)) AND (a.status IN ('', '', '()')) AND (ISNULL(b.bCancel, 0) = 0)
WHERE (a.gcode = @gcode) AND (ISNULL(b.qtybuy, 0) > 0) AND (ISNULL(b.qtybuy, 0) > ISNULL(b.qtyin, 0)) AND (a.status IN ('', '', '()')) AND (ISNULL(b.bCancel, 0) = 0) AND
(ISNULL(a.orderno, '') <> '')
ORDER BY ISNULL(b.bbuy, 0), ISNULL(b.bconfirm, 0), ISNULL(a.userManager, ''), ISNULL(b.Project, 0)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));