| | |
| | | } |
| | | |
| | | |
| | | //删除表记录 |
| | | [Route("Web/Delete_Table")] |
| | | [HttpGet] |
| | | public object Delete_Table(string sqlStr) |
| | | { |
| | | try |
| | | { |
| | | //SQLHelper oCn; |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | oCN.RunProc(sqlStr); |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "删除成功!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "删除失败!异常"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | } |
| | | |
| | | #region 基础资料 |
| | | /// <summary> |
| | | /// 获取仓库列表 |