jjj
This commit is contained in:
@@ -279,6 +279,7 @@ namespace Project
|
||||
if (VAR.BOOL[eVarBool.Opt_WMS_Apply_VenderName] && (vdata.VNAME_Trust == false || vdata.VNAME.isEmpty())) fields.Add("VENDOR_NM");
|
||||
if (VAR.BOOL[eVarBool.Opt_WMS_Apply_SID] && (vdata.SID_Trust == false || vdata.SID.isEmpty())) fields.Add("SID");
|
||||
if (VAR.BOOL[eVarBool.Opt_WMS_Apply_batch] && (vdata.SID_Trust == false || vdata.BATCH.isEmpty())) fields.Add("BATCH_NO"); //220921
|
||||
if (VAR.BOOL[eVarBool.Opt_WMS_Apply_MFG] && (vdata.MFGDATE_Trust == false || vdata.MFGDATE.isEmpty())) fields.Add("MFG_DATE");
|
||||
|
||||
//where coluns
|
||||
List<string> wheres = new List<string>();
|
||||
@@ -310,7 +311,11 @@ namespace Project
|
||||
if (vdata.VLOT_Trust && vdata.VLOT.isEmpty() == false) wheres.Add($"VENDOR_LOT = '{vdata.VLOT}'");
|
||||
else Apply = false;
|
||||
}
|
||||
|
||||
if (Apply && VAR.BOOL[eVarBool.Opt_WMS_Where_MFG]) //221013
|
||||
{
|
||||
if (vdata.MFGDATE_Trust && vdata.MFGDATE.isEmpty() == false) wheres.Add($"MFG_DATE = '{vdata.MFGDATE}'");
|
||||
else Apply = false;
|
||||
}
|
||||
//if query data . no error
|
||||
if (Apply && fields.Count > 0 && wheres.Count > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user