|  |  |  | 
|---|
|  |  |  | double HMoney = 0; | 
|---|
|  |  |  | double HBadCount = list[0].HBadCount;//不良数量 | 
|---|
|  |  |  | long HCenterID = list[0].HCenterID;//工作中心ID | 
|---|
|  |  |  | long HProcNo = list[0].HProcNo;//流水号 | 
|---|
|  |  |  | string HProcNo = list[0].HProcNo;//流水号 | 
|---|
|  |  |  | string HOrderProcNO = list[0].HOrderProcNO;//订单跟踪号 | 
|---|
|  |  |  | string HSourceNameList = list[0].HSourceNameList;//设备清单 | 
|---|
|  |  |  | long HMainSourceInterID = list[0].HInterID;//递入type得到的单据ID | 
|---|
|  |  |  | 
|---|
|  |  |  | objJsonResult.data = null; | 
|---|
|  |  |  | return objJsonResult; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (HProcNo <= 0) | 
|---|
|  |  |  | if (HProcNo == "") | 
|---|
|  |  |  | { | 
|---|
|  |  |  | objJsonResult.code = "0"; | 
|---|
|  |  |  | objJsonResult.count = 0; | 
|---|
|  |  |  | 
|---|
|  |  |  | bool bResult; | 
|---|
|  |  |  | // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); | 
|---|
|  |  |  | bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo); | 
|---|
|  |  |  | oCN.RunProc($"update Sc_StationOutBillMain set HMaker='{msg4}' where HInterID={oBill.omodel.HInterID}"); | 
|---|
|  |  |  | i++; | 
|---|
|  |  |  | //if (bResult) | 
|---|
|  |  |  | //{ | 
|---|