自测bug
This commit is contained in:
parent
90258e8168
commit
182cbb8869
@ -255,7 +255,7 @@ public class TrackContentService : ApplicationService
|
|||||||
|
|
||||||
foreach (var item in contentList)
|
foreach (var item in contentList)
|
||||||
{
|
{
|
||||||
if (!item.IsRepeatable && trackDetails?.Any(m => m.TrackCode == item.Code) == true) //跳过已存在轨迹内容
|
if (input.TrackOptionType == TrackOptionType.创建 && !item.IsRepeatable && trackDetails?.Any(m => m.TrackCode == item.Code) == true) //新增时跳过已存在轨迹内容
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!item.IsAllowManuallyCreate && input.TrackOptionType == TrackOptionType.创建) //跳过不允许手动创建的轨迹内容
|
if (!item.IsAllowManuallyCreate && input.TrackOptionType == TrackOptionType.创建) //跳过不允许手动创建的轨迹内容
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user