| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 用户关联班组获取信息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("GetGy_UserGroupDetail")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> GetGy_UserGroupDetail(string HID) |
| | | { |
| | | var model = LuBaoSevice.GetGy_UserGroupBillDetail(HID); |
| | | return model; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 用户关联供应商获取信息 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | [Route("GetGy_UserSupplierDetail")] |
| | | [HttpGet] |
| | | public ApiResult<DataSet> GetGy_UserSupplierDetail(string HID) |
| | | { |
| | | var model = LuBaoSevice.GetGy_UserSupplierBillDetail(HID); |
| | | return model; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 报废原因 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | |
| | | SQLHelper.ClsCN oCN = new SQLHelper.ClsCN(); |
| | | if (sWhere == null || sWhere.Equals("")) |
| | | { |
| | | ds = oCN.RunProcReturn("Select HItemID,HNumber 代码,HName 名称 ,HQCCheckClassID 检验项目类别 from Gy_QCCheckItem where HStopflag=0 Order by HItemID ", "Gy_QCCheckItem"); |
| | | ds = oCN.RunProcReturn("Select HItemID,HNumber 代码,HName 名称 ,HQCCheckClassID 检验项目类别,HDefaultResult 默认结论 from Gy_QCCheckItem where HStopflag=0 Order by HItemID ", "Gy_QCCheckItem"); |
| | | } |
| | | else |
| | | { |
| | | string sql = "Select HItemID,HNumber 代码,HName 名称 ,HQCCheckClassID 检验项目类别 from Gy_QCCheckItem where HStopflag=0 " + sWhere + "Order by HItemID "; |
| | | string sql = "Select HItemID,HNumber 代码,HName 名称 ,HQCCheckClassID 检验项目类别,HDefaultResult 默认结论 from Gy_QCCheckItem where HStopflag=0 " + sWhere + "Order by HItemID "; |
| | | ds = oCN.RunProcReturn(sql, "Gy_QCCheckItem"); |
| | | } |
| | | if (ds == null || ds.Tables[0].Rows.Count <= 0) |