From c5c10aface274870988edaefa1091cc7940fe783 Mon Sep 17 00:00:00 2001 From: yusijie <ysj@hz-kingdee.com> Date: 星期二, 07 十一月 2023 09:24:38 +0800 Subject: [PATCH] (设备分类维护、设备档案维护、设备点检规程单维护、设备保养规程单维护、设备点检计划单维护、设备保养计划单维护、设备点检记录单维护、设备保养记录单维护、设备故障登记单维护、设备维修记录单维护、设备维修验收单维护) 增加 审核 反审核 关闭 反关闭 功能;PDA添加模块及列表(设备维修记录单、设备保养记录单、设备点检记录单) --- WebAPI/Controllers/SCGL/QC_LastPieceCheckBillController.cs | 33 +++++++++++++++++---------------- 1 files changed, 17 insertions(+), 16 deletions(-) diff --git a/WebAPI/Controllers/SCGL/QC_LastPieceCheckBillController.cs b/WebAPI/Controllers/SCGL/QC_LastPieceCheckBillController.cs index cfc5238..851f08f 100644 --- a/WebAPI/Controllers/SCGL/QC_LastPieceCheckBillController.cs +++ b/WebAPI/Controllers/SCGL/QC_LastPieceCheckBillController.cs @@ -325,22 +325,23 @@ string sql = sql1 + sWhere+ " order by hmainid desc "; ds = oCN.RunProcReturn(sql, "h_v_QC_LastPieceCheckBillListDetail"); } - if (ds == null || ds.Tables[0].Rows.Count == 0) - { - objJsonResult.code = "0"; - objJsonResult.count = 0; - objJsonResult.Message = "false锛�"; - objJsonResult.data = null; - return objJsonResult; - } - else - { - objJsonResult.code = "1"; - objJsonResult.count = 1; - objJsonResult.Message = "Sucess锛�"; - objJsonResult.data = ds.Tables[0]; - return objJsonResult; - } + + //if (ds.Tables[0].Rows.Count != 0 || ds != null) + //{ + objJsonResult.code = "1"; + objJsonResult.count = 1; + objJsonResult.Message = "Sucess锛�"; + objJsonResult.data = ds.Tables[0]; + return objJsonResult; + //} + //else + //{ + //objJsonResult.code = "0"; + //objJsonResult.count = 0; + //objJsonResult.Message = "鏃犳暟鎹�"; + //objJsonResult.data = null; + //return objJsonResult; + //} } catch (Exception e) { -- Gitblit v1.9.1