| | |
| | | return objJsonResult; |
| | | } |
| | | //得到信息 |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_IF_Mould where HBarCode= '" + HBarCode + "'", "h_v_IF_Mould"); |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_IF_Mould where HNumber= '" + HBarCode + "'", "h_v_IF_Mould"); |
| | | //写入信息 |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | |
| | | return objJsonResult; |
| | | } |
| | | //得到信息 |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_IF_Mould where HBarCode= '" + HBarCode + "'", "h_v_IF_Mould"); |
| | | ds = oCN.RunProcReturn("select top 1 * from h_v_IF_Mould where HNumber= '" + HBarCode + "'", "h_v_IF_Mould"); |
| | | //写入信息 |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region 模治具点检记录提交 |
| | | #region 模治具保养记录提交 |
| | | |
| | | [Route("Mj_PDA_MouldMaintainBill/SaveGetMouldMaintainBillList")] |
| | | [HttpPost] |
| | |
| | | |
| | | //oItem.HMaker = ""; |
| | | UserName = oItem.HMaker; //制单人 |
| | | oItem.HBillType = "3819"; |
| | | oItem.HBillSubType = "3819"; |
| | | oItem.HBillType = "3901"; |
| | | oItem.HBillSubType = "3901"; |
| | | //oItem.HBillNo = ""; //单据号 |
| | | //oItem.HDate = DBUtility.ClsPub.isDate(DateTime.Now.ToString("yyyy-MM-dd"));// --日期 |
| | | //oItem.HInnerBillNo = ""; // --内部单据号 |