|
@@ -157,9 +157,9 @@ public interface UpIdCollectionDao {
|
|
|
" ssrq as oprn_oprt_date, " +
|
|
|
" (select rtrim(isnull(yb_code,9)) from zd_anaesthesia where code = mzff ) as anst_way, " +
|
|
|
" (select top(1) rtrim(name) from a_employee_mi where code = ssys) as oper_dr_name, " +
|
|
|
- " (select yb_code from a_employee_mi where code = ssys) as oper_dr_code, " +
|
|
|
+ " (select rtrim(yb_code) from a_employee_mi where code = ssys) as oper_dr_code, " +
|
|
|
" (select rtrim(name) from a_employee_mi where code = mzys) as anst_dr_name, " +
|
|
|
- " (select yb_code from a_employee_mi where code = mzys) as anst_dr_code " +
|
|
|
+ " (select rtrim(yb_code) from a_employee_mi where code = mzys) as anst_dr_code " +
|
|
|
" from ${tableName} " +
|
|
|
"where zyh = #{patNo} and zycs = #{times} " +
|
|
|
"order by ssxh")
|