摘要:
select A.USER_NAME, decode(A.SEX, 1, '男', 2, '女')AS SEX, A.HEAD_PORTRAIT, TRUNC(months_between(sysdate, A.BIRTHDAY) / 12) || '岁' AS BIRTHDAY, Z.DISEAS 阅读全文
摘要:
IF v_docType = 3 THEN update T_PATIENT_INFO set USER_NAME =userName ,SEX = v_sex,BIRTHDAY = to_date(brithday,'YYYYMMDD'), ID_NUMBER = idNumber,PROVINC 阅读全文
摘要:
SELECT * FROM ( SELECT TT.*,ROWNUM RN FROM ( SELECT A.CASE_ID AS TREATID, A.TYPE AS TYPE, B.CONTENT AS CONTENT, B.ADD_USER_ID AS ADDUSERID, B.Add_User 阅读全文