集团主数据在建项目使用情况
This commit is contained in:
@@ -1172,6 +1172,29 @@
|
||||
|
||||
return projectInfos.ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取主数据项目【新的主数据表】
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public static List<Ads_pms_pro_info_build> GetMasterProjectDataInfos()
|
||||
{
|
||||
var thisUnit = CommonService.GetIsThisUnit();
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>()
|
||||
{
|
||||
{"collCropCode", thisUnit.CollCropCode}
|
||||
};
|
||||
|
||||
List<Ads_pms_pro_info_build> projectlist = new List<Ads_pms_pro_info_build>();
|
||||
var returnData = ServerService.GerDataFromCncec("/api/Common/GetMasterProjectDataByCollCropCode", dic, null);
|
||||
if (returnData != null && returnData.code == 1)
|
||||
{
|
||||
projectlist = JsonConvert.DeserializeObject<List<Ads_pms_pro_info_build>>(returnData.data.ToString());
|
||||
}
|
||||
|
||||
return projectlist;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取主数据项目
|
||||
|
||||
Reference in New Issue
Block a user