yangle
2025-04-09 5898d7f62ec4b29f313a018c7526ce100e9d30a6
WebAPI/Controllers/MateOutController.cs
@@ -2609,10 +2609,18 @@
        #region  工厂日历查询
        [Route("MaterOutEntryReport/Sc_ShopCalendar")]
        [HttpGet]
        public object Sc_ShopCalendar(string sWhere)
        public object Sc_ShopCalendar(string sWhere,string user)
        {
            try
            {
                if (!DBUtility.ClsPub.Security_Log("Gy_PlanShifts_Query", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无查询权限!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                string sql1 = string.Format("select * from h_v_Gy_PlanShiftsList where 1=1 " + sWhere);
                ds = oCN.RunProcReturn(sql1, "h_v_Gy_PlanShiftsList");