WebAPI/Controllers/MJGL/Sc_MouldLifeUseBillController.cs
@@ -535,7 +535,7 @@
        /// </summary>
        [Route("Sc_MouldLifeUseReport/GetSc_MouldLifeUseReport")]
        [HttpGet]
        public object GetSc_MouldLifeUseReport(string sWhere, string user, string userid)
        public object GetSc_MouldLifeUseReport(string sWhere, string user)
        {
            try
            {
@@ -554,12 +554,12 @@
                //查询
                if (sWhere == null || sWhere.Equals(""))
                {
                    string sql = "exec h_p_Sc_MouldLifeUseReport '','" + userid + "'";
                    string sql = "exec h_p_Sc_MouldLifeUseReport ''";
                    ds = oCN.RunProcReturn(sql, "h_p_Sc_MouldLifeUseReport");
                }
                else
                {
                    string sql = "exec h_p_Sc_MouldLifeUseReport  '" + sWhere + "','" + userid + "'";
                    string sql = "exec h_p_Sc_MouldLifeUseReport  '" + sWhere + "'";
                    ds = oCN.RunProcReturn(sql, "h_p_Sc_MouldLifeUseReport");
                }