浏览代码

改一下bug

gogs 5 月之前
父节点
当前提交
d037a94385
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/StatisticService.php

+ 1 - 1
app/Service/StatisticService.php

@@ -420,7 +420,7 @@ class StatisticService extends Service
             $item_value = [
                 "code" => $v['code'],
                 "title" => $v['title'],
-                "state" => $v['state'] == 0 ? "进行中" : "完结",
+                "state" => $v['state'] == 3 ? "完结" : "进行中",
                 "employee_salary" => $item_employee_list[$v['id']]['salary']??0,
                 "device_depreciation" => $item_device_list[$v['id']]['depreciation']??0,
                 "expense_type" => "费用化支出",