refactor(cqms): 整理检查模块并迁移 WBS 服务
清理旧检查页面、服务和接口,补充 WBS 检查服务及数据库脚本,同步工程引用与菜单配置,收敛 CQMS 检查功能的代码组织。
This commit is contained in:
@@ -231,22 +231,17 @@ namespace FineUIPro.Web.common
|
||||
CRectificationRate = 0;
|
||||
CQualifiedRate = 0;
|
||||
FirstPassRate = 0;
|
||||
var getJointCheckDetail = from x in Funs.DB.Check_JointCheckDetail
|
||||
join y in Funs.DB.Check_JointCheck on x.JointCheckId equals y.JointCheckId
|
||||
where y.ProjectId == this.ProjectId
|
||||
select x;
|
||||
var getCheckControl = from x in Funs.DB.Check_CheckControl
|
||||
where x.ProjectId == this.ProjectId
|
||||
select x;
|
||||
///问题总数
|
||||
int AllCount = getJointCheckDetail.Count() + getCheckControl.Count();
|
||||
int AllCount = getCheckControl.Count();
|
||||
this.divCQMSAllNum.InnerHtml = AllCount.ToString();
|
||||
if (AllCount > 0)
|
||||
{
|
||||
///问题完成数
|
||||
var getJOk = getJointCheckDetail.Where(x => x.State == "6").Count();
|
||||
var getCOk = getCheckControl.Where(x => x.State == "7").Count();
|
||||
int CCount = getJOk + getCOk;
|
||||
int CCount = getCOk;
|
||||
this.divCQMSCAllNum.InnerHtml = CCount.ToString();
|
||||
this.divCQMSUCAllNum.InnerHtml = (AllCount - CCount).ToString();
|
||||
if (CCount > 0)
|
||||
|
||||
Reference in New Issue
Block a user