Blame view

backend/uc/src/main/resources/mapper/PwdStrategyMapper.xml 805 Bytes
8ea9c133   陈威   初始化提交
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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>