20250227 更新
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user