集团主数据在建项目使用情况

This commit is contained in:
geh
2026-05-26 15:48:00 +08:00
parent b3b3334466
commit 5d423fdcc5
19 changed files with 3580 additions and 408 deletions
+23
View File
@@ -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>
/// 获取主数据项目