zmw 7 сар өмнө
parent
commit
53831a4683

+ 7 - 4
app/admin/controller/TalentAllowance.php

@@ -367,10 +367,13 @@ class TalentAllowance extends AdminController {
                     case 3:
                         $updCheck["checkState"] = AllowanceStateEnum::REVIEW_PASS;
                         $updCheck["reviewPassTime"] = date("Y-m-d H:i:s");
-                        /*                         * * 在此处需要判断津补贴类型 */
-                        $arrangeList = $this->validateAllowanceType($updCheck);
-                        $taaModel = new TalentAllowanceArrange();
-                        $taaModel->saveAll($arrangeList);
+                        $old = TalentAllowanceApi::getInfoById($id);//20240915增加判定是否人工认定,如果人工认定不再走系统计算
+                        if(strpos($old['recommendAllowanceMsg'],"人工判定") === false){
+                            /*                         * * 在此处需要判断津补贴类型 */
+                            $arrangeList = $this->validateAllowanceType($updCheck);
+                            $taaModel = new TalentAllowanceArrange();
+                            $taaModel->saveAll($arrangeList);
+                        }
                         break;
                     case 2:
                         $updCheck["checkState"] = AllowanceStateEnum::REJECT_TO_FIRST;