保养方案关联

This commit is contained in:
shih
2026-04-02 16:29:30 +08:00
parent 2108e2a1e2
commit b600436243

View File

@@ -34,7 +34,7 @@ public class ByglByjhLbPlugin implements AroundAdvicePlugin {
return; return;
} }
for (Map<String, Object> record : records) { for (Map<String, Object> record : records) {
String plan_id = lideeYunJiUtils.getMap2Str(record, "plan_id"); String plan_id = lideeYunJiUtils.getMap2Str(record, "id");
Map<String, Object> countByPlanId = byglByjhMapper.getCountByPlanId(plan_id); Map<String, Object> countByPlanId = byglByjhMapper.getCountByPlanId(plan_id);
record.put("plan_count",lideeYunJiUtils.getMap2Long(countByPlanId,"jhs")); record.put("plan_count",lideeYunJiUtils.getMap2Long(countByPlanId,"jhs"));
record.put("completed_count",lideeYunJiUtils.getMap2Long(countByPlanId,"wcs")); record.put("completed_count",lideeYunJiUtils.getMap2Long(countByPlanId,"wcs"));