Commit d5082658 authored by Junling Bu's avatar Junling Bu
Browse files

更新第三方插件mybatis-generator-plugin到1.3.2,所以代码都是自动生成。

parent 7a4c6023
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -120,12 +119,11 @@ ...@@ -120,12 +119,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, pic_url, sort_order, floor_price, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_brand from litemall_brand
...@@ -147,11 +145,6 @@ ...@@ -147,11 +145,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -174,18 +167,16 @@ ...@@ -174,18 +167,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, pic_url, sort_order, floor_price, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_brand from litemall_brand
...@@ -408,7 +399,6 @@ ...@@ -408,7 +399,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -425,18 +415,16 @@ ...@@ -425,18 +415,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, pic_url, sort_order, floor_price, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_brand from litemall_brand
...@@ -452,7 +440,6 @@ ...@@ -452,7 +440,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_brand set deleted = 1 update litemall_brand set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -463,7 +450,6 @@ ...@@ -463,7 +450,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_brand set deleted = 1 update litemall_brand set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -164,12 +163,11 @@ ...@@ -164,12 +163,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, goods_sn, goods_name, product_id, price, `number`, specifications, <include refid="Base_Column_List" />
`checked`, pic_url, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_cart from litemall_cart
...@@ -191,11 +189,6 @@ ...@@ -191,11 +189,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -218,18 +211,16 @@ ...@@ -218,18 +211,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, goods_sn, goods_name, product_id, price, `number`, specifications, <include refid="Base_Column_List" />
`checked`, pic_url, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_cart from litemall_cart
...@@ -526,7 +517,6 @@ ...@@ -526,7 +517,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -543,18 +533,16 @@ ...@@ -543,18 +533,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, goods_sn, goods_name, product_id, price, `number`, specifications, <include refid="Base_Column_List" />
`checked`, pic_url, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_cart from litemall_cart
...@@ -570,7 +558,6 @@ ...@@ -570,7 +558,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_cart set deleted = 1 update litemall_cart set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -581,7 +568,6 @@ ...@@ -581,7 +568,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_cart set deleted = 1 update litemall_cart set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -115,7 +115,6 @@ ...@@ -115,7 +115,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -124,12 +123,11 @@ ...@@ -124,12 +123,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, keywords, `desc`, pid, icon_url, pic_url, `level`, sort_order, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_category from litemall_category
...@@ -151,11 +149,6 @@ ...@@ -151,11 +149,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -178,18 +171,16 @@ ...@@ -178,18 +171,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, keywords, `desc`, pid, icon_url, pic_url, `level`, sort_order, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_category from litemall_category
...@@ -456,7 +447,6 @@ ...@@ -456,7 +447,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -473,18 +463,16 @@ ...@@ -473,18 +463,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, keywords, `desc`, pid, icon_url, pic_url, `level`, sort_order, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_category from litemall_category
...@@ -500,7 +488,6 @@ ...@@ -500,7 +488,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_category set deleted = 1 update litemall_category set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -511,7 +498,6 @@ ...@@ -511,7 +498,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_category set deleted = 1 update litemall_category set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -118,11 +117,11 @@ ...@@ -118,11 +117,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, value_id, `type`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_collect from litemall_collect
...@@ -144,11 +143,6 @@ ...@@ -144,11 +143,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -171,17 +165,16 @@ ...@@ -171,17 +165,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, value_id, `type`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_collect from litemall_collect
...@@ -376,7 +369,6 @@ ...@@ -376,7 +369,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -393,17 +385,16 @@ ...@@ -393,17 +385,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, value_id, `type`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_collect from litemall_collect
...@@ -419,7 +410,6 @@ ...@@ -419,7 +410,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_collect set deleted = 1 update litemall_collect set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -430,7 +420,6 @@ ...@@ -430,7 +420,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_collect set deleted = 1 update litemall_collect set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -152,7 +152,6 @@ ...@@ -152,7 +152,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -161,12 +160,11 @@ ...@@ -161,12 +160,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, value_id, `type`, content, user_id, has_picture, pic_urls, star, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_comment from litemall_comment
...@@ -188,11 +186,6 @@ ...@@ -188,11 +186,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -215,18 +208,16 @@ ...@@ -215,18 +208,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, value_id, `type`, content, user_id, has_picture, pic_urls, star, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_comment from litemall_comment
...@@ -479,7 +470,6 @@ ...@@ -479,7 +470,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -496,18 +486,16 @@ ...@@ -496,18 +486,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, value_id, `type`, content, user_id, has_picture, pic_urls, star, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_comment from litemall_comment
...@@ -523,7 +511,6 @@ ...@@ -523,7 +511,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_comment set deleted = 1 update litemall_comment set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -534,7 +521,6 @@ ...@@ -534,7 +521,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_comment set deleted = 1 update litemall_comment set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -162,7 +162,6 @@ ...@@ -162,7 +162,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -171,13 +170,11 @@ ...@@ -171,13 +170,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, tag, total, discount, `min`, `limit`, `type`, `status`, goods_type, <include refid="Base_Column_List" />
goods_value, code, time_type, `days`, start_time, end_time, add_time, update_time,
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon from litemall_coupon
...@@ -199,11 +196,6 @@ ...@@ -199,11 +196,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -226,19 +218,16 @@ ...@@ -226,19 +218,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, tag, total, discount, `min`, `limit`, `type`, `status`, goods_type, <include refid="Base_Column_List" />
goods_value, code, time_type, `days`, start_time, end_time, add_time, update_time,
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon from litemall_coupon
...@@ -623,7 +612,6 @@ ...@@ -623,7 +612,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -640,19 +628,16 @@ ...@@ -640,19 +628,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `name`, `desc`, tag, total, discount, `min`, `limit`, `type`, `status`, goods_type, <include refid="Base_Column_List" />
goods_value, code, time_type, `days`, start_time, end_time, add_time, update_time,
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon from litemall_coupon
...@@ -668,7 +653,6 @@ ...@@ -668,7 +653,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_coupon set deleted = 1 update litemall_coupon set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -679,7 +663,6 @@ ...@@ -679,7 +663,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_coupon set deleted = 1 update litemall_coupon set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -114,7 +114,6 @@ ...@@ -114,7 +114,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -123,12 +122,11 @@ ...@@ -123,12 +122,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, coupon_id, `status`, used_time, start_time, end_time, order_id, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon_user from litemall_coupon_user
...@@ -150,11 +148,6 @@ ...@@ -150,11 +148,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -177,18 +170,16 @@ ...@@ -177,18 +170,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, coupon_id, `status`, used_time, start_time, end_time, order_id, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon_user from litemall_coupon_user
...@@ -441,7 +432,6 @@ ...@@ -441,7 +432,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -458,18 +448,16 @@ ...@@ -458,18 +448,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, coupon_id, `status`, used_time, start_time, end_time, order_id, add_time, <include refid="Base_Column_List" />
update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_coupon_user from litemall_coupon_user
...@@ -485,7 +473,6 @@ ...@@ -485,7 +473,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_coupon_user set deleted = 1 update litemall_coupon_user set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -496,7 +483,6 @@ ...@@ -496,7 +483,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_coupon_user set deleted = 1 update litemall_coupon_user set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -153,7 +153,6 @@ ...@@ -153,7 +153,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -162,12 +161,11 @@ ...@@ -162,12 +161,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, username, mobile, feed_type, content, `status`, has_picture, pic_urls, <include refid="Base_Column_List" />
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_feedback from litemall_feedback
...@@ -189,11 +187,6 @@ ...@@ -189,11 +187,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -216,18 +209,16 @@ ...@@ -216,18 +209,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, username, mobile, feed_type, content, `status`, has_picture, pic_urls, <include refid="Base_Column_List" />
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_feedback from litemall_feedback
...@@ -496,7 +487,6 @@ ...@@ -496,7 +487,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -513,18 +503,16 @@ ...@@ -513,18 +503,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, username, mobile, feed_type, content, `status`, has_picture, pic_urls, <include refid="Base_Column_List" />
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_feedback from litemall_feedback
...@@ -540,7 +528,6 @@ ...@@ -540,7 +528,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_feedback set deleted = 1 update litemall_feedback set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -551,7 +538,6 @@ ...@@ -551,7 +538,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_feedback set deleted = 1 update litemall_feedback set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -108,7 +108,6 @@ ...@@ -108,7 +108,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -117,11 +116,11 @@ ...@@ -117,11 +116,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_footprint from litemall_footprint
...@@ -143,11 +142,6 @@ ...@@ -143,11 +142,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -170,17 +164,16 @@ ...@@ -170,17 +164,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_footprint from litemall_footprint
...@@ -359,7 +352,6 @@ ...@@ -359,7 +352,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -376,17 +368,16 @@ ...@@ -376,17 +368,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, goods_id, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_footprint from litemall_footprint
...@@ -402,7 +393,6 @@ ...@@ -402,7 +393,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_footprint set deleted = 1 update litemall_footprint set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -413,7 +403,6 @@ ...@@ -413,7 +403,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_footprint set deleted = 1 update litemall_footprint set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -118,11 +117,11 @@ ...@@ -118,11 +117,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, `attribute`, `value`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_attribute from litemall_goods_attribute
...@@ -144,11 +143,6 @@ ...@@ -144,11 +143,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -171,17 +165,16 @@ ...@@ -171,17 +165,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, `attribute`, `value`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_attribute from litemall_goods_attribute
...@@ -376,7 +369,6 @@ ...@@ -376,7 +369,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -393,17 +385,16 @@ ...@@ -393,17 +385,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, `attribute`, `value`, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_attribute from litemall_goods_attribute
...@@ -419,7 +410,6 @@ ...@@ -419,7 +410,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_attribute set deleted = 1 update litemall_goods_attribute set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -430,7 +420,6 @@ ...@@ -430,7 +420,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_attribute set deleted = 1 update litemall_goods_attribute set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -196,7 +196,6 @@ ...@@ -196,7 +196,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -205,13 +204,13 @@ ...@@ -205,13 +204,13 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, brief, is_on_sale, <include refid="Base_Column_List" />
sort_order, pic_url, share_url, is_new, is_hot, unit, counter_price, retail_price, ,
add_time, update_time, deleted, detail <include refid="Blob_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods from litemall_goods
...@@ -235,11 +234,6 @@ ...@@ -235,11 +234,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="ResultMapWithBLOBs"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="ResultMapWithBLOBs">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -264,19 +258,18 @@ ...@@ -264,19 +258,18 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, brief, is_on_sale, <include refid="Base_Column_List" />
sort_order, pic_url, share_url, is_new, is_hot, unit, counter_price, retail_price, ,
add_time, update_time, deleted, detail <include refid="Blob_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods from litemall_goods
...@@ -732,7 +725,6 @@ ...@@ -732,7 +725,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -749,7 +741,6 @@ ...@@ -749,7 +741,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -768,19 +759,18 @@ ...@@ -768,19 +759,18 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_sn, `name`, category_id, brand_id, gallery, keywords, brief, is_on_sale, <include refid="Base_Column_List" />
sort_order, pic_url, share_url, is_new, is_hot, unit, counter_price, retail_price, ,
add_time, update_time, deleted, detail <include refid="Blob_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods from litemall_goods
...@@ -796,7 +786,6 @@ ...@@ -796,7 +786,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods set deleted = 1 update litemall_goods set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -807,7 +796,6 @@ ...@@ -807,7 +796,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods set deleted = 1 update litemall_goods set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -149,7 +149,6 @@ ...@@ -149,7 +149,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -158,12 +157,11 @@ ...@@ -158,12 +157,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specifications, price, `number`, url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_product from litemall_goods_product
...@@ -185,11 +183,6 @@ ...@@ -185,11 +183,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -212,18 +205,16 @@ ...@@ -212,18 +205,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specifications, price, `number`, url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_product from litemall_goods_product
...@@ -448,7 +439,6 @@ ...@@ -448,7 +439,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -465,18 +455,16 @@ ...@@ -465,18 +455,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specifications, price, `number`, url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_product from litemall_goods_product
...@@ -492,7 +480,6 @@ ...@@ -492,7 +480,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_product set deleted = 1 update litemall_goods_product set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -503,7 +490,6 @@ ...@@ -503,7 +490,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_product set deleted = 1 update litemall_goods_product set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -110,7 +110,6 @@ ...@@ -110,7 +110,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -119,11 +118,11 @@ ...@@ -119,11 +118,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specification, `value`, pic_url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_specification from litemall_goods_specification
...@@ -145,11 +144,6 @@ ...@@ -145,11 +144,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -172,17 +166,16 @@ ...@@ -172,17 +166,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specification, `value`, pic_url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_specification from litemall_goods_specification
...@@ -391,7 +384,6 @@ ...@@ -391,7 +384,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -408,17 +400,16 @@ ...@@ -408,17 +400,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, specification, `value`, pic_url, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_goods_specification from litemall_goods_specification
...@@ -434,7 +425,6 @@ ...@@ -434,7 +425,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_specification set deleted = 1 update litemall_goods_specification set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -445,7 +435,6 @@ ...@@ -445,7 +435,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_goods_specification set deleted = 1 update litemall_goods_specification set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -114,7 +114,6 @@ ...@@ -114,7 +114,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -123,12 +122,11 @@ ...@@ -123,12 +122,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, groupon_id, rules_id, user_id, creator_user_id, add_time, update_time, <include refid="Base_Column_List" />
share_url, payed, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon from litemall_groupon
...@@ -150,11 +148,6 @@ ...@@ -150,11 +148,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -177,18 +170,16 @@ ...@@ -177,18 +170,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, groupon_id, rules_id, user_id, creator_user_id, add_time, update_time, <include refid="Base_Column_List" />
share_url, payed, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon from litemall_groupon
...@@ -441,7 +432,6 @@ ...@@ -441,7 +432,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -458,18 +448,16 @@ ...@@ -458,18 +448,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, groupon_id, rules_id, user_id, creator_user_id, add_time, update_time, <include refid="Base_Column_List" />
share_url, payed, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon from litemall_groupon
...@@ -485,7 +473,6 @@ ...@@ -485,7 +473,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_groupon set deleted = 1 update litemall_groupon set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -496,7 +483,6 @@ ...@@ -496,7 +483,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_groupon set deleted = 1 update litemall_groupon set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -113,7 +113,6 @@ ...@@ -113,7 +113,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -122,12 +121,11 @@ ...@@ -122,12 +121,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, goods_name, pic_url, discount, discount_member, add_time, update_time, <include refid="Base_Column_List" />
expire_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon_rules from litemall_groupon_rules
...@@ -149,11 +147,6 @@ ...@@ -149,11 +147,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -176,18 +169,16 @@ ...@@ -176,18 +169,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, goods_name, pic_url, discount, discount_member, add_time, update_time, <include refid="Base_Column_List" />
expire_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon_rules from litemall_groupon_rules
...@@ -426,7 +417,6 @@ ...@@ -426,7 +417,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -443,18 +433,16 @@ ...@@ -443,18 +433,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, goods_id, goods_name, pic_url, discount, discount_member, add_time, update_time, <include refid="Base_Column_List" />
expire_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_groupon_rules from litemall_groupon_rules
...@@ -470,7 +458,6 @@ ...@@ -470,7 +458,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_groupon_rules set deleted = 1 update litemall_groupon_rules set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -481,7 +468,6 @@ ...@@ -481,7 +468,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_groupon_rules set deleted = 1 update litemall_groupon_rules set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -108,7 +108,6 @@ ...@@ -108,7 +108,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -117,11 +116,11 @@ ...@@ -117,11 +116,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, question, answer, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_issue from litemall_issue
...@@ -143,11 +142,6 @@ ...@@ -143,11 +142,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -170,17 +164,16 @@ ...@@ -170,17 +164,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, question, answer, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_issue from litemall_issue
...@@ -359,7 +352,6 @@ ...@@ -359,7 +352,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -376,17 +368,16 @@ ...@@ -376,17 +368,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, question, answer, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_issue from litemall_issue
...@@ -402,7 +393,6 @@ ...@@ -402,7 +393,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_issue set deleted = 1 update litemall_issue set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -413,7 +403,6 @@ ...@@ -413,7 +403,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_issue set deleted = 1 update litemall_issue set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -111,7 +111,6 @@ ...@@ -111,7 +111,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -120,11 +119,11 @@ ...@@ -120,11 +119,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, keyword, url, is_hot, is_default, sort_order, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_keyword from litemall_keyword
...@@ -146,11 +145,6 @@ ...@@ -146,11 +145,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -173,17 +167,16 @@ ...@@ -173,17 +167,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, keyword, url, is_hot, is_default, sort_order, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_keyword from litemall_keyword
...@@ -406,7 +399,6 @@ ...@@ -406,7 +399,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -423,17 +415,16 @@ ...@@ -423,17 +415,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, keyword, url, is_hot, is_default, sort_order, add_time, update_time, deleted <include refid="Base_Column_List" />
</otherwise> </otherwise>
</choose> </choose>
from litemall_keyword from litemall_keyword
...@@ -449,7 +440,6 @@ ...@@ -449,7 +440,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_keyword set deleted = 1 update litemall_keyword set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -460,7 +450,6 @@ ...@@ -460,7 +450,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_keyword set deleted = 1 update litemall_keyword set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -114,7 +114,6 @@ ...@@ -114,7 +114,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -123,12 +122,11 @@ ...@@ -123,12 +122,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `admin`, ip, `type`, `action`, `status`, `result`, `comment`, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_log from litemall_log
...@@ -150,11 +148,6 @@ ...@@ -150,11 +148,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -177,18 +170,16 @@ ...@@ -177,18 +170,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `admin`, ip, `type`, `action`, `status`, `result`, `comment`, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_log from litemall_log
...@@ -441,7 +432,6 @@ ...@@ -441,7 +432,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -458,18 +448,16 @@ ...@@ -458,18 +448,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, `admin`, ip, `type`, `action`, `status`, `result`, `comment`, add_time, update_time, <include refid="Base_Column_List" />
deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_log from litemall_log
...@@ -485,7 +473,6 @@ ...@@ -485,7 +473,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_log set deleted = 1 update litemall_log set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -496,7 +483,6 @@ ...@@ -496,7 +483,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_log set deleted = 1 update litemall_log set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -155,7 +155,6 @@ ...@@ -155,7 +155,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -164,12 +163,11 @@ ...@@ -164,12 +163,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, price, specifications, <include refid="Base_Column_List" />
pic_url, `comment`, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order_goods from litemall_order_goods
...@@ -191,11 +189,6 @@ ...@@ -191,11 +189,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -218,18 +211,16 @@ ...@@ -218,18 +211,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, price, specifications, <include refid="Base_Column_List" />
pic_url, `comment`, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order_goods from litemall_order_goods
...@@ -526,7 +517,6 @@ ...@@ -526,7 +517,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -543,18 +533,16 @@ ...@@ -543,18 +533,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, order_id, goods_id, goods_name, goods_sn, product_id, `number`, price, specifications, <include refid="Base_Column_List" />
pic_url, `comment`, add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order_goods from litemall_order_goods
...@@ -570,7 +558,6 @@ ...@@ -570,7 +558,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_order_goods set deleted = 1 update litemall_order_goods set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -581,7 +568,6 @@ ...@@ -581,7 +568,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_order_goods set deleted = 1 update litemall_order_goods set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
...@@ -131,7 +131,6 @@ ...@@ -131,7 +131,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<if test="example.distinct"> <if test="example.distinct">
...@@ -140,14 +139,11 @@ ...@@ -140,14 +139,11 @@
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, message, goods_price, <include refid="Base_Column_List" />
freight_price, coupon_price, integral_price, groupon_price, order_price, actual_price,
pay_id, pay_time, ship_sn, ship_channel, ship_time, confirm_time, comments, end_time,
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order from litemall_order
...@@ -169,11 +165,6 @@ ...@@ -169,11 +165,6 @@
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</select> </select>
<select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap"> <select id="selectByPrimaryKeyWithLogicalDelete" parameterType="map" resultMap="BaseResultMap">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
@project https://github.com/itfsw/mybatis-generator-plugin
-->
<!-- <!--
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.
...@@ -196,20 +187,16 @@ ...@@ -196,20 +187,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, message, goods_price, <include refid="Base_Column_List" />
freight_price, coupon_price, integral_price, groupon_price, order_price, actual_price,
pay_id, pay_time, ship_sn, ship_channel, ship_time, confirm_time, comments, end_time,
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order from litemall_order
...@@ -682,7 +669,6 @@ ...@@ -682,7 +669,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
...@@ -699,20 +685,16 @@ ...@@ -699,20 +685,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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
select select
<choose> <choose>
<when test="selective != null and selective.length &gt; 0"> <when test="selective != null and selective.length &gt; 0">
<foreach collection="selective" item="column" separator=","> <foreach collection="selective" item="column" separator=",">
${column.escapedColumnName} ${column.aliasedEscapedColumnName}
</foreach> </foreach>
</when> </when>
<otherwise> <otherwise>
id, user_id, order_sn, order_status, consignee, mobile, address, message, goods_price, <include refid="Base_Column_List" />
freight_price, coupon_price, integral_price, groupon_price, order_price, actual_price,
pay_id, pay_time, ship_sn, ship_channel, ship_time, confirm_time, comments, end_time,
add_time, update_time, deleted
</otherwise> </otherwise>
</choose> </choose>
from litemall_order from litemall_order
...@@ -728,7 +710,6 @@ ...@@ -728,7 +710,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_order set deleted = 1 update litemall_order set deleted = 1
<if test="_parameter != null"> <if test="_parameter != null">
...@@ -739,7 +720,6 @@ ...@@ -739,7 +720,6 @@
<!-- <!--
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.
@project https://github.com/itfsw/mybatis-generator-plugin
--> -->
update litemall_order set deleted = 1 update litemall_order set deleted = 1
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
......
Supports Markdown
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