修改质量接口
This commit is contained in:
@@ -33,13 +33,13 @@ namespace WebAPI.Controllers
|
|||||||
/// <param name="id"></param>
|
/// <param name="id"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
public ResponseData<Model_QualityModel> GetModelsById(string id)
|
public ResponseData<List<Model_QualityModel>> GetModelsById(string id)
|
||||||
{
|
{
|
||||||
ResponseData<Model_QualityModel> res = new ResponseData<Model_QualityModel>();
|
ResponseData<List<Model_QualityModel>> res = new ResponseData<List<Model_QualityModel>>();
|
||||||
Model_QualityModel cd = BLL.QualityModelService.GetQualityModelByIdForApi(id);
|
List<Model_QualityModel> cd = BLL.QualityModelService.GetQualityModelByIdForApi(id);
|
||||||
|
|
||||||
res.successful = true;
|
res.successful = true;
|
||||||
res.resultValue = BeanUtil.CopyOjbect<Model_QualityModel>(cd, true);
|
res.resultValue = cd;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user