This commit is contained in:
gongxh
2021-06-10 14:14:31 +08:00
14 changed files with 1242 additions and 22 deletions

View File

@@ -75,7 +75,7 @@ LEFT JOIN dbo.PUBizFlow f ON f.iFlowID = a.iflowid
(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;