| | |
| | | return response; |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 地图看板数据 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route(template: "MapTableData")] |
| | | [HttpGet] |
| | | public HttpResponseMessage MapTableData() |
| | | { |
| | | |
| | | List<DataTable> list = new List<DataTable>(); |
| | | list = LoadDataBLL.MyMap(); |
| | | var timeConverter = new IsoDateTimeConverter { DateTimeFormat = "yyyy-MM-dd" }; |
| | | HttpResponseMessage response = Request.CreateResponse(); |
| | | response.StatusCode = HttpStatusCode.OK; |
| | | response.Content = new StringContent(JsonConvert.SerializeObject(new { code = 200, data = list }), System.Text.Encoding.UTF8); |
| | | return response; |
| | | } |
| | | } |
| | | } |
| | |
| | | return LoadDataDAL.HouseDataTable(houseCode); |
| | | } |
| | | #endregion |
| | | |
| | | /// <summary> |
| | | /// 地图数据看板 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static List<DataTable> MyMap() { return LoadDataDAL.MyMap(); } |
| | | } |
| | | } |
| | |
| | | return dt; |
| | | } |
| | | #endregion |
| | | |
| | | #region 地图数据看板 |
| | | /// <summary> |
| | | /// 地图数据看板 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static List<DataTable> MyMap () |
| | | { |
| | | List<DataTable> list = new List<DataTable>(); |
| | | //执行存储过程h_p_Xs_SeOrderQtySort |
| | | // 存储过程名称 |
| | | string strProcName = "h_p_Xs_SeOrderQtySort"; |
| | | //创建参数 |
| | | SqlParameter[] parameters = {}; |
| | | list = DBHelper.ExecuteProductDataList(strProcName, parameters); |
| | | |
| | | return list; |
| | | } |
| | | #endregion |
| | | } |
| | | } |
| | |
| | | --> |
| | | <configuration> |
| | | <appSettings> |
| | | <add key="DBServer" value="Data Source=LAPTOP-SE03PLUR;Initial Catalog=dsmAIS20201023121341;Integrated Security=True" /> |
| | | <!--王永波本地数据库连接--> |
| | | <add key="DBServer" value="Data Source=.;Initial Catalog=HX_LMESsys;Persist Security Info=True;User ID=HX_USER; Password=lc@841022;" /> |
| | | <!--杨露本地数据库连接--> |
| | | <!--<add key="DBServer" value="Data Source=LAPTOP-SE03PLUR;Initial Catalog=dsmAIS20201023121341;Integrated Security=True" />--> |
| | | <!--流水线编码--> |
| | | <add key="LineCode" value="509" /> |
| | | <!--流水线看板今日全部流水线编码:产线1、产线2、产线3、产线4、产线5、产线6--> |