/// <summary> /// 返修单导入 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripMenuItem2_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(strBefore_orderId)) { List<SQLObj> listSql = new List<SQLObj>(); UpdateMaintainInfo(listSql, strBefore_orderId, "", "0"); DBHelper.BatchExeSQLMultiByTrans("更新前置单据状体", listSql); } UCCallBackImport CallBackImport = new UCCallBackImport(); CallBackImport.uc = this; CallBackImport.ShowDialog(); }
/// <summary> /// 返修单导入 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripMenuItem2_Click(object sender, EventArgs e) { try { if (!string.IsNullOrEmpty(strBefore_orderId)) { List<SQLObj> listSql = new List<SQLObj>(); UpdateMaintainInfo(listSql, strBefore_orderId, "", "0"); DBHelper.BatchExeSQLMultiByTrans("更新前置单据状体", listSql); } UCCallBackImport CallBackImport = new UCCallBackImport(); CallBackImport.uc = this; CallBackImport.ShowDialog(); } catch (Exception ex) { HXCPcClient.GlobalStaticObj.GlobalLogService.WriteLog(ex); } }