<resultMapid="personnelDetailsMap"type="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.PersonnelDetailsVO"><idcolumn="ID"property="id"/><resultcolumn="OPERATE_NAME"property="operateName"/><resultcolumn="UNIT_ID"property="unitId"/><resultcolumn="UNIT_NAME"property="unitName"/><resultcolumn="IDCARD"property="idcard"/><resultcolumn="PHOTO_ATT"property="photoAtt"/><resultcolumn="PHONE"property="phone"/><resultcolumn="OPER_STATUS"property="operStatus"/><resultcolumn="IN_TIME"property="inTime"/><resultcolumn="OUT_TIME"property="outTime"/><resultcolumn="PERSON_TYPE_ID"property="personTypeId"/><resultcolumn="PERSON_TYPE_NAME"property="personTypeName"/><resultcolumn="TEAM_ID"property="teamId"/><resultcolumn="TEAM_NAME"property="teamName"/><collectionproperty="certificateList"ofType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperCertificateVO"javaType="list"column="id"select="selectCertificateListByOperateId"/><collectionproperty="resumeList"ofType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperResumeVO"javaType="list"column="id"select="selectResumeListByOperateId"/><collectionproperty="blacklists"ofType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperBlacklistVO"javaType="list"column="id"select="selectBlacklistsByOperateId"/></resultMap><selectid="queryPersonnelDetails"resultMap="personnelDetailsMap"parameterType="java.util.List">select T1.ID,T1.OPERATE_NAME,T1.UNIT_ID,T1.UNIT_NAME,T1.IDCARD,T1.PHOTO_ATT,T1.PHONE,T2.OPER_STATUS,T2.IN_TIME,T2.OUT_TIME,T2.PERSON_TYPE_ID,T2.PERSON_TYPE_NAME,T2.TEAM_ID,T2.TEAM_NAMEfrom XMXL_WL_OPER_ITEM T1left join XMXL_WL_PRO_OPER T2 on T1.ID = T2.OPERATE_IDwhereT1.ID IN<foreachcollection="list"index="index"item="item"open="("separator=","close=")">#{item}</foreach>order by T1.CREATE_TIME DESC</select><selectid="selectCertificateListByOperateId"resultType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperCertificateVO"parameterType="java.lang.String">select T1.ID AS id,T1.OPERATE_ID AS operateId,T1.CERTIFICATE_ATT_ID AS certificateAttId,T1.CERTIFICATE_TYPE AS certificateType,T1.CERTIFICATE_NAME AS certificateName,T1.CERTIFICATE_UNIT AS certificateUnit,T1.ISSUANCE_DATE AS issuanceDate,T1.EFFECTIVE_DATE AS effectiveDate,T1.CREATOR_ID AS creatorId,T1.UPDATOR_ID AS updatorId,T1.CREATE_TIME AS createTime,T1.UPDATE_TIME AS updateTimefrom XMXL_WL_OPER_CERTIFICATE T1where T1.OPERATE_ID = #{id}order by T1.CREATE_TIME DESC</select><selectid="selectResumeListByOperateId"resultType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperResumeVO"parameterType="java.lang.String">select T1.ID AS id,T1.OPERATE_ID AS operateId,T1.RESUME_IN_TIME AS resumeInTime,T1.RESUME_OUT_TIME AS resumeOutTime,T1.RESUME_PRO_NAME AS resumeProName,T1.RESUME_SINGLE_PRO_NAME AS resumeSingleProName,T1.RESUME_PERSONNEL_TYPE AS resumePersonnelType,T1.RESUME_PRO_STATUS AS resumeProStatus,T1.CREATOR_ID AS creatorId,T1.UPDATOR_ID AS updatorId,T1.CREATE_TIME AS createTime,T1.UPDATE_TIME AS updateTimefrom XMXL_WL_OPER_RESUME T1where T1.OPERATE_ID = #{id}order by T1.CREATE_TIME DESC</select><selectid="selectBlacklistsByOperateId"resultType="com.mdxc.zhgd.overview.personnelmanage.personnelmanageapi.model.OperBlacklistVO"parameterType="java.lang.String">select T1.ID AS id,T1.OPERATE_ID AS operateId,T1.BLACKLIST_PRO_NAME AS blacklistProName,T1.BLACKLIST_SINGLE_PRO_NAME AS blacklistSingleProName,T1.BLACKLIST_BID_NAME AS blacklistBidName,T1.KEEPOUT_DATE AS keepoutDate,T1.KEEPOUT_EFFECTIVE_DATE AS keepoutEffectiveDate,T1.KEEPOUT_REASON AS keepoutReason,T1.CREATOR_ID AS creatorId,T1.UPDATOR_ID AS updatorId,T1.CREATE_TIME AS createTime,T1.UPDATE_TIME AS updateTimefrom XMXL_WL_OPER_BLACKLIST T1where T1.OPERATE_ID = #{id}order by T1.CREATE_TIME DESC</select>
生成指定跳转地址二维码图片:
首先将下载好的phpqrcode.php文件放到指定目录内(我这里用的放在public/phpqrcode目录下),准备调用 之后控制器中调用 public function qrcode(){require_once "./phpqrcode/phpqrcode.php&quo…