|  |  | 
 |  |  |         <result column="cart_pos" property="cartPos" /> | 
 |  |  |         <result column="qr_code_value" property="qrCodeValue" /> | 
 |  |  |         <result column="loc_no" property="locNo" /> | 
 |  |  |         <result column="lev" property="lev" /> | 
 |  |  |         <result column="lift_no" property="liftNo" /> | 
 |  |  |  | 
 |  |  |     </resultMap> | 
 |  |  |  | 
 |  |  | 
 |  |  |         where 1=1 | 
 |  |  |         and loc_no = #{locNo} | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <select id="queryByQrCode" resultMap="BaseResultMap"> | 
 |  |  |         select top 1 * | 
 |  |  |         from asr_bas_devp | 
 |  |  |         where 1=1 | 
 |  |  |         and qr_code_value = #{qrCodeValue} | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <select id="selectLevSite" resultMap="BaseResultMap"> | 
 |  |  |         select * | 
 |  |  |         from asr_bas_devp | 
 |  |  |         where 1=1 | 
 |  |  |         and dev_no in ('105','106','107','108') | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <select id="selectHasLiftNoByLev" resultMap="BaseResultMap"> | 
 |  |  |         select * | 
 |  |  |         from asr_bas_devp | 
 |  |  |         where 1=1 | 
 |  |  |         and lev = #{lev} | 
 |  |  |         and lift_no is not null | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |     <select id="selectByLevAndLiftNo" resultMap="BaseResultMap"> | 
 |  |  |         select * | 
 |  |  |         from asr_bas_devp | 
 |  |  |         where 1=1 | 
 |  |  |         and lev = #{lev} | 
 |  |  |         and lift_no = #{liftNo} | 
 |  |  |     </select> | 
 |  |  | </mapper> |