From 71b966bbe9f32580b898d8bb1b761ffc05d074ff Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 06 六月 2025 16:19:17 +0800
Subject: [PATCH] 完成 器具保养计划单

---
 WebAPI/Controllers/SBGL/Sb_EquipPatrolCheckPlanBillController.cs |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Controllers/SBGL/Sb_EquipPatrolCheckPlanBillController.cs b/WebAPI/Controllers/SBGL/Sb_EquipPatrolCheckPlanBillController.cs
index f8a407c..717551d 100644
--- a/WebAPI/Controllers/SBGL/Sb_EquipPatrolCheckPlanBillController.cs
+++ b/WebAPI/Controllers/SBGL/Sb_EquipPatrolCheckPlanBillController.cs
@@ -231,8 +231,8 @@
                 {
                     //oItem.HMaker = "";
                     UserName = oItem.HMaker;  //鍒跺崟浜�
-                    oItem.HBillType = "3904";
-                    oItem.HBillSubType = "3904";
+                    oItem.HBillType = "5015";
+                    oItem.HBillSubType = "5015";
 
                     //oItem.HInterID =0;
                     //oItem.HBillNo = "";
@@ -289,7 +289,6 @@
                                                    //HQty = "";//瀹為檯鐢ㄩ噺
                                                    //HQtyMust = "";//鍗曚綅鐢ㄩ噺
                                                    //HRemark = "";//澶囨敞
-
                     oBill.DetailColl.Add(oItemSub);
 
                 }
@@ -298,11 +297,13 @@
                 bool bResult;
                 if (oBill.omodel.HInterID == 0)
                 {
+                    LogService.Write("浣跨敤娣诲姞鍗曟嵁");
                     // bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                     bResult = oBill.AddBill(ref DBUtility.ClsPub.sExeReturnInfo);
                 }
                 else
                 {
+                    LogService.Write("浣跨敤淇敼鍗曟嵁: " + oBill.omodel.HInterID);
                     bResult = oBill.ModifyBill(oBill.omodel.HInterID, ref DBUtility.ClsPub.sExeReturnInfo);
                 }
                 if (bResult)

--
Gitblit v1.9.1