123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE sqlMap PUBLIC "-//ibatis.apache.org//DTD SQL Map 2.0//EN" "http://ibatis.apache.org/dtd/sql-map-2.dtd" >
- <sqlMap namespace="face_user" >
- <resultMap id="ibatorgenerated_BaseResultMap" class="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- <result column="ID" property="id" jdbcType="INTEGER" />
- <result column="MCID" property="mcid" jdbcType="INTEGER" />
- <result column="YGID" property="ygid" jdbcType="INTEGER" />
- <result column="USERID" property="userid" jdbcType="VARCHAR" />
- <result column="XM" property="xm" jdbcType="VARCHAR" />
- <result column="ZW" property="zw" jdbcType="VARCHAR" />
- <result column="BZ" property="bz" jdbcType="VARCHAR" />
- <result column="XGSJ" property="xgsj" jdbcType="TIMESTAMP" />
- <result column="ZFBZ" property="zfbz" jdbcType="INTEGER" />
- </resultMap>
- <sql id="ibatorgenerated_Example_Where_Clause" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- <iterate property="oredCriteria" conjunction="or" prepend="where" removeFirstPrepend="iterate" >
- <isEqual property="oredCriteria[].valid" compareValue="true" >
- (
- <iterate prepend="and" property="oredCriteria[].criteriaWithoutValue" conjunction="and" >
- $oredCriteria[].criteriaWithoutValue[]$
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithSingleValue" conjunction="and" >
- $oredCriteria[].criteriaWithSingleValue[].condition$
- #oredCriteria[].criteriaWithSingleValue[].value#
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithListValue" conjunction="and" >
- $oredCriteria[].criteriaWithListValue[].condition$
- <iterate property="oredCriteria[].criteriaWithListValue[].values" open="(" close=")" conjunction="," >
- #oredCriteria[].criteriaWithListValue[].values[]#
- </iterate>
- </iterate>
- <iterate prepend="and" property="oredCriteria[].criteriaWithBetweenValue" conjunction="and" >
- $oredCriteria[].criteriaWithBetweenValue[].condition$
- #oredCriteria[].criteriaWithBetweenValue[].values[0]# and
- #oredCriteria[].criteriaWithBetweenValue[].values[1]#
- </iterate>
- )
- </isEqual>
- </iterate>
- </sql>
- <select id="ibatorgenerated_selectByExample" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.face.dataobject.FaceUserExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- select ID, MCID, YGID, USERID, XM, ZW, BZ, XGSJ, ZFBZ
- from face_user
- <isParameterPresent >
- <include refid="face_user.ibatorgenerated_Example_Where_Clause" />
- <isNotNull property="orderByClause" >
- order by $orderByClause$
- </isNotNull>
- <isGreaterEqual property="start" compareValue="0" >
- limit $start$ , $limit$
- </isGreaterEqual>
- </isParameterPresent>
- </select>
- <select id="ibatorgenerated_selectByPrimaryKey" resultMap="ibatorgenerated_BaseResultMap" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- select ID, MCID, YGID, USERID, XM, ZW, BZ, XGSJ, ZFBZ
- from face_user
- where ID = #id:INTEGER#
- </select>
- <delete id="ibatorgenerated_deleteByPrimaryKey" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- delete from face_user
- where ID = #id:INTEGER#
- </delete>
- <delete id="ibatorgenerated_deleteByExample" parameterClass="com.huimv.face.dataobject.FaceUserExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- delete from face_user
- <include refid="face_user.ibatorgenerated_Example_Where_Clause" />
- </delete>
- <insert id="ibatorgenerated_insert" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- insert into face_user (ID, MCID, YGID, USERID, XM, ZW, BZ, XGSJ, ZFBZ)
- values (#id:INTEGER#, #mcid:INTEGER#, #ygid:INTEGER#, #userid:VARCHAR#, #xm:VARCHAR#,
- #zw:VARCHAR#, #bz:VARCHAR#, #xgsj:TIMESTAMP#, #zfbz:INTEGER#)
- </insert>
- <insert id="ibatorgenerated_insertSelective" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- insert into face_user
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- ID
- </isNotNull>
- <isNotNull prepend="," property="mcid" >
- MCID
- </isNotNull>
- <isNotNull prepend="," property="ygid" >
- YGID
- </isNotNull>
- <isNotNull prepend="," property="userid" >
- USERID
- </isNotNull>
- <isNotNull prepend="," property="xm" >
- XM
- </isNotNull>
- <isNotNull prepend="," property="zw" >
- ZW
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- BZ
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- XGSJ
- </isNotNull>
- <isNotNull prepend="," property="zfbz" >
- ZFBZ
- </isNotNull>
- )
- </dynamic>
- values
- <dynamic prepend="(" >
- <isNotNull prepend="," property="id" >
- #id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="mcid" >
- #mcid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="ygid" >
- #ygid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="userid" >
- #userid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xm" >
- #xm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="zw" >
- #zw:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- #bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- #xgsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="zfbz" >
- #zfbz:INTEGER#
- </isNotNull>
- )
- </dynamic>
- </insert>
- <select id="ibatorgenerated_countByExample" parameterClass="com.huimv.face.dataobject.FaceUserExample" resultClass="java.lang.Integer" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- select count(*) from face_user
- <include refid="face_user.ibatorgenerated_Example_Where_Clause" />
- </select>
- <update id="ibatorgenerated_updateByExampleSelective" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- update face_user
- <dynamic prepend="set" >
- <isNotNull prepend="," property="record.id" >
- ID = #record.id:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.mcid" >
- MCID = #record.mcid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.ygid" >
- YGID = #record.ygid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="record.userid" >
- USERID = #record.userid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.xm" >
- XM = #record.xm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.zw" >
- ZW = #record.zw:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.bz" >
- BZ = #record.bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="record.xgsj" >
- XGSJ = #record.xgsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="record.zfbz" >
- ZFBZ = #record.zfbz:INTEGER#
- </isNotNull>
- </dynamic>
- <isParameterPresent >
- <include refid="face_user.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByExample" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- update face_user
- set ID = #record.id:INTEGER#,
- MCID = #record.mcid:INTEGER#,
- YGID = #record.ygid:INTEGER#,
- USERID = #record.userid:VARCHAR#,
- XM = #record.xm:VARCHAR#,
- ZW = #record.zw:VARCHAR#,
- BZ = #record.bz:VARCHAR#,
- XGSJ = #record.xgsj:TIMESTAMP#,
- ZFBZ = #record.zfbz:INTEGER#
- <isParameterPresent >
- <include refid="face_user.ibatorgenerated_Example_Where_Clause" />
- </isParameterPresent>
- </update>
- <update id="ibatorgenerated_updateByPrimaryKeySelective" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- update face_user
- <dynamic prepend="set" >
- <isNotNull prepend="," property="mcid" >
- MCID = #mcid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="ygid" >
- YGID = #ygid:INTEGER#
- </isNotNull>
- <isNotNull prepend="," property="userid" >
- USERID = #userid:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xm" >
- XM = #xm:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="zw" >
- ZW = #zw:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="bz" >
- BZ = #bz:VARCHAR#
- </isNotNull>
- <isNotNull prepend="," property="xgsj" >
- XGSJ = #xgsj:TIMESTAMP#
- </isNotNull>
- <isNotNull prepend="," property="zfbz" >
- ZFBZ = #zfbz:INTEGER#
- </isNotNull>
- </dynamic>
- where ID = #id:INTEGER#
- </update>
- <update id="ibatorgenerated_updateByPrimaryKey" parameterClass="com.huimv.face.dataobject.FaceUser" >
- <!--
- WARNING - This element is automatically generated by Apache iBATIS ibator, do not modify.
- This element was generated on Mon Oct 14 11:19:28 CST 2019.
- -->
- update face_user
- set MCID = #mcid:INTEGER#,
- YGID = #ygid:INTEGER#,
- USERID = #userid:VARCHAR#,
- XM = #xm:VARCHAR#,
- ZW = #zw:VARCHAR#,
- BZ = #bz:VARCHAR#,
- XGSJ = #xgsj:TIMESTAMP#,
- ZFBZ = #zfbz:INTEGER#
- where ID = #id:INTEGER#
- </update>
- </sqlMap>
|