| | |
| | | { |
| | | var HBarCode = item.HBarCode; |
| | | var HItemID = item.HItemID; |
| | | string HDate = item.HMakeDate; |
| | | string HBillNo = ""; |
| | | Int64 HInterID = 0;//æ¾ç¤ºçåæ®µ |
| | | DataSet ds1 = new DataSet(); |
| | |
| | | ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + |
| | | ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" + |
| | | ") " + |
| | | " values('3814','3814'," + HInterID + ",'" + HBillNo + "',getdate()" + |
| | | " values('3814','3814'," + HInterID + ",'" + HBillNo + "','" + HDate+"'"+ |
| | | ", '" + user + "',getdate()" + |
| | | ", " + dr["HSupID"].ToString() + ", 1," + dr["HNowSupID"].ToString() + ",0,0,0,0" + |
| | | ", 0," + dr["HDeptID"].ToString() + ",' ',0" + |
| | |
| | | var HBarCode = item.HBarCode; |
| | | var HItemID = item.HItemID; |
| | | string HBillNo = ""; |
| | | string HDate = item.HMakeDate; |
| | | Int64 HInterID = 0;//æ¾ç¤ºçåæ®µ |
| | | DataSet ds1 = new DataSet(); |
| | | ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain"); |
| | |
| | | ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + |
| | | ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" + |
| | | ") " + |
| | | " values('3827','3827'," + HInterID + ",'" + HBillNo + "',getdate()" + |
| | | " values('3827','3827'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" + |
| | | ", '" + user + "',getdate()" + |
| | | ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + ",isnull('" + dr["HNowSupID"].ToString() + "',0),0,0,0,0" + |
| | | ", 0," + dr["HDeptID"].ToString() + ",'',0" + |
| | |
| | | var HBarCode = item.HBarCode; |
| | | var HItemID = item.HItemID; |
| | | string HBillNo = ""; |
| | | string HDate = item.HMakeDate; |
| | | Int64 HInterID = 0;//æ¾ç¤ºçåæ®µ |
| | | DataSet ds1 = new DataSet(); |
| | | ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain"); |
| | |
| | | ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + |
| | | ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" + |
| | | ") " + |
| | | " values('3832','3832'," + HInterID + ",'" + HBillNo + "',getdate()" + |
| | | " values('3832','3832'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" + |
| | | ", '" + user + "',getdate()" + |
| | | ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" + |
| | | ", 0," + dr["HDeptID"].ToString() + ",' ',0" + |
| | |
| | | var HBarCode = item.HBarCode; |
| | | var HItemID = item.HItemID; |
| | | string HBillNo = ""; |
| | | string HDate = item.HMakeDate; |
| | | Int64 HInterID = 0;//æ¾ç¤ºçåæ®µ |
| | | DataSet ds1 = new DataSet(); |
| | | ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain"); |
| | |
| | | ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + |
| | | ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" + |
| | | ") " + |
| | | " values('3802','3802'," + HInterID + ",'" + HBillNo + "',getdate()" + |
| | | " values('3802','3802'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" + |
| | | ", '" + user + "',getdate()" + |
| | | ", " + dr1["HCorrespondentID"].ToString() + "," + dr1["HCorrespondentTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" + |
| | | ", 0," + dr["HDeptID"].ToString() + ",' ',0" + |
| | |
| | | var HBarCode = item.HBarCode; |
| | | var HItemID = item.HItemID; |
| | | string HBillNo = ""; |
| | | string HDate = item.HMakeDate; |
| | | Int64 HInterID = 0;//æ¾ç¤ºçåæ®µ |
| | | DataSet ds1 = new DataSet(); |
| | | ds = oCn.RunProcReturn("select * from Gy_MouldFileMain where HBarCode='" + HBarCode + "'", "Gy_MouldFileMain"); |
| | |
| | | ",HSupID,HSupTypeID,HWHID,HSCWHID,HEmpID,HManagerID,HSecManagerID" + |
| | | ",HKeeperID,HDeptID,HInnerBillNo,HRedBlueFlag" + |
| | | ") " + |
| | | " values('3803','3803'," + HInterID + ",'" + HBillNo + "',getdate()" + |
| | | " values('3803','3803'," + HInterID + ",'" + HBillNo + "','" + HDate + "'" + |
| | | ", '" + user + "',getdate()" + |
| | | ", " + dr["HNowSupID"].ToString() + "," + dr["HNowSupTypeID"].ToString() + "," + dr["HNowSupID"].ToString() + ",0,0,0,0" + |
| | | ", 0," + dr["HDeptID"].ToString() + ",' ',0" + |