提交代码

This commit is contained in:
2025-03-10 11:07:50 +08:00
parent 9c4bc2154d
commit edbb8bf3ae
4 changed files with 1113 additions and 0 deletions
@@ -203,6 +203,27 @@ namespace BLL
return respone;
}
public static Model.ResponeData getWorkSectionAndDrawingName(string drawingId)
{
Model.ResponeData respone = new ResponeData();
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
var q = (from x in db.View_QuantityManagement_Base
where x.DrawingId == drawingId && x.State == BLL.Const.Base_Complete
orderby x.Part
select x).FirstOrDefault();
BaseInfoItem res = new BaseInfoItem();
if (q != null)
{
res.BaseInfoId = q.WorkSection;
res.BaseInfoName = q.DrawingName;
}
respone.data = res;
}
return respone;
}
public static Model.ResponeData getProjectContentList(string drawingId, string part)
{
Model.ResponeData respone = new ResponeData();