refactor(cqms): 整理检查模块并迁移 WBS 服务

清理旧检查页面、服务和接口,补充 WBS 检查服务及数据库脚本,同步工程引用与菜单配置,收敛 CQMS 检查功能的代码组织。
This commit is contained in:
2026-09-20 15:49:27 +08:00
parent 8efe030f47
commit dc19b6d6b6
204 changed files with 319 additions and 59884 deletions
@@ -420,44 +420,5 @@ namespace Mvc.Controllers
//return res;
}
[HttpGet]
public ResponseData<string> getDefaultCode(string projectId, string type, string unitId)
{
ResponseData<string> res = new ResponseData<string>();
res.successful = true;
switch (type)
{
case "checkList":
{
string prefix = BLL.ProjectService.GetProjectByProjectId(projectId).ProjectCode + "-06-CM03-XJ-";
res.resultValue = BLL.SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.Check_CheckControl", "DocCode", prefix);
}
break;
case "jointCheck":
{
string prefix = BLL.ProjectService.GetProjectByProjectId(projectId).ProjectCode + "-GJ-";
res.resultValue = BLL.SQLHelper.RunProcNewId("SpGetNewCode3", "dbo.Check_JointCheck", "JointCheckCode", prefix);
}
break;
case "TechnicalContact":
{
res.resultValue = BLL.SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Check_TechnicalContactList", "Code", projectId);
}
break;
case "design":
{
res.resultValue = BLL.SQLHelper.RunProcNewId2("SpGetNewCode3ByProjectId", "dbo.Check_Design", "DesignCode", projectId);
}
break;
case "spotCheck":
{
string prefix = BLL.ProjectService.GetProjectByProjectId(projectId).ProjectCode + "-06-CM03-XJ-";
res.resultValue = BLL.SQLHelper.RunProcNewId("SpGetNewCode5", "dbo.Check_SpotCheck", "DocCode", prefix);
}
break;
}
return res;
}
}
}