赫荣康:增加MES提交SN列表的接口
This commit is contained in:
@@ -79,7 +79,7 @@ left join (SELECT cinvcode, STUFF(( SELECT ','+ cPosName FROM ( select b.cPosNam
|
||||
(isnull(cbustype,'')<>'委外加工') and isnull (b.cInvCode,'')=isnull(Pos.cInvCode,'')
|
||||
and isnull(b.cbcloser,'')='' And isnull(a.cverifier,'')<>''
|
||||
And a.iBillType ='0' and isnull(b.bGsp,'')='0' and (isnull(b.iQuantity,0)-isnull(b.fRefuseQuantity,0)>isnull(b.fValidInQuan,0) or (d.igrouptype=2
|
||||
and isnull(b.inum,0)-isnull(b.frefusenum,0)>isnull(b.fvalidinnum,0))) and isnull(bStorageArrivalOrder,1)=1 ";
|
||||
and isnull(b.inum,0)-isnull(b.frefusenum,0)>isnull(b.fvalidinnum,0))) and isnull(bStorageArrivalOrder,1)=1 ";
|
||||
if (!string.IsNullOrEmpty(where))
|
||||
{
|
||||
strSQL += " and " + where;
|
||||
|
||||
Reference in New Issue
Block a user