From 58f740c6fd9a96fa62f6d8f77f837f4d263f7f0b Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期一, 22 一月 2024 17:01:06 +0800
Subject: [PATCH] 新增网页版核算方式组模块调用方法

---
 WebAPI/Controllers/工资管理/Gy_ClassTimePrjController.cs |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjController.cs" "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjController.cs"
index 9a85be6..452f17b 100644
--- "a/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjController.cs"
+++ "b/WebAPI/Controllers/\345\267\245\350\265\204\347\256\241\347\220\206/Gy_ClassTimePrjController.cs"
@@ -374,6 +374,7 @@
                 oClassTimePrj.oModel.HRemark = list[0].HRemark;
                 oClassTimePrj.oModel.HMakeEmp = HMaker;
                 oClassTimePrj.oModel.HModifyEmp = HMaker;
+                oClassTimePrj.oModel.HCheckEmp = list[0].HCheckEmp;
                 oClassTimePrj.oModel.HUSEORGID = list[0].HUSEORGID;
                 oClassTimePrj.oModel.HCREATEORGID = list[0].HUSEORGID;
                 //
@@ -423,6 +424,14 @@
                 }
                 else
                 {
+                    if(oClassTimePrj.oModel.HCheckEmp!="")
+                    {
+                        objJsonResult.code = "0";
+                        objJsonResult.count = 0;
+                        objJsonResult.Message = "鍗曟嵁宸插鏍革紝涓嶅厑璁镐慨鏀癸紒";
+                        objJsonResult.data = null;
+                        return objJsonResult;
+                    }
                     //淇敼
                     if (oClassTimePrj.ModifyByID(oClassTimePrj.oModel.HItemID))
                     {
@@ -441,10 +450,6 @@
                         return objJsonResult;
                     }
                 }
-
-
-
-
             }
             catch (Exception e)
             {

--
Gitblit v1.9.1