SELECT * FROM table WHERE type = #{type} AND userId = #{userId} AND empNo = #{empNo}