| | |
| | | { |
| | | //定义全局信息返回变量 |
| | | ToMessage mes = new ToMessage(); |
| | | RedisHelper redis = new RedisHelper(); |
| | | RedisCommon redis = new RedisCommon(); |
| | | |
| | | #region[组织架构基础资料] |
| | | /// <summary> |
| | |
| | | public JsonResult PrentOrganization() |
| | | { |
| | | mes = GeneralBasicDataBLL.PrentOrganization(); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[组织架构基础资料(无公司)] |
| | | /// <summary> |
| | | /// 组织架构基础资料(无公司) |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route(template: "PrentOrganizationNoCompany")] |
| | | [HttpGet] |
| | | public JsonResult PrentOrganizationNoCompany() |
| | | { |
| | | mes = GeneralBasicDataBLL.PrentOrganizationNoCompany(); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[仓库库位基础资料] |
| | | /// <summary> |
| | | /// 仓库库位基础资料 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route(template: "WareHouseLocation")] |
| | | [HttpGet] |
| | | public JsonResult WareHouseLocation() |
| | | { |
| | | mes = GeneralBasicDataBLL.WareHouseLocation(); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[仓库查找仓位信息] |
| | | /// <summary> |
| | | /// 仓库查找仓位信息 |
| | | /// </summary> |
| | | /// <param name="warhousecode">仓库编码</param> |
| | | /// <returns></returns> |
| | | [Route(template: "WareHouseSelectLocation")] |
| | | [HttpGet] |
| | | public JsonResult WareHouseSelectLocation(string warhousecode) |
| | | { |
| | | mes = GeneralBasicDataBLL.WareHouseSelectLocation(warhousecode); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[工序基础资料] |
| | | /// <summary> |
| | | /// 工序基础资料 |
| | |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[模具检验项目下拉列表] |
| | | /// <summary> |
| | | /// 模具检验项目下拉列表 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route(template: "MouldCheckItemSelect")] |
| | | [HttpGet] |
| | | public JsonResult MouldCheckItemSelect() |
| | | { |
| | | mes = GeneralBasicDataBLL.MouldCheckItemSelect(); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[模具保养项目下拉列表] |
| | | /// <summary> |
| | | /// 模具保养项目下拉列表 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route(template: "MouldRepairItemSelect")] |
| | | [HttpGet] |
| | | public JsonResult MouldRepairItemSelect() |
| | | { |
| | | mes = GeneralBasicDataBLL.MouldRepairItemSelect(); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | } |
| | | } |