<?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">
<mapper namespace="com.hotent.uc.dao.PwdStrategyDao">
	<resultMap id="PwdStrategy" type="com.hotent.uc.model.PwdStrategy">
		<id property="id" column="ID_" jdbcType="VARCHAR"/>
		<result property="initPwd" column="INIT_PWD_" jdbcType="VARCHAR"/>
		<result property="pwdRule" column="PWD_RULE_" jdbcType="NUMERIC"/>
		<result property="pwdLength" column="PWD_LENGTH_" jdbcType="NUMERIC"/>
		<result property="duration" column="DURATION_" jdbcType="NUMERIC"/>
		<result property="enable" column="ENABLE_" jdbcType="NUMERIC"/>
	</resultMap>
	
	<select id="getDefault" resultMap="PwdStrategy">
		select * from uc_pwd_strategy where id_ = '1'
	</select>
</mapper>