fxkh-txl-service/src/main/resources/mapper/LoginInfoMapper.xml

25 lines
690 B
XML

<?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.whdc.mapper.LoginInfoMapper">
<select id="page" resultType="com.whdc.model.entity.LoginInfo">
SELECT
*
FROM
LOGIN_INFO
WHERE 1=1
<if test="obj.createId != null and obj.createId != '' ">
AND CREATE_ID = #{obj.createId}
</if>
<if test="obj.type != null and obj.type != '' ">
AND TYPE= #{obj.type}
</if>
</select>
<select id="find" resultType="com.whdc.model.entity.LoginInfo">
</select>
</mapper>