|
|
@@ -68,7 +68,7 @@ public interface SiMzDao {
|
|
|
"where pat_no=#{patNo} and times=#{times} ")
|
|
|
void afterRegistrtn(MzPatientInfo p);
|
|
|
|
|
|
- @Select("select feedetlSn=(t.patient_id + '_' + cast(t.times as varchar) + '_' + cast(t.receipt_no as varchar) + '_' + " +
|
|
|
+ @Select("select feedetlSn=(RIGHT(t.patient_id, 6) + '_' + cast(t.times as varchar) + '_' + cast(t.receipt_no as varchar) + '_' + " +
|
|
|
"cast(t.order_no as varchar) + '_' + cast(t.item_no as varchar)), " +
|
|
|
"t.receipt_no as rxno, t.input_date as feeOcurTime, " +
|
|
|
"medListCodg=isnull((select max(national_code) from yp_zd_dict where code=his_item_code), " +
|