Commit fee7d844 authored by neo's avatar neo

[dev] add admin mybaties gen xml

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