<?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="org.maxkey.persistence.mapper.AccountsStrategyMapper"><sqlid="where_statement"><iftest="id != null and id != ''"> and id = #{id}</if><iftest="appId != null and appId != ''"> and appid = #{appId}</if><iftest="name != null and name != ''"> and name = #{name}</if></sql><selectid="queryPageResults"parameterType="AccountsStrategy"resultType="AccountsStrategy"> select * from mxk_accounts_strategy where (1=1) <includerefid="where_statement"/></select></mapper>