修改质量验收穿透数据统计

This commit is contained in:
2023-07-21 14:51:05 +08:00
parent 500cb73a84
commit df904cd642
41 changed files with 774 additions and 73 deletions
@@ -572,6 +572,7 @@ namespace FineUIPro.Web.CQMS.WBS
Model.WBS_ControlItemAndCycle controlItemAndCycle = BLL.ControlItemAndCycleService.GetControlItemAndCycleById(controlItemAndCycleId);
controlItemAndCycle.ControlPoint = values.Value<string>("ControlPoint");
controlItemAndCycle.ControlItemDef = values.Value<string>("ControlItemDef");
controlItemAndCycle.CheckAcceptType = GetCheckAcceptTypeId(values.Value<string>("CheckAcceptType"));
controlItemAndCycle.Standard = values.Value<string>("Standard");
controlItemAndCycle.ClauseNo = values.Value<string>("ClauseNo");
try
@@ -792,7 +793,7 @@ namespace FineUIPro.Web.CQMS.WBS
/// </summary>
private void BindGrid()
{
string strSql = @"SELECT ControlItemAndCycleId,ControlItemAndCycleCode,InitControlItemCode,ControlItemContent,ControlPoint,ControlItemDef,HGForms,SHForms,Standard,ClauseNo,CheckNum"
string strSql = @"SELECT ControlItemAndCycleId,ControlItemAndCycleCode,InitControlItemCode,ControlItemContent,ControlPoint,ControlItemDef,HGForms,SHForms,Standard,ClauseNo,CheckNum,case CheckAcceptType when '1' then '关键工序验收' when '2' then '特殊过程验收' when '3' then '隐蔽工程验收' when '4' then '单位工程一次验收' when '5' then '材料进场复验' else '' end as CheckAcceptType "
+ @" FROM WBS_ControlItemAndCycle ";
List<SqlParameter> listStr = new List<SqlParameter>();
strSql += " where WorkPackageId = @WorkPackageId and IsApprove=1 ";