|
@@ -737,7 +737,7 @@ func GetDialysisCompletionDetail(org_id int64, start_time int64, end_time int64,
|
737
|
737
|
ABS(TIMESTAMPDIFF(MINUTE, MAKETIME(p.dialysis_duration_hour, p.dialysis_duration_minute, 0), MAKETIME(a.actual_treatment_hour, a.actual_treatment_minute, 0))) as diff,
|
738
|
738
|
p.prescription_doctor as doctor,
|
739
|
739
|
o.finish_nurse as nurse,
|
740
|
|
- p.id_card_no as id_card_no
|
|
740
|
+ pp.id_card_no as id_card_no
|
741
|
741
|
FROM
|
742
|
742
|
xt_dialysis_order o
|
743
|
743
|
JOIN
|
|
@@ -767,7 +767,7 @@ func GetDialysisCompletionDetail(org_id int64, start_time int64, end_time int64,
|
767
|
767
|
ABS(TIMESTAMPDIFF(MINUTE, MAKETIME(p.dialysis_duration_hour, p.dialysis_duration_minute, 0), MAKETIME(a.actual_treatment_hour, a.actual_treatment_minute, 0))) as diff,
|
768
|
768
|
p.prescription_doctor as doctor,
|
769
|
769
|
o.finish_nurse as nurse,
|
770
|
|
- p.id_card_no as id_card_no
|
|
770
|
+ pp.id_card_no as id_card_no
|
771
|
771
|
|
772
|
772
|
FROM
|
773
|
773
|
xt_dialysis_order o
|
|
@@ -797,7 +797,7 @@ func GetDialysisCompletionDetail(org_id int64, start_time int64, end_time int64,
|
797
|
797
|
ABS(TIMESTAMPDIFF(MINUTE, MAKETIME(p.dialysis_duration_hour, p.dialysis_duration_minute, 0), MAKETIME(a.actual_treatment_hour, a.actual_treatment_minute, 0))) as diff,
|
798
|
798
|
p.prescription_doctor as doctor,
|
799
|
799
|
o.finish_nurse as nurse,
|
800
|
|
- p.id_card_no as id_card_no
|
|
800
|
+ pp.id_card_no as id_card_no
|
801
|
801
|
FROM
|
802
|
802
|
xt_dialysis_order o
|
803
|
803
|
JOIN
|
|
@@ -826,7 +826,7 @@ func GetDialysisCompletionDetail(org_id int64, start_time int64, end_time int64,
|
826
|
826
|
ABS(TIMESTAMPDIFF(MINUTE, MAKETIME(p.dialysis_duration_hour, p.dialysis_duration_minute, 0), MAKETIME(a.actual_treatment_hour, a.actual_treatment_minute, 0))) as diff,
|
827
|
827
|
p.prescription_doctor as doctor,
|
828
|
828
|
o.finish_nurse as nurse,
|
829
|
|
- p.id_card_no as id_card_no
|
|
829
|
+ pp.id_card_no as id_card_no
|
830
|
830
|
FROM
|
831
|
831
|
xt_dialysis_order o
|
832
|
832
|
JOIN
|