<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`HREMPLOYEEID`, t11.`EMPLOYEENAME` AS `HREMPLOYEENAME`, t1.`HRFAMILYID`, t1.`HRFAMILYNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_HRFAMILY` t1 LEFT JOIN EMPLOYEE t11 ON t1.HREMPLOYEEID = t11.EMPLOYEEID ) t1 where hrfamilyid=#{id}]]>
<![CDATA[select t1.* from (SELECT (TIMESTAMPDIFF(YEAR, t1.`BIRTHDAY`, CURDATE())) AS `AGE`, t1.`BIRTHDAY`, t1.`CERTNUM`, t1.`CERTTYPE`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DUTY`, t1.`EMERGENCYFLAG`, t1.`HREMPLOYEEID`, t11.`EMPLOYEENAME` AS `HREMPLOYEENAME`, t1.`HRFAMILYID`, t1.`HRFAMILYNAME`, t1.`POLITICAL`, t1.`RELATIONSHIP`, t1.`SEX`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`WORKORGANIZATION` FROM `T_HRFAMILY` t1 LEFT JOIN EMPLOYEE t11 ON t1.HREMPLOYEEID = t11.EMPLOYEEID ) t1 where hrfamilyid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`HREMPLOYEEID`, t11.`EMPLOYEENAME` AS `HREMPLOYEENAME`, t1.`HRWORKRECORDID`, t1.`HRWORKRECORDNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_HRWORKRECORD` t1 LEFT JOIN EMPLOYEE t11 ON t1.HREMPLOYEEID = t11.EMPLOYEEID ) t1 where hrworkrecordid=#{id}]]>
<![CDATA[select t1.* from (SELECT t1.`BEGINTIME`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DUTY`, t1.`ENDTIME`, t1.`HREMPLOYEEID`, t11.`EMPLOYEENAME` AS `HREMPLOYEENAME`, t1.`HRWORKRECORDID`, t1.`HRWORKRECORDNAME`, t1.`MAINWORK`, t1.`POST`, t1.`UPDATEDATE`, t1.`UPDATEMAN`, t1.`WORKDEPARTMENT`, t1.`WORKORGANIZATION` FROM `T_HRWORKRECORD` t1 LEFT JOIN EMPLOYEE t11 ON t1.HREMPLOYEEID = t11.EMPLOYEEID ) t1 where hrworkrecordid=#{id}]]>