|
@@ -52,7 +52,7 @@ public interface SiZyDao {
|
|
|
* @return 入院基本信息
|
|
|
*/
|
|
|
@Select("select b.psn_no,b.insutype,b.psn_name,isnull(a.yb_register_date,a.admiss_date) as begntime, " +
|
|
|
- "mdtrtCertType='02',b.certno as mdtrtCertNo,certType='1',b.certno,b.med_type, " +
|
|
|
+ "mdtrtCertType=b.psn_cert_type,b.certno as mdtrtCertNo,certType=b.psn_cert_type,b.certno,b.med_type, " +
|
|
|
"rtrim(a.inpatient_no) as iptNo,a.dise_code as diseCodg,a.dise_name, " +
|
|
|
"atddrNo=(select rtrim(isnull(yb_code,code)) from a_employee_mi where code=isnull(a.refer_physician,a.admiss_physician)), " +
|
|
|
"chfpdrName=(select rtrim(name) from a_employee_mi where code=isnull(a.refer_physician,a.admiss_physician)), " +
|