• mysql+C#


     MySqlParameter[] prams = new MySqlParameter[11];
                    prams[0] = new MySqlParameter("@personindex", personindex);
                    prams[1] = new MySqlParameter("@businessindex", businessindex);
                    prams[2] = new MySqlParameter("@systemstatus", systemstatus);
                    prams[3] = new MySqlParameter("@providerindex", providerindex);
                    prams[4] = new MySqlParameter("@alarmindex", alarmindex);
                    prams[5] = new MySqlParameter("@orderlevel", orderlevel);
                    prams[6] = new MySqlParameter("@exceptfixtime", 24);
                    prams[7] = new MySqlParameter("@fixperson", fixperson);
                    prams[8] = new MySqlParameter("@currentstatus", currentstatus);
                    prams[9] = new MySqlParameter("@orderhandle", orderhandle);
                    prams[10] = new MySqlParameter("@handletype", handletype);
                    using (cnpsim_dbEntities dbManager = new cnpsim_dbEntities())
                    {
                        var index = dbManager.Database.SqlQuery<string>("call InsertWorkOrderInfo(@personindex,@businessindex,@systemstatus,@providerindex ,@alarmindex, @orderlevel,@exceptfixtime, @fixperson,@currentstatus ,@orderhandle,@handletype)", prams);
                        string ss=index.FirstOrDefault().ToString();
                        string s = ss;
                     
                        return RedirectToAction("SuccessInfo", "BackInfo", new { str1 = "成功添加派工单", str2 = "", url = "http://wx115.cnpsim.com/Business/index" });
    
                    }
  • 相关阅读:
    Appium Python 六:管理应用和Activity
    Loadrunner 11 遇到的问题
    LoadRunner 测试 Mysql
    LoadRunner录制:集合点
    此博客停止更新
    Mac:文件夹树型展示 tree
    Postman-CI集成Jenkins
    Django-数据模型
    Django-简单项目创建
    Django-安装篇
  • 原文地址:https://www.cnblogs.com/NotEnough/p/10277944.html
Copyright © 2020-2023  润新知