Commit fee7d844 authored by neo's avatar neo

[dev] add admin mybaties gen xml

parent f481b37f
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="ParentID" jdbcType="VARCHAR" property="parentID" /> <result column="PARENT_ID" jdbcType="VARCHAR" property="parentId" />
<result column="Name" jdbcType="VARCHAR" property="name" /> <result column="NAME" jdbcType="VARCHAR" property="name" />
<result column="IsActive" jdbcType="TINYINT" property="isActive" /> <result column="IS_ACTIVE" jdbcType="DECIMAL" property="isActive" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, ParentID, Name, IsActive ID, PARENT_ID, "NAME", IS_ACTIVE
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AreaExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AreaExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Area from AREA
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -102,30 +102,30 @@ ...@@ -102,30 +102,30 @@
order by ${orderByClause} order by ${orderByClause}
</if> </if>
</select> </select>
<select id="selectByPrimaryKey" parameterType="String" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Area from AREA
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Area delete from AREA
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AreaExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AreaExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Area delete from AREA
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -135,43 +135,43 @@ ...@@ -135,43 +135,43 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Area (ID, ParentID, Name, insert into AREA (ID, PARENT_ID, "NAME",
IsActive) IS_ACTIVE)
values (#{ID,jdbcType=VARCHAR}, #{parentID,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, values (#{id,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
#{isActive,jdbcType=TINYINT}) #{isActive,jdbcType=DECIMAL})
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Area"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Area">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Area insert into AREA
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="parentID != null"> <if test="parentId != null">
ParentID, PARENT_ID,
</if> </if>
<if test="name != null"> <if test="name != null">
Name, "NAME",
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
IsActive, IS_ACTIVE,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="parentID != null"> <if test="parentId != null">
#{parentID,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR},
</if> </if>
<if test="name != null"> <if test="name != null">
#{name,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
#{isActive,jdbcType=TINYINT}, #{isActive,jdbcType=DECIMAL},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from Area select count(*) from AREA
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -190,19 +190,19 @@ ...@@ -190,19 +190,19 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Area update AREA
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.parentID != null"> <if test="record.parentId != null">
ParentID = #{record.parentID,jdbcType=VARCHAR}, PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
</if> </if>
<if test="record.name != null"> <if test="record.name != null">
Name = #{record.name,jdbcType=VARCHAR}, "NAME" = #{record.name,jdbcType=VARCHAR},
</if> </if>
<if test="record.isActive != null"> <if test="record.isActive != null">
IsActive = #{record.isActive,jdbcType=TINYINT}, IS_ACTIVE = #{record.isActive,jdbcType=DECIMAL},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -214,11 +214,11 @@ ...@@ -214,11 +214,11 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Area update AREA
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
ParentID = #{record.parentID,jdbcType=VARCHAR}, PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
Name = #{record.name,jdbcType=VARCHAR}, "NAME" = #{record.name,jdbcType=VARCHAR},
IsActive = #{record.isActive,jdbcType=TINYINT} IS_ACTIVE = #{record.isActive,jdbcType=DECIMAL}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -228,30 +228,30 @@ ...@@ -228,30 +228,30 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Area update AREA
<set> <set>
<if test="parentID != null"> <if test="parentId != null">
ParentID = #{parentID,jdbcType=VARCHAR}, PARENT_ID = #{parentId,jdbcType=VARCHAR},
</if> </if>
<if test="name != null"> <if test="name != null">
Name = #{name,jdbcType=VARCHAR}, "NAME" = #{name,jdbcType=VARCHAR},
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
IsActive = #{isActive,jdbcType=TINYINT}, IS_ACTIVE = #{isActive,jdbcType=DECIMAL},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Area"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Area">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Area update AREA
set ParentID = #{parentID,jdbcType=VARCHAR}, set PARENT_ID = #{parentId,jdbcType=VARCHAR},
Name = #{name,jdbcType=VARCHAR}, "NAME" = #{name,jdbcType=VARCHAR},
IsActive = #{isActive,jdbcType=TINYINT} IS_ACTIVE = #{isActive,jdbcType=DECIMAL}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AreaExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AreaExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Area from AREA
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="AreaID" jdbcType="VARCHAR" property="areaID" /> <result column="AREA_ID" jdbcType="VARCHAR" property="areaId" />
<result column="RegionID" jdbcType="VARCHAR" property="regionID" /> <result column="REGION_ID" jdbcType="VARCHAR" property="regionId" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, AreaID, RegionID ID, AREA_ID, REGION_ID
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AreaRegionExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AreaRegionExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AreaRegion from AREA_REGION
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -101,30 +101,30 @@ ...@@ -101,30 +101,30 @@
order by ${orderByClause} order by ${orderByClause}
</if> </if>
</select> </select>
<select id="selectByPrimaryKey" parameterType="String" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AreaRegion from AREA_REGION
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from AreaRegion delete from AREA_REGION
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AreaRegionExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AreaRegionExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from AreaRegion delete from AREA_REGION
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -134,9 +134,9 @@ ...@@ -134,9 +134,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into AreaRegion (ID, AreaID, RegionID insert into AREA_REGION (ID, AREA_ID, REGION_ID
) )
values (#{ID,jdbcType=VARCHAR}, #{areaID,jdbcType=VARCHAR}, #{regionID,jdbcType=VARCHAR} values (#{id,jdbcType=VARCHAR}, #{areaId,jdbcType=VARCHAR}, #{regionId,jdbcType=VARCHAR}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.AreaRegion"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.AreaRegion">
...@@ -144,27 +144,27 @@ ...@@ -144,27 +144,27 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into AreaRegion insert into AREA_REGION
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="areaID != null"> <if test="areaId != null">
AreaID, AREA_ID,
</if> </if>
<if test="regionID != null"> <if test="regionId != null">
RegionID, REGION_ID,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="areaID != null"> <if test="areaId != null">
#{areaID,jdbcType=VARCHAR}, #{areaId,jdbcType=VARCHAR},
</if> </if>
<if test="regionID != null"> <if test="regionId != null">
#{regionID,jdbcType=VARCHAR}, #{regionId,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from AreaRegion select count(*) from AREA_REGION
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -183,16 +183,16 @@ ...@@ -183,16 +183,16 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AreaRegion update AREA_REGION
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.areaID != null"> <if test="record.areaId != null">
AreaID = #{record.areaID,jdbcType=VARCHAR}, AREA_ID = #{record.areaId,jdbcType=VARCHAR},
</if> </if>
<if test="record.regionID != null"> <if test="record.regionId != null">
RegionID = #{record.regionID,jdbcType=VARCHAR}, REGION_ID = #{record.regionId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -204,10 +204,10 @@ ...@@ -204,10 +204,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AreaRegion update AREA_REGION
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
AreaID = #{record.areaID,jdbcType=VARCHAR}, AREA_ID = #{record.areaId,jdbcType=VARCHAR},
RegionID = #{record.regionID,jdbcType=VARCHAR} REGION_ID = #{record.regionId,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -217,26 +217,26 @@ ...@@ -217,26 +217,26 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AreaRegion update AREA_REGION
<set> <set>
<if test="areaID != null"> <if test="areaId != null">
AreaID = #{areaID,jdbcType=VARCHAR}, AREA_ID = #{areaId,jdbcType=VARCHAR},
</if> </if>
<if test="regionID != null"> <if test="regionId != null">
RegionID = #{regionID,jdbcType=VARCHAR}, REGION_ID = #{regionId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.AreaRegion"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.AreaRegion">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AreaRegion update AREA_REGION
set AreaID = #{areaID,jdbcType=VARCHAR}, set AREA_ID = #{areaId,jdbcType=VARCHAR},
RegionID = #{regionID,jdbcType=VARCHAR} REGION_ID = #{regionId,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AreaRegionExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AreaRegionExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AreaRegion from AREA_REGION
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="id" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="AssetGroupName" jdbcType="VARCHAR" property="assetgroupname" /> <result column="ASSET_GROUP_NAME" jdbcType="VARCHAR" property="assetGroupName" />
<result column="CreateTime" jdbcType="TIMESTAMP" property="createtime" /> <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
<result column="UpdateTime" jdbcType="TIMESTAMP" property="updatetime" /> <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, AssetGroupName, CreateTime, UpdateTime ID, ASSET_GROUP_NAME, CREATE_TIME, UPDATE_TIME
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AssetGroupExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.AssetGroupExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AssetGroup from ASSET_GROUP
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AssetGroup from ASSET_GROUP
where ID = #{id,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from AssetGroup delete from ASSET_GROUP
where ID = #{id,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AssetGroupExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.AssetGroupExample">
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from AssetGroup delete from ASSET_GROUP
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -135,43 +135,43 @@ ...@@ -135,43 +135,43 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into AssetGroup (ID, AssetGroupName, CreateTime, insert into ASSET_GROUP (ID, ASSET_GROUP_NAME, CREATE_TIME,
UpdateTime) UPDATE_TIME)
values (#{id,jdbcType=VARCHAR}, #{assetgroupname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, values (#{id,jdbcType=VARCHAR}, #{assetGroupName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updatetime,jdbcType=TIMESTAMP}) #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.AssetGroup"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.AssetGroup">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into AssetGroup insert into ASSET_GROUP
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="assetgroupname != null"> <if test="assetGroupName != null">
AssetGroupName, ASSET_GROUP_NAME,
</if> </if>
<if test="createtime != null"> <if test="createTime != null">
CreateTime, CREATE_TIME,
</if> </if>
<if test="updatetime != null"> <if test="updateTime != null">
UpdateTime, UPDATE_TIME,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
#{id,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="assetgroupname != null"> <if test="assetGroupName != null">
#{assetgroupname,jdbcType=VARCHAR}, #{assetGroupName,jdbcType=VARCHAR},
</if> </if>
<if test="createtime != null"> <if test="createTime != null">
#{createtime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="updatetime != null"> <if test="updateTime != null">
#{updatetime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -180,7 +180,7 @@ ...@@ -180,7 +180,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from AssetGroup select count(*) from ASSET_GROUP
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -190,19 +190,19 @@ ...@@ -190,19 +190,19 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AssetGroup update ASSET_GROUP
<set> <set>
<if test="record.id != null"> <if test="record.id != null">
ID = #{record.id,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.assetgroupname != null"> <if test="record.assetGroupName != null">
AssetGroupName = #{record.assetgroupname,jdbcType=VARCHAR}, ASSET_GROUP_NAME = #{record.assetGroupName,jdbcType=VARCHAR},
</if> </if>
<if test="record.createtime != null"> <if test="record.createTime != null">
CreateTime = #{record.createtime,jdbcType=TIMESTAMP}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="record.updatetime != null"> <if test="record.updateTime != null">
UpdateTime = #{record.updatetime,jdbcType=TIMESTAMP}, UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -214,11 +214,11 @@ ...@@ -214,11 +214,11 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AssetGroup update ASSET_GROUP
set ID = #{record.id,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
AssetGroupName = #{record.assetgroupname,jdbcType=VARCHAR}, ASSET_GROUP_NAME = #{record.assetGroupName,jdbcType=VARCHAR},
CreateTime = #{record.createtime,jdbcType=TIMESTAMP}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updatetime,jdbcType=TIMESTAMP} UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -228,16 +228,16 @@ ...@@ -228,16 +228,16 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AssetGroup update ASSET_GROUP
<set> <set>
<if test="assetgroupname != null"> <if test="assetGroupName != null">
AssetGroupName = #{assetgroupname,jdbcType=VARCHAR}, ASSET_GROUP_NAME = #{assetGroupName,jdbcType=VARCHAR},
</if> </if>
<if test="createtime != null"> <if test="createTime != null">
CreateTime = #{createtime,jdbcType=TIMESTAMP}, CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="updatetime != null"> <if test="updateTime != null">
UpdateTime = #{updatetime,jdbcType=TIMESTAMP}, UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
</set> </set>
where ID = #{id,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
...@@ -247,10 +247,10 @@ ...@@ -247,10 +247,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update AssetGroup update ASSET_GROUP
set AssetGroupName = #{assetgroupname,jdbcType=VARCHAR}, set ASSET_GROUP_NAME = #{assetGroupName,jdbcType=VARCHAR},
CreateTime = #{createtime,jdbcType=TIMESTAMP}, CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updatetime,jdbcType=TIMESTAMP} UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
where ID = #{id,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AssetGroupExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.AssetGroupExample" resultMap="BaseResultMap">
...@@ -263,7 +263,7 @@ ...@@ -263,7 +263,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from AssetGroup from ASSET_GROUP
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="Name" jdbcType="VARCHAR" property="name" /> <result column="NAME" jdbcType="VARCHAR" property="name" />
<result column="IsActive" jdbcType="TINYINT" property="isActive" /> <result column="IS_ACTIVE" jdbcType="DECIMAL" property="isActive" />
<result column="CreateTime" jdbcType="TIMESTAMP" property="createTime" /> <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
<result column="UpdateTime" jdbcType="TIMESTAMP" property="updateTime" /> <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, Name, IsActive, CreateTime, UpdateTime ID, "NAME", IS_ACTIVE, CREATE_TIME, UPDATE_TIME
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -95,7 +95,7 @@ ...@@ -95,7 +95,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from BusinessUnit from BUSINESS_UNIT
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -110,23 +110,23 @@ ...@@ -110,23 +110,23 @@
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from BusinessUnit from BUSINESS_UNIT
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from BusinessUnit delete from BUSINESS_UNIT
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from BusinessUnit delete from BUSINESS_UNIT
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -136,9 +136,9 @@ ...@@ -136,9 +136,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into BusinessUnit (ID, Name, IsActive, insert into BUSINESS_UNIT (ID, "NAME", IS_ACTIVE,
CreateTime, UpdateTime) CREATE_TIME, UPDATE_TIME)
values (#{ID,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{isActive,jdbcType=TINYINT}, values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{isActive,jdbcType=DECIMAL},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}) #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.BusinessUnit"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.BusinessUnit">
...@@ -146,33 +146,33 @@ ...@@ -146,33 +146,33 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into BusinessUnit insert into BUSINESS_UNIT
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="name != null"> <if test="name != null">
Name, "NAME",
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
IsActive, IS_ACTIVE,
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
CreateTime, CREATE_TIME,
</if> </if>
<if test="updateTime != null"> <if test="updateTime != null">
UpdateTime, UPDATE_TIME,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="name != null"> <if test="name != null">
#{name,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR},
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
#{isActive,jdbcType=TINYINT}, #{isActive,jdbcType=DECIMAL},
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP}, #{createTime,jdbcType=TIMESTAMP},
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from BusinessUnit select count(*) from BUSINESS_UNIT
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -197,22 +197,22 @@ ...@@ -197,22 +197,22 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update BusinessUnit update BUSINESS_UNIT
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.name != null"> <if test="record.name != null">
Name = #{record.name,jdbcType=VARCHAR}, "NAME" = #{record.name,jdbcType=VARCHAR},
</if> </if>
<if test="record.isActive != null"> <if test="record.isActive != null">
IsActive = #{record.isActive,jdbcType=TINYINT}, IS_ACTIVE = #{record.isActive,jdbcType=DECIMAL},
</if> </if>
<if test="record.createTime != null"> <if test="record.createTime != null">
CreateTime = #{record.createTime,jdbcType=TIMESTAMP}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="record.updateTime != null"> <if test="record.updateTime != null">
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP}, UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -224,12 +224,12 @@ ...@@ -224,12 +224,12 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update BusinessUnit update BUSINESS_UNIT
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
Name = #{record.name,jdbcType=VARCHAR}, "NAME" = #{record.name,jdbcType=VARCHAR},
IsActive = #{record.isActive,jdbcType=TINYINT}, IS_ACTIVE = #{record.isActive,jdbcType=DECIMAL},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP}, CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP} UPDATE_TIME = #{record.updateTime,jdbcType=TIMESTAMP}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -239,34 +239,34 @@ ...@@ -239,34 +239,34 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update BusinessUnit update BUSINESS_UNIT
<set> <set>
<if test="name != null"> <if test="name != null">
Name = #{name,jdbcType=VARCHAR}, "NAME" = #{name,jdbcType=VARCHAR},
</if> </if>
<if test="isActive != null"> <if test="isActive != null">
IsActive = #{isActive,jdbcType=TINYINT}, IS_ACTIVE = #{isActive,jdbcType=DECIMAL},
</if> </if>
<if test="createTime != null"> <if test="createTime != null">
CreateTime = #{createTime,jdbcType=TIMESTAMP}, CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="updateTime != null"> <if test="updateTime != null">
UpdateTime = #{updateTime,jdbcType=TIMESTAMP}, UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.BusinessUnit"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.BusinessUnit">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update BusinessUnit update BUSINESS_UNIT
set Name = #{name,jdbcType=VARCHAR}, set "NAME" = #{name,jdbcType=VARCHAR},
IsActive = #{isActive,jdbcType=TINYINT}, IS_ACTIVE = #{isActive,jdbcType=DECIMAL},
CreateTime = #{createTime,jdbcType=TIMESTAMP}, CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP} UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.BusinessUnitExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from BusinessUnit from BUSINESS_UNIT
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="CacheKey" jdbcType="VARCHAR" property="cacheKey" /> <result column="CACHE_KEY" jdbcType="VARCHAR" property="cacheKey" />
<result column="LastModifyTime" jdbcType="VARCHAR" property="lastModifyTime" /> <result column="LAST_MODIFY_TIME" jdbcType="VARCHAR" property="lastModifyTime" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, CacheKey, LastModifyTime ID, CACHE_KEY, LAST_MODIFY_TIME
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.CacheExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.CacheExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Cache from CACHE
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -108,23 +108,23 @@ ...@@ -108,23 +108,23 @@
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Cache from CACHE
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Cache delete from CACHE
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.CacheExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.CacheExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Cache delete from CACHE
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -134,9 +134,9 @@ ...@@ -134,9 +134,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Cache (ID, CacheKey, LastModifyTime insert into CACHE (ID, CACHE_KEY, LAST_MODIFY_TIME
) )
values (#{ID,jdbcType=VARCHAR}, #{cacheKey,jdbcType=VARCHAR}, #{lastModifyTime,jdbcType=VARCHAR} values (#{id,jdbcType=VARCHAR}, #{cacheKey,jdbcType=VARCHAR}, #{lastModifyTime,jdbcType=VARCHAR}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Cache"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Cache">
...@@ -144,21 +144,21 @@ ...@@ -144,21 +144,21 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Cache insert into CACHE
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="cacheKey != null"> <if test="cacheKey != null">
CacheKey, CACHE_KEY,
</if> </if>
<if test="lastModifyTime != null"> <if test="lastModifyTime != null">
LastModifyTime, LAST_MODIFY_TIME,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="cacheKey != null"> <if test="cacheKey != null">
#{cacheKey,jdbcType=VARCHAR}, #{cacheKey,jdbcType=VARCHAR},
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from Cache select count(*) from CACHE
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -183,16 +183,16 @@ ...@@ -183,16 +183,16 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Cache update CACHE
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.cacheKey != null"> <if test="record.cacheKey != null">
CacheKey = #{record.cacheKey,jdbcType=VARCHAR}, CACHE_KEY = #{record.cacheKey,jdbcType=VARCHAR},
</if> </if>
<if test="record.lastModifyTime != null"> <if test="record.lastModifyTime != null">
LastModifyTime = #{record.lastModifyTime,jdbcType=VARCHAR}, LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -204,10 +204,10 @@ ...@@ -204,10 +204,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Cache update CACHE
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
CacheKey = #{record.cacheKey,jdbcType=VARCHAR}, CACHE_KEY = #{record.cacheKey,jdbcType=VARCHAR},
LastModifyTime = #{record.lastModifyTime,jdbcType=VARCHAR} LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -217,26 +217,26 @@ ...@@ -217,26 +217,26 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Cache update CACHE
<set> <set>
<if test="cacheKey != null"> <if test="cacheKey != null">
CacheKey = #{cacheKey,jdbcType=VARCHAR}, CACHE_KEY = #{cacheKey,jdbcType=VARCHAR},
</if> </if>
<if test="lastModifyTime != null"> <if test="lastModifyTime != null">
LastModifyTime = #{lastModifyTime,jdbcType=VARCHAR}, LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Cache"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Cache">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Cache update CACHE
set CacheKey = #{cacheKey,jdbcType=VARCHAR}, set CACHE_KEY = #{cacheKey,jdbcType=VARCHAR},
LastModifyTime = #{lastModifyTime,jdbcType=VARCHAR} LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.CacheExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.CacheExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Cache from CACHE
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -6,10 +6,9 @@ ...@@ -6,10 +6,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="DECIMAL" property="id" />
<result column="Code" jdbcType="VARCHAR" property="code" /> <result column="FIRST_NAME" jdbcType="VARCHAR" property="firstName" />
<result column="Name" jdbcType="VARCHAR" property="name" /> <result column="LAST_NAME" jdbcType="VARCHAR" property="lastName" />
<result column="EnterPriseAccountID" jdbcType="VARCHAR" property="enterPriseAccountID" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -82,7 +81,7 @@ ...@@ -82,7 +81,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, Code, Name, EnterPriseAccountID ID, FIRST_NAME, LAST_NAME
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.CustomerExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.CustomerExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -94,7 +93,7 @@ ...@@ -94,7 +93,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Customer from CUSTOMER
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -102,30 +101,30 @@ ...@@ -102,30 +101,30 @@
order by ${orderByClause} order by ${orderByClause}
</if> </if>
</select> </select>
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap"> <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Customer from CUSTOMER
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Customer delete from CUSTOMER
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.CustomerExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.CustomerExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from Customer delete from CUSTOMER
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -135,43 +134,37 @@ ...@@ -135,43 +134,37 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Customer (ID, Code, Name, insert into CUSTOMER (ID, FIRST_NAME, LAST_NAME
EnterPriseAccountID) )
values (#{ID,jdbcType=VARCHAR}, #{code,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, values (#{id,jdbcType=DECIMAL}, #{firstName,jdbcType=VARCHAR}, #{lastName,jdbcType=VARCHAR}
#{enterPriseAccountID,jdbcType=VARCHAR}) )
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Customer"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.Customer">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into Customer insert into CUSTOMER
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="code != null"> <if test="firstName != null">
Code, FIRST_NAME,
</if> </if>
<if test="name != null"> <if test="lastName != null">
Name, LAST_NAME,
</if>
<if test="enterPriseAccountID != null">
EnterPriseAccountID,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=DECIMAL},
</if>
<if test="code != null">
#{code,jdbcType=VARCHAR},
</if> </if>
<if test="name != null"> <if test="firstName != null">
#{name,jdbcType=VARCHAR}, #{firstName,jdbcType=VARCHAR},
</if> </if>
<if test="enterPriseAccountID != null"> <if test="lastName != null">
#{enterPriseAccountID,jdbcType=VARCHAR}, #{lastName,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -180,7 +173,7 @@ ...@@ -180,7 +173,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from Customer select count(*) from CUSTOMER
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -190,19 +183,16 @@ ...@@ -190,19 +183,16 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Customer update CUSTOMER
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=DECIMAL},
</if>
<if test="record.code != null">
Code = #{record.code,jdbcType=VARCHAR},
</if> </if>
<if test="record.name != null"> <if test="record.firstName != null">
Name = #{record.name,jdbcType=VARCHAR}, FIRST_NAME = #{record.firstName,jdbcType=VARCHAR},
</if> </if>
<if test="record.enterPriseAccountID != null"> <if test="record.lastName != null">
EnterPriseAccountID = #{record.enterPriseAccountID,jdbcType=VARCHAR}, LAST_NAME = #{record.lastName,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -214,11 +204,10 @@ ...@@ -214,11 +204,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Customer update CUSTOMER
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=DECIMAL},
Code = #{record.code,jdbcType=VARCHAR}, FIRST_NAME = #{record.firstName,jdbcType=VARCHAR},
Name = #{record.name,jdbcType=VARCHAR}, LAST_NAME = #{record.lastName,jdbcType=VARCHAR}
EnterPriseAccountID = #{record.enterPriseAccountID,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -228,30 +217,26 @@ ...@@ -228,30 +217,26 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Customer update CUSTOMER
<set> <set>
<if test="code != null"> <if test="firstName != null">
Code = #{code,jdbcType=VARCHAR}, FIRST_NAME = #{firstName,jdbcType=VARCHAR},
</if> </if>
<if test="name != null"> <if test="lastName != null">
Name = #{name,jdbcType=VARCHAR}, LAST_NAME = #{lastName,jdbcType=VARCHAR},
</if>
<if test="enterPriseAccountID != null">
EnterPriseAccountID = #{enterPriseAccountID,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Customer"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.Customer">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update Customer update CUSTOMER
set Code = #{code,jdbcType=VARCHAR}, set FIRST_NAME = #{firstName,jdbcType=VARCHAR},
Name = #{name,jdbcType=VARCHAR}, LAST_NAME = #{lastName,jdbcType=VARCHAR}
EnterPriseAccountID = #{enterPriseAccountID,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL}
where ID = #{ID,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.CustomerExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.CustomerExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -263,7 +248,25 @@ ...@@ -263,7 +248,25 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from Customer from CUSTOMER
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.CustomerExample" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from CUSTOMER
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
<id column="ID" jdbcType="VARCHAR" property="ID" /> <id column="ID" jdbcType="VARCHAR" property="id" />
<result column="DimensionValueID" jdbcType="VARCHAR" property="dimensionValueID" /> <result column="DIMENSION_VALUE_ID" jdbcType="VARCHAR" property="dimensionValueId" />
<result column="OrganizationID" jdbcType="VARCHAR" property="organizationID" /> <result column="ORGANIZATION_ID" jdbcType="VARCHAR" property="organizationId" />
</resultMap> </resultMap>
<sql id="Example_Where_Clause"> <sql id="Example_Where_Clause">
<!-- <!--
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
ID, DimensionValueID, OrganizationID ID, DIMENSION_VALUE_ID, ORGANIZATION_ID
</sql> </sql>
<select id="selectByExample" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from DimensionValueOrg from DIMENSION_VALUE_ORG
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -108,23 +108,23 @@ ...@@ -108,23 +108,23 @@
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from DimensionValueOrg from DIMENSION_VALUE_ORG
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</select> </select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.String"> <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from DimensionValueOrg delete from DIMENSION_VALUE_ORG
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample"> <delete id="deleteByExample" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
delete from DimensionValueOrg delete from DIMENSION_VALUE_ORG
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -134,9 +134,9 @@ ...@@ -134,9 +134,9 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into DimensionValueOrg (ID, DimensionValueID, OrganizationID insert into DIMENSION_VALUE_ORG (ID, DIMENSION_VALUE_ID, ORGANIZATION_ID
) )
values (#{ID,jdbcType=VARCHAR}, #{dimensionValueID,jdbcType=VARCHAR}, #{organizationID,jdbcType=VARCHAR} values (#{id,jdbcType=VARCHAR}, #{dimensionValueId,jdbcType=VARCHAR}, #{organizationId,jdbcType=VARCHAR}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.DimensionValueOrg"> <insert id="insertSelective" parameterType="pwc.taxtech.atms.entity.DimensionValueOrg">
...@@ -144,27 +144,27 @@ ...@@ -144,27 +144,27 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
insert into DimensionValueOrg insert into DIMENSION_VALUE_ORG
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
ID, ID,
</if> </if>
<if test="dimensionValueID != null"> <if test="dimensionValueId != null">
DimensionValueID, DIMENSION_VALUE_ID,
</if> </if>
<if test="organizationID != null"> <if test="organizationId != null">
OrganizationID, ORGANIZATION_ID,
</if> </if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides=","> <trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="ID != null"> <if test="id != null">
#{ID,jdbcType=VARCHAR}, #{id,jdbcType=VARCHAR},
</if> </if>
<if test="dimensionValueID != null"> <if test="dimensionValueId != null">
#{dimensionValueID,jdbcType=VARCHAR}, #{dimensionValueId,jdbcType=VARCHAR},
</if> </if>
<if test="organizationID != null"> <if test="organizationId != null">
#{organizationID,jdbcType=VARCHAR}, #{organizationId,jdbcType=VARCHAR},
</if> </if>
</trim> </trim>
</insert> </insert>
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
select count(*) from DimensionValueOrg select count(*) from DIMENSION_VALUE_ORG
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
...@@ -183,16 +183,16 @@ ...@@ -183,16 +183,16 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update DimensionValueOrg update DIMENSION_VALUE_ORG
<set> <set>
<if test="record.ID != null"> <if test="record.id != null">
ID = #{record.ID,jdbcType=VARCHAR}, ID = #{record.id,jdbcType=VARCHAR},
</if> </if>
<if test="record.dimensionValueID != null"> <if test="record.dimensionValueId != null">
DimensionValueID = #{record.dimensionValueID,jdbcType=VARCHAR}, DIMENSION_VALUE_ID = #{record.dimensionValueId,jdbcType=VARCHAR},
</if> </if>
<if test="record.organizationID != null"> <if test="record.organizationId != null">
OrganizationID = #{record.organizationID,jdbcType=VARCHAR}, ORGANIZATION_ID = #{record.organizationId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -204,10 +204,10 @@ ...@@ -204,10 +204,10 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update DimensionValueOrg update DIMENSION_VALUE_ORG
set ID = #{record.ID,jdbcType=VARCHAR}, set ID = #{record.id,jdbcType=VARCHAR},
DimensionValueID = #{record.dimensionValueID,jdbcType=VARCHAR}, DIMENSION_VALUE_ID = #{record.dimensionValueId,jdbcType=VARCHAR},
OrganizationID = #{record.organizationID,jdbcType=VARCHAR} ORGANIZATION_ID = #{record.organizationId,jdbcType=VARCHAR}
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
...@@ -217,26 +217,26 @@ ...@@ -217,26 +217,26 @@
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update DimensionValueOrg update DIMENSION_VALUE_ORG
<set> <set>
<if test="dimensionValueID != null"> <if test="dimensionValueId != null">
DimensionValueID = #{dimensionValueID,jdbcType=VARCHAR}, DIMENSION_VALUE_ID = #{dimensionValueId,jdbcType=VARCHAR},
</if> </if>
<if test="organizationID != null"> <if test="organizationId != null">
OrganizationID = #{organizationID,jdbcType=VARCHAR}, ORGANIZATION_ID = #{organizationId,jdbcType=VARCHAR},
</if> </if>
</set> </set>
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.DimensionValueOrg"> <update id="updateByPrimaryKey" parameterType="pwc.taxtech.atms.entity.DimensionValueOrg">
<!-- <!--
WARNING - @mbg.generated WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify. This element is automatically generated by MyBatis Generator, do not modify.
--> -->
update DimensionValueOrg update DIMENSION_VALUE_ORG
set DimensionValueID = #{dimensionValueID,jdbcType=VARCHAR}, set DIMENSION_VALUE_ID = #{dimensionValueId,jdbcType=VARCHAR},
OrganizationID = #{organizationID,jdbcType=VARCHAR} ORGANIZATION_ID = #{organizationId,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR} where ID = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="pwc.taxtech.atms.entity.DimensionValueOrgExample" resultMap="BaseResultMap">
<!-- <!--
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
distinct distinct
</if> </if>
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from DimensionValueOrg from DIMENSION_VALUE_ORG
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment