<?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.boco.nbd.wios.flow.mapper.def.HolidayMapper"><resultMapid="BaseResultMap"type="com.boco.nbd.wios.flow.entity.po.HolidayPO"><resultproperty="id"column="id"jdbcType="VARCHAR"/><resultproperty="holidayDate"column="holiday_date"jdbcType="TIMESTAMP"/><resultproperty="holidayDesc"column="holiday_desc"jdbcType="VARCHAR"/><resultproperty="holidayType"column="holiday_type"jdbcType="VARCHAR"/></resultMap><sqlid="Base_Column_List"> id,holiday_date,holiday_desc,holiday_type</sql><selectid="getList"resultType="com.boco.nbd.wios.flow.entity.po.HolidayPO"> select <includerefid="Base_Column_List"/> from t_holiday where holiday_date like #{date}"%" order by holiday_date asc</select><selectid="getListByType"resultType="java.lang.String"> select holiday_date from t_holiday where holiday_type=#{holidayType} and holiday_date like #{date}"%" order by holiday_date asc</select></mapper>