Explorar o código

chore: auto bump version and changelog [skip ci]

iwt hai 2 días
pai
achega
1b256ea9a1

+ 1 - 1
cfc-backend/src/main/java/com/etotem/cfc/service/impl/HealthPlanServiceImpl.java

@@ -558,7 +558,7 @@ public class HealthPlanServiceImpl implements HealthPlanService {
         com.baomidou.mybatisplus.core.conditions.query.QueryWrapper<HealthPlan> w = new com.baomidou.mybatisplus.core.conditions.query.QueryWrapper<>();
         w.eq("family_id", familyId);
         w.in("status", "draft", "pending_review");
-        if (teacherId != null) w.eq("teacher_id", teacherId);
+        if (teacherId != null) w.and(q -> q.eq("teacher_id", teacherId).or().isNull("teacher_id"));
         w.orderByDesc("created_at");
         return healthPlanMapper.selectList(w);
     }

+ 1 - 1
cfc-web/.last_build_commit

@@ -1 +1 @@
-dfe1064aabd976d17e06bd682aaf17ce5813e171
+e83f88582718810b45d2eae39eefb9c5ad512d0f