20250227 更新

This commit is contained in:
2025-02-27 10:05:19 +08:00
parent 8c33fa4e91
commit 9b8e61c508
8 changed files with 15 additions and 16 deletions

View File

@@ -29,6 +29,7 @@
emr.qualitative_result,
emr.quantitative_result,
emr.other_result,
emr.checkout_remark,
emr.create_time,
emr.create_by,
emr.update_time,
@@ -42,6 +43,7 @@
emr.qualitative_result,
emr.quantitative_result,
emr.other_result,
emr.checkout_remark,
em.name,
em.entrustment_id,
em.accept_no,

View File

@@ -365,7 +365,7 @@
where i.id = e.identification_id
) as identification_no,
(
SELECT COUNT(*) FROM b_entrust_material_checkout_result emr WHERE emr.entrust_id = e.id AND qualitative_result != '' AND qualitative_result IS NOT NULL
SELECT COUNT(*) FROM b_entrust_material_checkout_result emr WHERE emr.entrust_id = e.id
) AS checkout_result_count
FROM b_entrustment e