更新项目阶段
This commit is contained in:
parent
e9302ee943
commit
7245a2ae4d
|
@ -113,6 +113,9 @@ class ProjectIndex extends ApiController
|
||||||
$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))) {
|
||||||
|
$this->apiError('存在重复的项目阶段,请重新设置');
|
||||||
|
}
|
||||||
foreach ($flowNameData as $key => $value) {
|
foreach ($flowNameData as $key => $value) {
|
||||||
if (!$value) {
|
if (!$value) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue