更新项目阶段
This commit is contained in:
parent
7245a2ae4d
commit
06cde8ec97
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue