1.修改组编号申请获取逻辑,增加成品视图

2.修改获取MDM代码逻辑,将获取到的MDM代码转成大写
master
Leo 2 years ago
parent a5efbf331c
commit 9fdc80a736

@ -392,7 +392,7 @@ namespace FactorySystemApi.Controllers
if (resModel.success)
{
List<MDMDataResponseModel> datas = JsonConvert.DeserializeObject<List<MDMDataResponseModel>>(resModel.data);
return datas.Count > 0 ? datas.First().mdm_code : "";
return datas.Count > 0 ? datas.First().mdm_code.ToUpper() : "";
}
}
}

@ -81,6 +81,7 @@ namespace FactorySystemBll
TFS_FTeamwork teamwork = db.Queryable<TFS_FTeamwork>().Where(s => s.FID == teamId).First();
List<int> viewType = new List<int>
{
(int)Constant.ViewType.,
(int)Constant.ViewType.,
(int)Constant.ViewType.,
(int)Constant.ViewType.

Loading…
Cancel
Save