|
|
@@ -143,7 +143,7 @@ namespace UAS_LabelMachine.PublicMethod
|
|
|
{
|
|
|
GroupByCondition += "pd_ordercode,";
|
|
|
}
|
|
|
- if (iCustProdCode || iCustPo || iDC || iLotNo)
|
|
|
+ if (iCustProdCode || iCustPo || iDC || iLotNo || iOrderCode)
|
|
|
{
|
|
|
GroupByCondition = " group by " + (GroupByCondition.Substring(0, GroupByCondition.Length - 1));
|
|
|
}
|
|
|
@@ -360,7 +360,7 @@ namespace UAS_LabelMachine.PublicMethod
|
|
|
{
|
|
|
GroupByCondition += "pd_ordercode,";
|
|
|
}
|
|
|
- if (iCustProdCode || iCustPo || iDC || iLotNo)
|
|
|
+ if (iCustProdCode || iCustPo || iDC || iLotNo || iOrderCode)
|
|
|
{
|
|
|
GroupByCondition = " group by " + (GroupByCondition.Substring(0, GroupByCondition.Length - 1));
|
|
|
}
|