| | |
| | | BillNew.omodel.HProcExchBillNo = ClsPub.isStrNull(mainList[0].HProcExchBillNo); |
| | | BillNew.omodel.HProcExchQty = ClsPub.isLong(mainList[0].HProcExchQty); |
| | | BillNew.omodel.HMaterID = ClsPub.isLong(mainList[0].HMaterID); |
| | | BillNew.omodel.HProcID = ClsPub.isLong(mainList[0].HProcID); |
| | | BillNew.omodel.HFirstCheckEmp = ClsPub.isLong(mainList[0].HFirstCheckEmp); |
| | | BillNew.omodel.HLastResult = ClsPub.isBool(mainList[0].HLastResult); |
| | | BillNew.omodel.HMainSourceInterID = ClsPub.isLong(mainList[0].HMainSourceInterID); |
| | |
| | | oSub.HInspectValB = DBUtility.ClsPub.isLong(mainList[0].HInspectValB == null ? 0 : mainList[0].HInspectValB); |
| | | oSub.HTargetValB = DBUtility.ClsPub.isLong(mainList[0].HTargetValB == null ? 0 : mainList[0].HTargetValB); |
| | | |
| | | oSub.HInspectVal= DBUtility.ClsPub.isStrNull(mainList[0].HInspectVal); |
| | | oSub.HTargetVal= DBUtility.ClsPub.isStrNull(mainList[0].HTargetVal); |
| | | oSub.HUpLimit= DBUtility.ClsPub.isStrNull(mainList[0].HUpLimit); |
| | | oSub.HDownLimit= DBUtility.ClsPub.isStrNull(mainList[0].HDownLimit); |
| | | oSub.HInspectVal= DBUtility.ClsPub.isStrNull(subList[i].HInspectVal); |
| | | oSub.HTargetVal= DBUtility.ClsPub.isStrNull(subList[i].HTargetVal); |
| | | oSub.HUpLimit= DBUtility.ClsPub.isStrNull(subList[i].HUpLimit); |
| | | oSub.HDownLimit= DBUtility.ClsPub.isStrNull(subList[i].HDownLimit); |
| | | //* |
| | | oSub.HUpOffSet= DBUtility.ClsPub.isStrNull(subList[i].HUpOffSet); |
| | | oSub.HDownOffSet= DBUtility.ClsPub.isStrNull(subList[i].HDownOffSet); |
| | |
| | | #region åºå/å·¥åº æ£éªåæ ¹æ®æºåç±»åè·åä¿¡æ¯-æºåä¸ºå·¥åºæµè½¬å¡ |
| | | [Route("QC_PatrolProcCheckOtherBill/get_ProcessExchangeBill")] |
| | | [HttpGet] |
| | | public object get_ProcessExchangeBill(string HInterID, string user) |
| | | public object get_ProcessExchangeBill(string HInterID, string HEntryID, string user) |
| | | { |
| | | try |
| | | { |
| | |
| | | switch (oSystemParameter.omodel.QC_FirstPieceCheckBill_QCSchemeSource) |
| | | { |
| | | case "å·¥åº": |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'å·¥åº','" + HInterID + "'"; |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'å·¥åº','" + HInterID + "','" + HEntryID + "'"; |
| | | break; |
| | | case "ç©æ": |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'ç©æ','" + HInterID + "'"; |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'ç©æ','" + HInterID + "','" + HEntryID + "'"; |
| | | break; |
| | | case "å·¥èºè·¯çº¿": |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'å·¥èºè·¯çº¿','" + HInterID + "'"; |
| | | sql = "exec h_p_QC_FirstPiece_GetProcessExchangeBillList " + "'å·¥èºè·¯çº¿','" + HInterID + "','" + HEntryID + "'"; |
| | | break; |
| | | } |
| | | |