更新项目阶段

This commit is contained in:
yaooo 2023-11-09 16:31:20 +08:00
parent 7245a2ae4d
commit 06cde8ec97
1 changed files with 3 additions and 0 deletions

View File

@ -103,6 +103,9 @@ class Index extends BaseController
$flow = []; $flow = [];
$time_1 = $param['start_time']; $time_1 = $param['start_time'];
$time_2 = $param['end_time']; $time_2 = $param['end_time'];
if (count($flowNameData) != count(array_unique($flowNameData))) {
return to_assign(1, '存在重复的项目阶段,请重新设置');
}
foreach ($flowNameData as $key => $value) { foreach ($flowNameData as $key => $value) {
if (!$value) { if (!$value) {
continue; continue;