| | |
| | | /// <returns></returns> |
| | | [Route("Gy_WorkTypeController/GetGy_WorkTypeList_Json")] |
| | | [HttpGet] |
| | | public object GetGy_WorkTypeList_Json(string sWhere, string HMaker) |
| | | public object GetGy_WorkTypeList_Json(string sWhere, string HMaker, string OperationType) |
| | | { |
| | | try |
| | | { |
| | | //夿æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightName, 1, false, HMaker)) |
| | | //夿æé 1ä¸ºç´æ¥å表模åæå¼ 2为ä»å
¶ä»æ¨¡å跳转æå¼å表 |
| | | if (OperationType == "1") |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¨æ²¡æè¯¥æ¨¡åæé,请ä¸ç®¡çåèç³»ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | //夿æé |
| | | if (!DBUtility.ClsPub.Security_Log(ModRightName, 1, false, HMaker)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "æ¨æ²¡æè¯¥æ¨¡åæé,请ä¸ç®¡çåèç³»ï¼"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | |
| | | //è¿ååè¡¨ä¿¡æ¯ |