chore.更新 meojson, 同步接口变动

This commit is contained in:
MistEO
2022-01-25 22:05:22 +08:00
parent eda9724405
commit 4488470733
9 changed files with 950 additions and 867 deletions

View File

@@ -308,7 +308,7 @@ bool asst::InfrastProductionTask::optimal_calc()
// 条件判断,不符合的直接过滤掉
bool meet_condition = true;
for (const auto& [cond, cond_value] : group.conditions) {
if (!Status.exist(cond)) {
if (!Status.contains(cond)) {
continue;
}
// TODO这里做成除了不等于还可计算大于、小于等不同条件的
@@ -625,4 +625,4 @@ bool asst::InfrastProductionTask::facility_list_detect()
}
return true;
}
}