فهرست منبع

增加津补贴中审核不通过可以删除

sugangqiang 8 ماه پیش
والد
کامیت
ab6a736041
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/enterprise/controller/TalentAllowance.php

+ 1 - 1
app/enterprise/controller/TalentAllowance.php

@@ -416,7 +416,7 @@ class TalentAllowance extends EnterpriseController {
     public function delete() {
         $id = $this->request["id"];
         $info = TalentAllowanceApi::getInfoById($id);
-        if ($info["checkState"] != 1) {
+        if ($info["checkState"] != 1 || $info["checkState"] != -1) {
             return new Response(Response::ERROR, "删除失败!此数据已提交审核,无法删除!");
         }
         Db::startTrans();