| | |
| | | #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"); |