<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"><mappernamespace="com.laowu.mapper.PositionItemInfoMapper"><!-- 通用查询映射结果 --><resultMapid="BaseResultMap"type="com.laowu.model.PositionItemInfoDO"><idcolumn="id"property="id"/><resultcolumn="create_date"property="createDate"/><resultcolumn="update_date"property="updateDate"/><resultcolumn="start_salary"property="startSalary"/><resultcolumn="end_salary"property="endSalary"/></resultMap><selectid="positionCounts"parameterType="long"resultType="com.laowu.vo.position.PositionCountsVO"> SELECT t.id, t.position_status, t.require_counts, t.address, t.start_salary, t.end_salary, t2.position_type, t.position_id FROM position_item_info t LEFT JOIN position_dict t2 ON t.position_id = t2.id WHERE t.delete_date IS NULL and t.position_require_id = #{positionRequireId}</select></mapper>