diff --git a/README.md b/README.md
index 90b4670..645c8c3 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,10 @@ Swagger-UI | 文档生产工具
Hibernator-Validator | 验证框架
Vue | 前端框架
Element | 前端模版
+Elasticsearch | 搜索引擎
+RabbitMq | 消息队列
+Redis | 分布式缓存
+MongoDb | noSql数据库
### 框架搭建
功能 | 完成
@@ -89,7 +93,7 @@ JTA事务处理 | ✔
- 查询商品关联信息:商品关联专题和关联优选
- 修改商品信息:商品属性分类及规格不可修改,只支持单个sku的修改、删除、新增;商品属性分类及规格可以修改:修改后同时显示原sku库存及属性分类
-###### 商品分页查询
+###### 商品分页查询(完成)
- 商品的状态:全部商品、已上架、未上架、待审核、未通过 (publishStatus verifyStatus)
- 商品名称(%name%)
- 商品货号(productSn)
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml
index cf3fdf5..30a27f1 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml
@@ -223,4 +223,448 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, help_count, show_status, sort
+
+
+
+
+ delete from cms_help_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_help_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help_category (name, icon, help_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help_category
+
+
+ name,
+
+
+ icon,
+
+
+ help_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{helpCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_help_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ help_count = #{record.helpCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_help_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ help_count = #{record.helpCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_help_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ help_count = #{helpCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ help_count = #{helpCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, help_count, show_status, sort
+
+
+
+
+ delete from cms_help_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_help_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help_category (name, icon, help_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help_category
+
+
+ name,
+
+
+ icon,
+
+
+ help_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{helpCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_help_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ help_count = #{record.helpCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_help_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ help_count = #{record.helpCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_help_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ help_count = #{helpCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ help_count = #{helpCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml
index 233d297..21e18a3 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml
@@ -301,4 +301,604 @@
read_count = #{readCount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, icon, title, show_status, create_time, read_count
+
+
+ content
+
+
+
+
+
+ delete from cms_help
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_help
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help (category_id, icon, title,
+ show_status, create_time, read_count,
+ content)
+ values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
+ #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER},
+ #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help
+
+
+ category_id,
+
+
+ icon,
+
+
+ title,
+
+
+ show_status,
+
+
+ create_time,
+
+
+ read_count,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_help
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_help
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ title = #{record.title,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_help
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ title = #{record.title,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ read_count = #{record.readCount,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_help
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ icon = #{icon,jdbcType=VARCHAR},
+ title = #{title,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ read_count = #{readCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ icon = #{icon,jdbcType=VARCHAR},
+ title = #{title,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ read_count = #{readCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, icon, title, show_status, create_time, read_count
+
+
+ content
+
+
+
+
+
+ delete from cms_help
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_help
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help (category_id, icon, title,
+ show_status, create_time, read_count,
+ content)
+ values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR},
+ #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER},
+ #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_help
+
+
+ category_id,
+
+
+ icon,
+
+
+ title,
+
+
+ show_status,
+
+
+ create_time,
+
+
+ read_count,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_help
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_help
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ title = #{record.title,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_help
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ title = #{record.title,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ read_count = #{record.readCount,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_help
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ icon = #{icon,jdbcType=VARCHAR},
+ title = #{title,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ read_count = #{readCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_help
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ icon = #{icon,jdbcType=VARCHAR},
+ title = #{title,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ read_count = #{readCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml
index aaa20f8..4281b2e 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml
@@ -208,4 +208,418 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, report_type, report_member_name, create_time, report_object, report_status, handle_status,
+ note
+
+
+
+ delete from cms_member_report
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_member_report (report_type, report_member_name, create_time,
+ report_object, report_status, handle_status,
+ note)
+ values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_member_report
+
+
+ report_type,
+
+
+ report_member_name,
+
+
+ create_time,
+
+
+ report_object,
+
+
+ report_status,
+
+
+ handle_status,
+
+
+ note,
+
+
+
+
+ #{reportType,jdbcType=INTEGER},
+
+
+ #{reportMemberName,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{reportObject,jdbcType=VARCHAR},
+
+
+ #{reportStatus,jdbcType=INTEGER},
+
+
+ #{handleStatus,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update cms_member_report
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ report_type = #{record.reportType,jdbcType=INTEGER},
+
+
+ report_member_name = #{record.reportMemberName,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ report_object = #{record.reportObject,jdbcType=VARCHAR},
+
+
+ report_status = #{record.reportStatus,jdbcType=INTEGER},
+
+
+ handle_status = #{record.handleStatus,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update cms_member_report
+ set id = #{record.id,jdbcType=BIGINT},
+ report_type = #{record.reportType,jdbcType=INTEGER},
+ report_member_name = #{record.reportMemberName,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ report_object = #{record.reportObject,jdbcType=VARCHAR},
+ report_status = #{record.reportStatus,jdbcType=INTEGER},
+ handle_status = #{record.handleStatus,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, report_type, report_member_name, create_time, report_object, report_status, handle_status,
+ note
+
+
+
+ delete from cms_member_report
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_member_report (report_type, report_member_name, create_time,
+ report_object, report_status, handle_status,
+ note)
+ values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_member_report
+
+
+ report_type,
+
+
+ report_member_name,
+
+
+ create_time,
+
+
+ report_object,
+
+
+ report_status,
+
+
+ handle_status,
+
+
+ note,
+
+
+
+
+ #{reportType,jdbcType=INTEGER},
+
+
+ #{reportMemberName,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{reportObject,jdbcType=VARCHAR},
+
+
+ #{reportStatus,jdbcType=INTEGER},
+
+
+ #{handleStatus,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update cms_member_report
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ report_type = #{record.reportType,jdbcType=INTEGER},
+
+
+ report_member_name = #{record.reportMemberName,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ report_object = #{record.reportObject,jdbcType=VARCHAR},
+
+
+ report_status = #{record.reportStatus,jdbcType=INTEGER},
+
+
+ handle_status = #{record.handleStatus,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update cms_member_report
+ set id = #{record.id,jdbcType=BIGINT},
+ report_type = #{record.reportType,jdbcType=INTEGER},
+ report_member_name = #{record.reportMemberName,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ report_object = #{record.reportObject,jdbcType=VARCHAR},
+ report_status = #{record.reportStatus,jdbcType=INTEGER},
+ handle_status = #{record.handleStatus,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml
index 09bee43..6e61ea0 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml
@@ -265,4 +265,532 @@
show_status = #{showStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, sub_title, sort, show_status
+
+
+ pic
+
+
+
+
+
+ delete from cms_prefrence_area
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_prefrence_area
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area (name, sub_title, sort,
+ show_status, pic)
+ values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area
+
+
+ name,
+
+
+ sub_title,
+
+
+ sort,
+
+
+ show_status,
+
+
+ pic,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{subTitle,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{pic,jdbcType=VARBINARY},
+
+
+
+
+
+ update cms_prefrence_area
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ pic = #{record.pic,jdbcType=VARBINARY},
+
+
+
+
+
+
+
+ update cms_prefrence_area
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ pic = #{record.pic,jdbcType=VARBINARY}
+
+
+
+
+
+ update cms_prefrence_area
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_prefrence_area
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ pic = #{pic,jdbcType=VARBINARY},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area
+ set name = #{name,jdbcType=VARCHAR},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ pic = #{pic,jdbcType=VARBINARY}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area
+ set name = #{name,jdbcType=VARCHAR},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, sub_title, sort, show_status
+
+
+ pic
+
+
+
+
+
+ delete from cms_prefrence_area
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_prefrence_area
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area (name, sub_title, sort,
+ show_status, pic)
+ values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area
+
+
+ name,
+
+
+ sub_title,
+
+
+ sort,
+
+
+ show_status,
+
+
+ pic,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{subTitle,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{pic,jdbcType=VARBINARY},
+
+
+
+
+
+ update cms_prefrence_area
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ pic = #{record.pic,jdbcType=VARBINARY},
+
+
+
+
+
+
+
+ update cms_prefrence_area
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ pic = #{record.pic,jdbcType=VARBINARY}
+
+
+
+
+
+ update cms_prefrence_area
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_prefrence_area
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ pic = #{pic,jdbcType=VARBINARY},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area
+ set name = #{name,jdbcType=VARCHAR},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ pic = #{pic,jdbcType=VARBINARY}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area
+ set name = #{name,jdbcType=VARCHAR},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml
index 8daaedc..7fc2dfd 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml
@@ -176,4 +176,354 @@
product_id = #{productId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, prefrence_area_id, product_id
+
+
+
+
+ delete from cms_prefrence_area_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_prefrence_area_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id)
+ values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area_product_relation
+
+
+ prefrence_area_id,
+
+
+ product_id,
+
+
+
+
+ #{prefrenceAreaId,jdbcType=BIGINT},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+
+
+ prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area_product_relation
+ set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, prefrence_area_id, product_id
+
+
+
+
+ delete from cms_prefrence_area_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_prefrence_area_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id)
+ values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_prefrence_area_product_relation
+
+
+ prefrence_area_id,
+
+
+ product_id,
+
+
+
+
+ #{prefrenceAreaId,jdbcType=BIGINT},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update cms_prefrence_area_product_relation
+
+
+ prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_prefrence_area_product_relation
+ set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml
index 24c0612..c9cbc76 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml
@@ -223,4 +223,448 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, subject_count, show_status, sort
+
+
+
+
+ delete from cms_subject_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_category (name, icon, subject_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_category
+
+
+ name,
+
+
+ icon,
+
+
+ subject_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{subjectCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_subject_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_subject_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, subject_count, show_status, sort
+
+
+
+
+ delete from cms_subject_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_category (name, icon, subject_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_category
+
+
+ name,
+
+
+ icon,
+
+
+ subject_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{subjectCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_subject_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_subject_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml
index 9ee1fe8..837ac40 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml
@@ -240,4 +240,482 @@
show_status = #{showStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, member_nick_name, member_icon, content, create_time, show_status
+
+
+
+
+ delete from cms_subject_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_comment (subject_id, member_nick_name, member_icon,
+ content, create_time, show_status
+ )
+ values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_comment
+
+
+ subject_id,
+
+
+ member_nick_name,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ show_status,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_subject_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_subject_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject_comment
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_comment
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, member_nick_name, member_icon, content, create_time, show_status
+
+
+
+
+ delete from cms_subject_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_comment (subject_id, member_nick_name, member_icon,
+ content, create_time, show_status
+ )
+ values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_comment
+
+
+ subject_id,
+
+
+ member_nick_name,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ show_status,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_subject_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_subject_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject_comment
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_comment
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml
index 50cde98..16da543 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml
@@ -425,4 +425,852 @@
forward_count = #{forwardCount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, title, pic, product_count, recommend_status, create_time, collect_count,
+ read_count, comment_count, album_pics, description, show_status, forward_count
+
+
+ content
+
+
+
+
+
+ delete from cms_subject
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject (category_id, title, pic,
+ product_count, recommend_status, create_time,
+ collect_count, read_count, comment_count,
+ album_pics, description, show_status,
+ forward_count, content)
+ values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR},
+ #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
+ #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER},
+ #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER},
+ #{forwardCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject
+
+
+ category_id,
+
+
+ title,
+
+
+ pic,
+
+
+ product_count,
+
+
+ recommend_status,
+
+
+ create_time,
+
+
+ collect_count,
+
+
+ read_count,
+
+
+ comment_count,
+
+
+ album_pics,
+
+
+ description,
+
+
+ show_status,
+
+
+ forward_count,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{collectCount,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{commentCount,jdbcType=INTEGER},
+
+
+ #{albumPics,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{forwardCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_subject
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+
+
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ forward_count = #{record.forwardCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ title = #{record.title,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ forward_count = #{record.forwardCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ title = #{record.title,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ forward_count = #{record.forwardCount,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ collect_count = #{collectCount,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ comment_count = #{commentCount,jdbcType=INTEGER},
+
+
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ forward_count = #{forwardCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ title = #{title,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ collect_count = #{collectCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ forward_count = #{forwardCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ title = #{title,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ collect_count = #{collectCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ forward_count = #{forwardCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, title, pic, product_count, recommend_status, create_time, collect_count,
+ read_count, comment_count, album_pics, description, show_status, forward_count
+
+
+ content
+
+
+
+
+
+ delete from cms_subject
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject (category_id, title, pic,
+ product_count, recommend_status, create_time,
+ collect_count, read_count, comment_count,
+ album_pics, description, show_status,
+ forward_count, content)
+ values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR},
+ #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
+ #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER},
+ #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER},
+ #{forwardCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject
+
+
+ category_id,
+
+
+ title,
+
+
+ pic,
+
+
+ product_count,
+
+
+ recommend_status,
+
+
+ create_time,
+
+
+ collect_count,
+
+
+ read_count,
+
+
+ comment_count,
+
+
+ album_pics,
+
+
+ description,
+
+
+ show_status,
+
+
+ forward_count,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{collectCount,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{commentCount,jdbcType=INTEGER},
+
+
+ #{albumPics,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{forwardCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_subject
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+
+
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ forward_count = #{record.forwardCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ title = #{record.title,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ forward_count = #{record.forwardCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ title = #{record.title,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ collect_count = #{record.collectCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ forward_count = #{record.forwardCount,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_subject
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ collect_count = #{collectCount,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ comment_count = #{commentCount,jdbcType=INTEGER},
+
+
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ forward_count = #{forwardCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ title = #{title,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ collect_count = #{collectCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ forward_count = #{forwardCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ title = #{title,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ collect_count = #{collectCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ forward_count = #{forwardCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml
index 3ea1afe..20b1f33 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml
@@ -176,4 +176,354 @@
product_id = #{productId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, product_id
+
+
+
+
+ delete from cms_subject_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_product_relation (subject_id, product_id)
+ values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_product_relation
+
+
+ subject_id,
+
+
+ product_id,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update cms_subject_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update cms_subject_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update cms_subject_product_relation
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_product_relation
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, product_id
+
+
+
+
+ delete from cms_subject_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_subject_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_product_relation (subject_id, product_id)
+ values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_subject_product_relation
+
+
+ subject_id,
+
+
+ product_id,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update cms_subject_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update cms_subject_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update cms_subject_product_relation
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_subject_product_relation
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml
index 89864a4..0fc43c3 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml
@@ -223,4 +223,448 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, subject_count, show_status, sort
+
+
+
+
+ delete from cms_topic_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_category (name, icon, subject_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_category
+
+
+ name,
+
+
+ icon,
+
+
+ subject_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{subjectCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_topic_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_topic_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_topic_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, icon, subject_count, show_status, sort
+
+
+
+
+ delete from cms_topic_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_category (name, icon, subject_count,
+ show_status, sort)
+ values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_category
+
+
+ name,
+
+
+ icon,
+
+
+ subject_count,
+
+
+ show_status,
+
+
+ sort,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{subjectCount,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_topic_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_topic_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ subject_count = #{record.subjectCount,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_topic_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic_category
+ set name = #{name,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ subject_count = #{subjectCount,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml
index b8f6561..ccb9e46 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml
@@ -240,4 +240,482 @@
show_status = #{showStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_nick_name, topic_id, member_icon, content, create_time, show_status
+
+
+
+
+ delete from cms_topic_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_comment (member_nick_name, topic_id, member_icon,
+ content, create_time, show_status
+ )
+ values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_comment
+
+
+ member_nick_name,
+
+
+ topic_id,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ show_status,
+
+
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{topicId,jdbcType=BIGINT},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_topic_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ topic_id = #{record.topicId,jdbcType=BIGINT},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_topic_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ topic_id = #{record.topicId,jdbcType=BIGINT},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_topic_comment
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ topic_id = #{topicId,jdbcType=BIGINT},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic_comment
+ set member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ topic_id = #{topicId,jdbcType=BIGINT},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_nick_name, topic_id, member_icon, content, create_time, show_status
+
+
+
+
+ delete from cms_topic_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_comment (member_nick_name, topic_id, member_icon,
+ content, create_time, show_status
+ )
+ values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic_comment
+
+
+ member_nick_name,
+
+
+ topic_id,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ show_status,
+
+
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{topicId,jdbcType=BIGINT},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update cms_topic_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ topic_id = #{record.topicId,jdbcType=BIGINT},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update cms_topic_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ topic_id = #{record.topicId,jdbcType=BIGINT},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update cms_topic_comment
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ topic_id = #{topicId,jdbcType=BIGINT},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic_comment
+ set member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ topic_id = #{topicId,jdbcType=BIGINT},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml
index c1a1039..cd32f90 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml
@@ -372,4 +372,746 @@
attend_type = #{attendType,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, name, create_time, start_time, end_time, attend_count, attention_count,
+ read_count, award_name, attend_type
+
+
+ content
+
+
+
+
+
+ delete from cms_topic
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic (category_id, name, create_time,
+ start_time, end_time, attend_count,
+ attention_count, read_count, award_name,
+ attend_type, content)
+ values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER},
+ #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR},
+ #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic
+
+
+ category_id,
+
+
+ name,
+
+
+ create_time,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ attend_count,
+
+
+ attention_count,
+
+
+ read_count,
+
+
+ award_name,
+
+
+ attend_type,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{attendCount,jdbcType=INTEGER},
+
+
+ #{attentionCount,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{awardName,jdbcType=VARCHAR},
+
+
+ #{attendType,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_topic
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+
+
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+
+
+ attend_type = #{record.attendType,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_topic
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+ attend_type = #{record.attendType,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_topic
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+ attend_type = #{record.attendType,jdbcType=VARCHAR}
+
+
+
+
+
+ update cms_topic
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ attend_count = #{attendCount,jdbcType=INTEGER},
+
+
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ award_name = #{awardName,jdbcType=VARCHAR},
+
+
+ attend_type = #{attendType,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ award_name = #{awardName,jdbcType=VARCHAR},
+ attend_type = #{attendType,jdbcType=VARCHAR},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ award_name = #{awardName,jdbcType=VARCHAR},
+ attend_type = #{attendType,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, category_id, name, create_time, start_time, end_time, attend_count, attention_count,
+ read_count, award_name, attend_type
+
+
+ content
+
+
+
+
+
+ delete from cms_topic
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from cms_topic
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic (category_id, name, create_time,
+ start_time, end_time, attend_count,
+ attention_count, read_count, award_name,
+ attend_type, content)
+ values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER},
+ #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR},
+ #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into cms_topic
+
+
+ category_id,
+
+
+ name,
+
+
+ create_time,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ attend_count,
+
+
+ attention_count,
+
+
+ read_count,
+
+
+ award_name,
+
+
+ attend_type,
+
+
+ content,
+
+
+
+
+ #{categoryId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{attendCount,jdbcType=INTEGER},
+
+
+ #{attentionCount,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{awardName,jdbcType=VARCHAR},
+
+
+ #{attendType,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update cms_topic
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+
+
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+
+
+ attend_type = #{record.attendType,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update cms_topic
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+ attend_type = #{record.attendType,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update cms_topic
+ set id = #{record.id,jdbcType=BIGINT},
+ category_id = #{record.categoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ attention_count = #{record.attentionCount,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ award_name = #{record.awardName,jdbcType=VARCHAR},
+ attend_type = #{record.attendType,jdbcType=VARCHAR}
+
+
+
+
+
+ update cms_topic
+
+
+ category_id = #{categoryId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ attend_count = #{attendCount,jdbcType=INTEGER},
+
+
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ award_name = #{awardName,jdbcType=VARCHAR},
+
+
+ attend_type = #{attendType,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ award_name = #{awardName,jdbcType=VARCHAR},
+ attend_type = #{attendType,jdbcType=VARCHAR},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update cms_topic
+ set category_id = #{categoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ attention_count = #{attentionCount,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ award_name = #{awardName,jdbcType=VARCHAR},
+ attend_type = #{attendType,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml
index cf36e32..ddafacb 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml
@@ -270,4 +270,542 @@
region = #{region,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, address_name, send_status, receive_status, name, phone, province, city, region
+
+
+
+
+ delete from oms_company_address
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_company_address
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_company_address (address_name, send_status, receive_status,
+ name, phone, province,
+ city, region)
+ values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER},
+ #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
+ #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_company_address
+
+
+ address_name,
+
+
+ send_status,
+
+
+ receive_status,
+
+
+ name,
+
+
+ phone,
+
+
+ province,
+
+
+ city,
+
+
+ region,
+
+
+
+
+ #{addressName,jdbcType=VARCHAR},
+
+
+ #{sendStatus,jdbcType=INTEGER},
+
+
+ #{receiveStatus,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{province,jdbcType=VARCHAR},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{region,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_company_address
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ address_name = #{record.addressName,jdbcType=VARCHAR},
+
+
+ send_status = #{record.sendStatus,jdbcType=INTEGER},
+
+
+ receive_status = #{record.receiveStatus,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ phone = #{record.phone,jdbcType=VARCHAR},
+
+
+ province = #{record.province,jdbcType=VARCHAR},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ region = #{record.region,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_company_address
+ set id = #{record.id,jdbcType=BIGINT},
+ address_name = #{record.addressName,jdbcType=VARCHAR},
+ send_status = #{record.sendStatus,jdbcType=INTEGER},
+ receive_status = #{record.receiveStatus,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ province = #{record.province,jdbcType=VARCHAR},
+ city = #{record.city,jdbcType=VARCHAR},
+ region = #{record.region,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_company_address
+
+
+ address_name = #{addressName,jdbcType=VARCHAR},
+
+
+ send_status = #{sendStatus,jdbcType=INTEGER},
+
+
+ receive_status = #{receiveStatus,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ province = #{province,jdbcType=VARCHAR},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ region = #{region,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_company_address
+ set address_name = #{addressName,jdbcType=VARCHAR},
+ send_status = #{sendStatus,jdbcType=INTEGER},
+ receive_status = #{receiveStatus,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ province = #{province,jdbcType=VARCHAR},
+ city = #{city,jdbcType=VARCHAR},
+ region = #{region,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, address_name, send_status, receive_status, name, phone, province, city, region
+
+
+
+
+ delete from oms_company_address
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_company_address
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_company_address (address_name, send_status, receive_status,
+ name, phone, province,
+ city, region)
+ values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER},
+ #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR},
+ #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_company_address
+
+
+ address_name,
+
+
+ send_status,
+
+
+ receive_status,
+
+
+ name,
+
+
+ phone,
+
+
+ province,
+
+
+ city,
+
+
+ region,
+
+
+
+
+ #{addressName,jdbcType=VARCHAR},
+
+
+ #{sendStatus,jdbcType=INTEGER},
+
+
+ #{receiveStatus,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{province,jdbcType=VARCHAR},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{region,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_company_address
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ address_name = #{record.addressName,jdbcType=VARCHAR},
+
+
+ send_status = #{record.sendStatus,jdbcType=INTEGER},
+
+
+ receive_status = #{record.receiveStatus,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ phone = #{record.phone,jdbcType=VARCHAR},
+
+
+ province = #{record.province,jdbcType=VARCHAR},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ region = #{record.region,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_company_address
+ set id = #{record.id,jdbcType=BIGINT},
+ address_name = #{record.addressName,jdbcType=VARCHAR},
+ send_status = #{record.sendStatus,jdbcType=INTEGER},
+ receive_status = #{record.receiveStatus,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ province = #{record.province,jdbcType=VARCHAR},
+ city = #{record.city,jdbcType=VARCHAR},
+ region = #{record.region,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_company_address
+
+
+ address_name = #{addressName,jdbcType=VARCHAR},
+
+
+ send_status = #{sendStatus,jdbcType=INTEGER},
+
+
+ receive_status = #{receiveStatus,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ province = #{province,jdbcType=VARCHAR},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ region = #{region,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_company_address
+ set address_name = #{addressName,jdbcType=VARCHAR},
+ send_status = #{sendStatus,jdbcType=INTEGER},
+ receive_status = #{receiveStatus,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ province = #{province,jdbcType=VARCHAR},
+ city = #{city,jdbcType=VARCHAR},
+ region = #{region,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml
index fa834e4..ca3ae51 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml
@@ -350,4 +350,702 @@
sp3 = #{sp3,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, order_sn, product_id, proudct_pic, product_name, product_brand, product_sn,
+ product_amount, product_count, product_real_amount, sp1, sp2, sp3
+
+
+
+
+ delete from oms_order_item
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_item
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_item (order_id, order_sn, product_id,
+ proudct_pic, product_name, product_brand,
+ product_sn, product_amount, product_count,
+ product_real_amount, sp1, sp2,
+ sp3)
+ values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT},
+ #{proudctPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR},
+ #{productSn,jdbcType=VARCHAR}, #{productAmount,jdbcType=DECIMAL}, #{productCount,jdbcType=INTEGER},
+ #{productRealAmount,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR},
+ #{sp3,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_item
+
+
+ order_id,
+
+
+ order_sn,
+
+
+ product_id,
+
+
+ proudct_pic,
+
+
+ product_name,
+
+
+ product_brand,
+
+
+ product_sn,
+
+
+ product_amount,
+
+
+ product_count,
+
+
+ product_real_amount,
+
+
+ sp1,
+
+
+ sp2,
+
+
+ sp3,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{proudctPic,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{productBrand,jdbcType=VARCHAR},
+
+
+ #{productSn,jdbcType=VARCHAR},
+
+
+ #{productAmount,jdbcType=DECIMAL},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productRealAmount,jdbcType=DECIMAL},
+
+
+ #{sp1,jdbcType=VARCHAR},
+
+
+ #{sp2,jdbcType=VARCHAR},
+
+
+ #{sp3,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_item
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ proudct_pic = #{record.proudctPic,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
+
+
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+
+
+ product_amount = #{record.productAmount,jdbcType=DECIMAL},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL},
+
+
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_item
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ proudct_pic = #{record.proudctPic,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ product_amount = #{record.productAmount,jdbcType=DECIMAL},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL},
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+ sp3 = #{record.sp3,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_item
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ proudct_pic = #{proudctPic,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ product_brand = #{productBrand,jdbcType=VARCHAR},
+
+
+ product_sn = #{productSn,jdbcType=VARCHAR},
+
+
+ product_amount = #{productAmount,jdbcType=DECIMAL},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_real_amount = #{productRealAmount,jdbcType=DECIMAL},
+
+
+ sp1 = #{sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{sp3,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_item
+ set order_id = #{orderId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ product_id = #{productId,jdbcType=BIGINT},
+ proudct_pic = #{proudctPic,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ product_brand = #{productBrand,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ product_amount = #{productAmount,jdbcType=DECIMAL},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_real_amount = #{productRealAmount,jdbcType=DECIMAL},
+ sp1 = #{sp1,jdbcType=VARCHAR},
+ sp2 = #{sp2,jdbcType=VARCHAR},
+ sp3 = #{sp3,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, order_sn, product_id, proudct_pic, product_name, product_brand, product_sn,
+ product_amount, product_count, product_real_amount, sp1, sp2, sp3
+
+
+
+
+ delete from oms_order_item
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_item
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_item (order_id, order_sn, product_id,
+ proudct_pic, product_name, product_brand,
+ product_sn, product_amount, product_count,
+ product_real_amount, sp1, sp2,
+ sp3)
+ values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT},
+ #{proudctPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR},
+ #{productSn,jdbcType=VARCHAR}, #{productAmount,jdbcType=DECIMAL}, #{productCount,jdbcType=INTEGER},
+ #{productRealAmount,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR},
+ #{sp3,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_item
+
+
+ order_id,
+
+
+ order_sn,
+
+
+ product_id,
+
+
+ proudct_pic,
+
+
+ product_name,
+
+
+ product_brand,
+
+
+ product_sn,
+
+
+ product_amount,
+
+
+ product_count,
+
+
+ product_real_amount,
+
+
+ sp1,
+
+
+ sp2,
+
+
+ sp3,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{proudctPic,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{productBrand,jdbcType=VARCHAR},
+
+
+ #{productSn,jdbcType=VARCHAR},
+
+
+ #{productAmount,jdbcType=DECIMAL},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productRealAmount,jdbcType=DECIMAL},
+
+
+ #{sp1,jdbcType=VARCHAR},
+
+
+ #{sp2,jdbcType=VARCHAR},
+
+
+ #{sp3,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_item
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ proudct_pic = #{record.proudctPic,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
+
+
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+
+
+ product_amount = #{record.productAmount,jdbcType=DECIMAL},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL},
+
+
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_item
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ proudct_pic = #{record.proudctPic,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ product_amount = #{record.productAmount,jdbcType=DECIMAL},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL},
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+ sp3 = #{record.sp3,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_item
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ proudct_pic = #{proudctPic,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ product_brand = #{productBrand,jdbcType=VARCHAR},
+
+
+ product_sn = #{productSn,jdbcType=VARCHAR},
+
+
+ product_amount = #{productAmount,jdbcType=DECIMAL},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_real_amount = #{productRealAmount,jdbcType=DECIMAL},
+
+
+ sp1 = #{sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{sp3,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_item
+ set order_id = #{orderId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ product_id = #{productId,jdbcType=BIGINT},
+ proudct_pic = #{proudctPic,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ product_brand = #{productBrand,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ product_amount = #{productAmount,jdbcType=DECIMAL},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_real_amount = #{productRealAmount,jdbcType=DECIMAL},
+ sp1 = #{sp1,jdbcType=VARCHAR},
+ sp2 = #{sp2,jdbcType=VARCHAR},
+ sp3 = #{sp3,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml
index c2ac7fe..0ca2a5c 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml
@@ -698,4 +698,1398 @@
confirm_status = #{confirmStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, freight_amount,
+ promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type,
+ status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration,
+ growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone,
+ bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province,
+ receiver_city, receiver_region, receiver_detail_address, note, confirm_status
+
+
+
+
+ delete from oms_order
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order (member_id, coupon_id, order_sn,
+ create_time, member_username, total_amount,
+ freight_amount, promotion_amount, integration_amount,
+ coupon_amount, discount_amount, pay_type,
+ source_type, status, order_type,
+ delivery_company, delivery_sn, auto_confirm_day,
+ integration, growth, promotion_info,
+ bill_type, bill_header, bill_content,
+ bill_receiver_phone, bill_receiver_email, receiver_name,
+ receiver_phone, receiver_post_code, receiver_province,
+ receiver_city, receiver_region, receiver_detail_address,
+ note, confirm_status)
+ values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
+ #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL},
+ #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL},
+ #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER},
+ #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER},
+ #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER},
+ #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR},
+ #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR},
+ #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR},
+ #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR},
+ #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR},
+ #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order
+
+
+ member_id,
+
+
+ coupon_id,
+
+
+ order_sn,
+
+
+ create_time,
+
+
+ member_username,
+
+
+ total_amount,
+
+
+ freight_amount,
+
+
+ promotion_amount,
+
+
+ integration_amount,
+
+
+ coupon_amount,
+
+
+ discount_amount,
+
+
+ pay_type,
+
+
+ source_type,
+
+
+ status,
+
+
+ order_type,
+
+
+ delivery_company,
+
+
+ delivery_sn,
+
+
+ auto_confirm_day,
+
+
+ integration,
+
+
+ growth,
+
+
+ promotion_info,
+
+
+ bill_type,
+
+
+ bill_header,
+
+
+ bill_content,
+
+
+ bill_receiver_phone,
+
+
+ bill_receiver_email,
+
+
+ receiver_name,
+
+
+ receiver_phone,
+
+
+ receiver_post_code,
+
+
+ receiver_province,
+
+
+ receiver_city,
+
+
+ receiver_region,
+
+
+ receiver_detail_address,
+
+
+ note,
+
+
+ confirm_status,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{memberUsername,jdbcType=VARCHAR},
+
+
+ #{totalAmount,jdbcType=DECIMAL},
+
+
+ #{freightAmount,jdbcType=DECIMAL},
+
+
+ #{promotionAmount,jdbcType=DECIMAL},
+
+
+ #{integrationAmount,jdbcType=DECIMAL},
+
+
+ #{couponAmount,jdbcType=DECIMAL},
+
+
+ #{discountAmount,jdbcType=DECIMAL},
+
+
+ #{payType,jdbcType=INTEGER},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{orderType,jdbcType=INTEGER},
+
+
+ #{deliveryCompany,jdbcType=VARCHAR},
+
+
+ #{deliverySn,jdbcType=VARCHAR},
+
+
+ #{autoConfirmDay,jdbcType=INTEGER},
+
+
+ #{integration,jdbcType=INTEGER},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{promotionInfo,jdbcType=VARCHAR},
+
+
+ #{billType,jdbcType=INTEGER},
+
+
+ #{billHeader,jdbcType=VARCHAR},
+
+
+ #{billContent,jdbcType=VARCHAR},
+
+
+ #{billReceiverPhone,jdbcType=VARCHAR},
+
+
+ #{billReceiverEmail,jdbcType=VARCHAR},
+
+
+ #{receiverName,jdbcType=VARCHAR},
+
+
+ #{receiverPhone,jdbcType=VARCHAR},
+
+
+ #{receiverPostCode,jdbcType=VARCHAR},
+
+
+ #{receiverProvince,jdbcType=VARCHAR},
+
+
+ #{receiverCity,jdbcType=VARCHAR},
+
+
+ #{receiverRegion,jdbcType=VARCHAR},
+
+
+ #{receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{confirmStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+
+
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+
+
+ freight_amount = #{record.freightAmount,jdbcType=DECIMAL},
+
+
+ promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL},
+
+
+ integration_amount = #{record.integrationAmount,jdbcType=DECIMAL},
+
+
+ coupon_amount = #{record.couponAmount,jdbcType=DECIMAL},
+
+
+ discount_amount = #{record.discountAmount,jdbcType=DECIMAL},
+
+
+ pay_type = #{record.payType,jdbcType=INTEGER},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ order_type = #{record.orderType,jdbcType=INTEGER},
+
+
+ delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR},
+
+
+ delivery_sn = #{record.deliverySn,jdbcType=VARCHAR},
+
+
+ auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER},
+
+
+ integration = #{record.integration,jdbcType=INTEGER},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ promotion_info = #{record.promotionInfo,jdbcType=VARCHAR},
+
+
+ bill_type = #{record.billType,jdbcType=INTEGER},
+
+
+ bill_header = #{record.billHeader,jdbcType=VARCHAR},
+
+
+ bill_content = #{record.billContent,jdbcType=VARCHAR},
+
+
+ bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR},
+
+
+ bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR},
+
+
+ receiver_name = #{record.receiverName,jdbcType=VARCHAR},
+
+
+ receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR},
+
+
+ receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR},
+
+
+ receiver_province = #{record.receiverProvince,jdbcType=VARCHAR},
+
+
+ receiver_city = #{record.receiverCity,jdbcType=VARCHAR},
+
+
+ receiver_region = #{record.receiverRegion,jdbcType=VARCHAR},
+
+
+ receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ confirm_status = #{record.confirmStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+ freight_amount = #{record.freightAmount,jdbcType=DECIMAL},
+ promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL},
+ integration_amount = #{record.integrationAmount,jdbcType=DECIMAL},
+ coupon_amount = #{record.couponAmount,jdbcType=DECIMAL},
+ discount_amount = #{record.discountAmount,jdbcType=DECIMAL},
+ pay_type = #{record.payType,jdbcType=INTEGER},
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+ status = #{record.status,jdbcType=INTEGER},
+ order_type = #{record.orderType,jdbcType=INTEGER},
+ delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR},
+ delivery_sn = #{record.deliverySn,jdbcType=VARCHAR},
+ auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER},
+ integration = #{record.integration,jdbcType=INTEGER},
+ growth = #{record.growth,jdbcType=INTEGER},
+ promotion_info = #{record.promotionInfo,jdbcType=VARCHAR},
+ bill_type = #{record.billType,jdbcType=INTEGER},
+ bill_header = #{record.billHeader,jdbcType=VARCHAR},
+ bill_content = #{record.billContent,jdbcType=VARCHAR},
+ bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR},
+ bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR},
+ receiver_name = #{record.receiverName,jdbcType=VARCHAR},
+ receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR},
+ receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR},
+ receiver_province = #{record.receiverProvince,jdbcType=VARCHAR},
+ receiver_city = #{record.receiverCity,jdbcType=VARCHAR},
+ receiver_region = #{record.receiverRegion,jdbcType=VARCHAR},
+ receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ confirm_status = #{record.confirmStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+
+
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+
+
+ freight_amount = #{freightAmount,jdbcType=DECIMAL},
+
+
+ promotion_amount = #{promotionAmount,jdbcType=DECIMAL},
+
+
+ integration_amount = #{integrationAmount,jdbcType=DECIMAL},
+
+
+ coupon_amount = #{couponAmount,jdbcType=DECIMAL},
+
+
+ discount_amount = #{discountAmount,jdbcType=DECIMAL},
+
+
+ pay_type = #{payType,jdbcType=INTEGER},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ order_type = #{orderType,jdbcType=INTEGER},
+
+
+ delivery_company = #{deliveryCompany,jdbcType=VARCHAR},
+
+
+ delivery_sn = #{deliverySn,jdbcType=VARCHAR},
+
+
+ auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER},
+
+
+ integration = #{integration,jdbcType=INTEGER},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ promotion_info = #{promotionInfo,jdbcType=VARCHAR},
+
+
+ bill_type = #{billType,jdbcType=INTEGER},
+
+
+ bill_header = #{billHeader,jdbcType=VARCHAR},
+
+
+ bill_content = #{billContent,jdbcType=VARCHAR},
+
+
+ bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR},
+
+
+ bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR},
+
+
+ receiver_name = #{receiverName,jdbcType=VARCHAR},
+
+
+ receiver_phone = #{receiverPhone,jdbcType=VARCHAR},
+
+
+ receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR},
+
+
+ receiver_province = #{receiverProvince,jdbcType=VARCHAR},
+
+
+ receiver_city = #{receiverCity,jdbcType=VARCHAR},
+
+
+ receiver_region = #{receiverRegion,jdbcType=VARCHAR},
+
+
+ receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ confirm_status = #{confirmStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order
+ set member_id = #{memberId,jdbcType=BIGINT},
+ coupon_id = #{couponId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+ freight_amount = #{freightAmount,jdbcType=DECIMAL},
+ promotion_amount = #{promotionAmount,jdbcType=DECIMAL},
+ integration_amount = #{integrationAmount,jdbcType=DECIMAL},
+ coupon_amount = #{couponAmount,jdbcType=DECIMAL},
+ discount_amount = #{discountAmount,jdbcType=DECIMAL},
+ pay_type = #{payType,jdbcType=INTEGER},
+ source_type = #{sourceType,jdbcType=INTEGER},
+ status = #{status,jdbcType=INTEGER},
+ order_type = #{orderType,jdbcType=INTEGER},
+ delivery_company = #{deliveryCompany,jdbcType=VARCHAR},
+ delivery_sn = #{deliverySn,jdbcType=VARCHAR},
+ auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER},
+ integration = #{integration,jdbcType=INTEGER},
+ growth = #{growth,jdbcType=INTEGER},
+ promotion_info = #{promotionInfo,jdbcType=VARCHAR},
+ bill_type = #{billType,jdbcType=INTEGER},
+ bill_header = #{billHeader,jdbcType=VARCHAR},
+ bill_content = #{billContent,jdbcType=VARCHAR},
+ bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR},
+ bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR},
+ receiver_name = #{receiverName,jdbcType=VARCHAR},
+ receiver_phone = #{receiverPhone,jdbcType=VARCHAR},
+ receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR},
+ receiver_province = #{receiverProvince,jdbcType=VARCHAR},
+ receiver_city = #{receiverCity,jdbcType=VARCHAR},
+ receiver_region = #{receiverRegion,jdbcType=VARCHAR},
+ receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ confirm_status = #{confirmStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, freight_amount,
+ promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type,
+ status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration,
+ growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone,
+ bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province,
+ receiver_city, receiver_region, receiver_detail_address, note, confirm_status
+
+
+
+
+ delete from oms_order
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order (member_id, coupon_id, order_sn,
+ create_time, member_username, total_amount,
+ freight_amount, promotion_amount, integration_amount,
+ coupon_amount, discount_amount, pay_type,
+ source_type, status, order_type,
+ delivery_company, delivery_sn, auto_confirm_day,
+ integration, growth, promotion_info,
+ bill_type, bill_header, bill_content,
+ bill_receiver_phone, bill_receiver_email, receiver_name,
+ receiver_phone, receiver_post_code, receiver_province,
+ receiver_city, receiver_region, receiver_detail_address,
+ note, confirm_status)
+ values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
+ #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL},
+ #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL},
+ #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER},
+ #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER},
+ #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER},
+ #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR},
+ #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR},
+ #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR},
+ #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR},
+ #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR},
+ #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order
+
+
+ member_id,
+
+
+ coupon_id,
+
+
+ order_sn,
+
+
+ create_time,
+
+
+ member_username,
+
+
+ total_amount,
+
+
+ freight_amount,
+
+
+ promotion_amount,
+
+
+ integration_amount,
+
+
+ coupon_amount,
+
+
+ discount_amount,
+
+
+ pay_type,
+
+
+ source_type,
+
+
+ status,
+
+
+ order_type,
+
+
+ delivery_company,
+
+
+ delivery_sn,
+
+
+ auto_confirm_day,
+
+
+ integration,
+
+
+ growth,
+
+
+ promotion_info,
+
+
+ bill_type,
+
+
+ bill_header,
+
+
+ bill_content,
+
+
+ bill_receiver_phone,
+
+
+ bill_receiver_email,
+
+
+ receiver_name,
+
+
+ receiver_phone,
+
+
+ receiver_post_code,
+
+
+ receiver_province,
+
+
+ receiver_city,
+
+
+ receiver_region,
+
+
+ receiver_detail_address,
+
+
+ note,
+
+
+ confirm_status,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{memberUsername,jdbcType=VARCHAR},
+
+
+ #{totalAmount,jdbcType=DECIMAL},
+
+
+ #{freightAmount,jdbcType=DECIMAL},
+
+
+ #{promotionAmount,jdbcType=DECIMAL},
+
+
+ #{integrationAmount,jdbcType=DECIMAL},
+
+
+ #{couponAmount,jdbcType=DECIMAL},
+
+
+ #{discountAmount,jdbcType=DECIMAL},
+
+
+ #{payType,jdbcType=INTEGER},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{orderType,jdbcType=INTEGER},
+
+
+ #{deliveryCompany,jdbcType=VARCHAR},
+
+
+ #{deliverySn,jdbcType=VARCHAR},
+
+
+ #{autoConfirmDay,jdbcType=INTEGER},
+
+
+ #{integration,jdbcType=INTEGER},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{promotionInfo,jdbcType=VARCHAR},
+
+
+ #{billType,jdbcType=INTEGER},
+
+
+ #{billHeader,jdbcType=VARCHAR},
+
+
+ #{billContent,jdbcType=VARCHAR},
+
+
+ #{billReceiverPhone,jdbcType=VARCHAR},
+
+
+ #{billReceiverEmail,jdbcType=VARCHAR},
+
+
+ #{receiverName,jdbcType=VARCHAR},
+
+
+ #{receiverPhone,jdbcType=VARCHAR},
+
+
+ #{receiverPostCode,jdbcType=VARCHAR},
+
+
+ #{receiverProvince,jdbcType=VARCHAR},
+
+
+ #{receiverCity,jdbcType=VARCHAR},
+
+
+ #{receiverRegion,jdbcType=VARCHAR},
+
+
+ #{receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{confirmStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+
+
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+
+
+ freight_amount = #{record.freightAmount,jdbcType=DECIMAL},
+
+
+ promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL},
+
+
+ integration_amount = #{record.integrationAmount,jdbcType=DECIMAL},
+
+
+ coupon_amount = #{record.couponAmount,jdbcType=DECIMAL},
+
+
+ discount_amount = #{record.discountAmount,jdbcType=DECIMAL},
+
+
+ pay_type = #{record.payType,jdbcType=INTEGER},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ order_type = #{record.orderType,jdbcType=INTEGER},
+
+
+ delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR},
+
+
+ delivery_sn = #{record.deliverySn,jdbcType=VARCHAR},
+
+
+ auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER},
+
+
+ integration = #{record.integration,jdbcType=INTEGER},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ promotion_info = #{record.promotionInfo,jdbcType=VARCHAR},
+
+
+ bill_type = #{record.billType,jdbcType=INTEGER},
+
+
+ bill_header = #{record.billHeader,jdbcType=VARCHAR},
+
+
+ bill_content = #{record.billContent,jdbcType=VARCHAR},
+
+
+ bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR},
+
+
+ bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR},
+
+
+ receiver_name = #{record.receiverName,jdbcType=VARCHAR},
+
+
+ receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR},
+
+
+ receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR},
+
+
+ receiver_province = #{record.receiverProvince,jdbcType=VARCHAR},
+
+
+ receiver_city = #{record.receiverCity,jdbcType=VARCHAR},
+
+
+ receiver_region = #{record.receiverRegion,jdbcType=VARCHAR},
+
+
+ receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ confirm_status = #{record.confirmStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+ total_amount = #{record.totalAmount,jdbcType=DECIMAL},
+ freight_amount = #{record.freightAmount,jdbcType=DECIMAL},
+ promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL},
+ integration_amount = #{record.integrationAmount,jdbcType=DECIMAL},
+ coupon_amount = #{record.couponAmount,jdbcType=DECIMAL},
+ discount_amount = #{record.discountAmount,jdbcType=DECIMAL},
+ pay_type = #{record.payType,jdbcType=INTEGER},
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+ status = #{record.status,jdbcType=INTEGER},
+ order_type = #{record.orderType,jdbcType=INTEGER},
+ delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR},
+ delivery_sn = #{record.deliverySn,jdbcType=VARCHAR},
+ auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER},
+ integration = #{record.integration,jdbcType=INTEGER},
+ growth = #{record.growth,jdbcType=INTEGER},
+ promotion_info = #{record.promotionInfo,jdbcType=VARCHAR},
+ bill_type = #{record.billType,jdbcType=INTEGER},
+ bill_header = #{record.billHeader,jdbcType=VARCHAR},
+ bill_content = #{record.billContent,jdbcType=VARCHAR},
+ bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR},
+ bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR},
+ receiver_name = #{record.receiverName,jdbcType=VARCHAR},
+ receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR},
+ receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR},
+ receiver_province = #{record.receiverProvince,jdbcType=VARCHAR},
+ receiver_city = #{record.receiverCity,jdbcType=VARCHAR},
+ receiver_region = #{record.receiverRegion,jdbcType=VARCHAR},
+ receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ confirm_status = #{record.confirmStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+
+
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+
+
+ freight_amount = #{freightAmount,jdbcType=DECIMAL},
+
+
+ promotion_amount = #{promotionAmount,jdbcType=DECIMAL},
+
+
+ integration_amount = #{integrationAmount,jdbcType=DECIMAL},
+
+
+ coupon_amount = #{couponAmount,jdbcType=DECIMAL},
+
+
+ discount_amount = #{discountAmount,jdbcType=DECIMAL},
+
+
+ pay_type = #{payType,jdbcType=INTEGER},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ order_type = #{orderType,jdbcType=INTEGER},
+
+
+ delivery_company = #{deliveryCompany,jdbcType=VARCHAR},
+
+
+ delivery_sn = #{deliverySn,jdbcType=VARCHAR},
+
+
+ auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER},
+
+
+ integration = #{integration,jdbcType=INTEGER},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ promotion_info = #{promotionInfo,jdbcType=VARCHAR},
+
+
+ bill_type = #{billType,jdbcType=INTEGER},
+
+
+ bill_header = #{billHeader,jdbcType=VARCHAR},
+
+
+ bill_content = #{billContent,jdbcType=VARCHAR},
+
+
+ bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR},
+
+
+ bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR},
+
+
+ receiver_name = #{receiverName,jdbcType=VARCHAR},
+
+
+ receiver_phone = #{receiverPhone,jdbcType=VARCHAR},
+
+
+ receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR},
+
+
+ receiver_province = #{receiverProvince,jdbcType=VARCHAR},
+
+
+ receiver_city = #{receiverCity,jdbcType=VARCHAR},
+
+
+ receiver_region = #{receiverRegion,jdbcType=VARCHAR},
+
+
+ receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ confirm_status = #{confirmStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order
+ set member_id = #{memberId,jdbcType=BIGINT},
+ coupon_id = #{couponId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+ total_amount = #{totalAmount,jdbcType=DECIMAL},
+ freight_amount = #{freightAmount,jdbcType=DECIMAL},
+ promotion_amount = #{promotionAmount,jdbcType=DECIMAL},
+ integration_amount = #{integrationAmount,jdbcType=DECIMAL},
+ coupon_amount = #{couponAmount,jdbcType=DECIMAL},
+ discount_amount = #{discountAmount,jdbcType=DECIMAL},
+ pay_type = #{payType,jdbcType=INTEGER},
+ source_type = #{sourceType,jdbcType=INTEGER},
+ status = #{status,jdbcType=INTEGER},
+ order_type = #{orderType,jdbcType=INTEGER},
+ delivery_company = #{deliveryCompany,jdbcType=VARCHAR},
+ delivery_sn = #{deliverySn,jdbcType=VARCHAR},
+ auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER},
+ integration = #{integration,jdbcType=INTEGER},
+ growth = #{growth,jdbcType=INTEGER},
+ promotion_info = #{promotionInfo,jdbcType=VARCHAR},
+ bill_type = #{billType,jdbcType=INTEGER},
+ bill_header = #{billHeader,jdbcType=VARCHAR},
+ bill_content = #{billContent,jdbcType=VARCHAR},
+ bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR},
+ bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR},
+ receiver_name = #{receiverName,jdbcType=VARCHAR},
+ receiver_phone = #{receiverPhone,jdbcType=VARCHAR},
+ receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR},
+ receiver_province = #{receiverProvince,jdbcType=VARCHAR},
+ receiver_city = #{receiverCity,jdbcType=VARCHAR},
+ receiver_region = #{receiverRegion,jdbcType=VARCHAR},
+ receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ confirm_status = #{confirmStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml
index 8136548..18b83cd 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml
@@ -223,4 +223,448 @@
note = #{note,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, operate_man, create_time, order_status, note
+
+
+
+
+ delete from oms_order_operate_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_operate_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_operate_history (order_id, operate_man, create_time,
+ order_status, note)
+ values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_operate_history
+
+
+ order_id,
+
+
+ operate_man,
+
+
+ create_time,
+
+
+ order_status,
+
+
+ note,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{orderStatus,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_operate_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ order_status = #{record.orderStatus,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_operate_history
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ order_status = #{record.orderStatus,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_operate_history
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ order_status = #{orderStatus,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_operate_history
+ set order_id = #{orderId,jdbcType=BIGINT},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ order_status = #{orderStatus,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, operate_man, create_time, order_status, note
+
+
+
+
+ delete from oms_order_operate_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_operate_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_operate_history (order_id, operate_man, create_time,
+ order_status, note)
+ values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_operate_history
+
+
+ order_id,
+
+
+ operate_man,
+
+
+ create_time,
+
+
+ order_status,
+
+
+ note,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{orderStatus,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_operate_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ order_status = #{record.orderStatus,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_operate_history
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ order_status = #{record.orderStatus,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_operate_history
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ order_status = #{orderStatus,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_operate_history
+ set order_id = #{orderId,jdbcType=BIGINT},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ order_status = #{orderStatus,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml
index 12e47d0..87bde0a 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml
@@ -556,4 +556,1114 @@
receive_note = #{receiveNote,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, company_address_id, order_sn, create_time, member_username, return_amount,
+ return_name, return_phone, status, handle_time, product_pic, product_name, brand_name,
+ product_attr, product_count, reason, description, proof_pics, return_post_amount,
+ return_post_status, confirm_return_amount, handle_note, handle_man, receive_man,
+ receive_time, receive_note
+
+
+
+
+ delete from oms_order_return_apply
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_return_apply
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_apply (order_id, company_address_id, order_sn,
+ create_time, member_username, return_amount,
+ return_name, return_phone, status,
+ handle_time, product_pic, product_name,
+ brand_name, product_attr, product_count,
+ reason, description, proof_pics,
+ return_post_amount, return_post_status, confirm_return_amount,
+ handle_note, handle_man, receive_man,
+ receive_time, receive_note)
+ values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
+ #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL},
+ #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
+ #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR},
+ #{brandName,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER},
+ #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR},
+ #{returnPostAmount,jdbcType=DECIMAL}, #{returnPostStatus,jdbcType=INTEGER}, #{confirmReturnAmount,jdbcType=DECIMAL},
+ #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR},
+ #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_apply
+
+
+ order_id,
+
+
+ company_address_id,
+
+
+ order_sn,
+
+
+ create_time,
+
+
+ member_username,
+
+
+ return_amount,
+
+
+ return_name,
+
+
+ return_phone,
+
+
+ status,
+
+
+ handle_time,
+
+
+ product_pic,
+
+
+ product_name,
+
+
+ brand_name,
+
+
+ product_attr,
+
+
+ product_count,
+
+
+ reason,
+
+
+ description,
+
+
+ proof_pics,
+
+
+ return_post_amount,
+
+
+ return_post_status,
+
+
+ confirm_return_amount,
+
+
+ handle_note,
+
+
+ handle_man,
+
+
+ receive_man,
+
+
+ receive_time,
+
+
+ receive_note,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{companyAddressId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{memberUsername,jdbcType=VARCHAR},
+
+
+ #{returnAmount,jdbcType=DECIMAL},
+
+
+ #{returnName,jdbcType=VARCHAR},
+
+
+ #{returnPhone,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{handleTime,jdbcType=TIMESTAMP},
+
+
+ #{productPic,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{productAttr,jdbcType=VARCHAR},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{reason,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+ #{proofPics,jdbcType=VARCHAR},
+
+
+ #{returnPostAmount,jdbcType=DECIMAL},
+
+
+ #{returnPostStatus,jdbcType=INTEGER},
+
+
+ #{confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ #{handleNote,jdbcType=VARCHAR},
+
+
+ #{handleMan,jdbcType=VARCHAR},
+
+
+ #{receiveMan,jdbcType=VARCHAR},
+
+
+ #{receiveTime,jdbcType=TIMESTAMP},
+
+
+ #{receiveNote,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_return_apply
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ company_address_id = #{record.companyAddressId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+
+
+ return_amount = #{record.returnAmount,jdbcType=DECIMAL},
+
+
+ return_name = #{record.returnName,jdbcType=VARCHAR},
+
+
+ return_phone = #{record.returnPhone,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ handle_time = #{record.handleTime,jdbcType=TIMESTAMP},
+
+
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ product_attr = #{record.productAttr,jdbcType=VARCHAR},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ reason = #{record.reason,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+ proof_pics = #{record.proofPics,jdbcType=VARCHAR},
+
+
+ return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL},
+
+
+ return_post_status = #{record.returnPostStatus,jdbcType=INTEGER},
+
+
+ confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ handle_note = #{record.handleNote,jdbcType=VARCHAR},
+
+
+ handle_man = #{record.handleMan,jdbcType=VARCHAR},
+
+
+ receive_man = #{record.receiveMan,jdbcType=VARCHAR},
+
+
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
+
+
+ receive_note = #{record.receiveNote,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_return_apply
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ company_address_id = #{record.companyAddressId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+ return_amount = #{record.returnAmount,jdbcType=DECIMAL},
+ return_name = #{record.returnName,jdbcType=VARCHAR},
+ return_phone = #{record.returnPhone,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ handle_time = #{record.handleTime,jdbcType=TIMESTAMP},
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_attr = #{record.productAttr,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ reason = #{record.reason,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ proof_pics = #{record.proofPics,jdbcType=VARCHAR},
+ return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL},
+ return_post_status = #{record.returnPostStatus,jdbcType=INTEGER},
+ confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL},
+ handle_note = #{record.handleNote,jdbcType=VARCHAR},
+ handle_man = #{record.handleMan,jdbcType=VARCHAR},
+ receive_man = #{record.receiveMan,jdbcType=VARCHAR},
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
+ receive_note = #{record.receiveNote,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_return_apply
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ company_address_id = #{companyAddressId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+
+
+ return_amount = #{returnAmount,jdbcType=DECIMAL},
+
+
+ return_name = #{returnName,jdbcType=VARCHAR},
+
+
+ return_phone = #{returnPhone,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ handle_time = #{handleTime,jdbcType=TIMESTAMP},
+
+
+ product_pic = #{productPic,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ product_attr = #{productAttr,jdbcType=VARCHAR},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ reason = #{reason,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ proof_pics = #{proofPics,jdbcType=VARCHAR},
+
+
+ return_post_amount = #{returnPostAmount,jdbcType=DECIMAL},
+
+
+ return_post_status = #{returnPostStatus,jdbcType=INTEGER},
+
+
+ confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ handle_note = #{handleNote,jdbcType=VARCHAR},
+
+
+ handle_man = #{handleMan,jdbcType=VARCHAR},
+
+
+ receive_man = #{receiveMan,jdbcType=VARCHAR},
+
+
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
+
+
+ receive_note = #{receiveNote,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_return_apply
+ set order_id = #{orderId,jdbcType=BIGINT},
+ company_address_id = #{companyAddressId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+ return_amount = #{returnAmount,jdbcType=DECIMAL},
+ return_name = #{returnName,jdbcType=VARCHAR},
+ return_phone = #{returnPhone,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ handle_time = #{handleTime,jdbcType=TIMESTAMP},
+ product_pic = #{productPic,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_attr = #{productAttr,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ reason = #{reason,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ proof_pics = #{proofPics,jdbcType=VARCHAR},
+ return_post_amount = #{returnPostAmount,jdbcType=DECIMAL},
+ return_post_status = #{returnPostStatus,jdbcType=INTEGER},
+ confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL},
+ handle_note = #{handleNote,jdbcType=VARCHAR},
+ handle_man = #{handleMan,jdbcType=VARCHAR},
+ receive_man = #{receiveMan,jdbcType=VARCHAR},
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
+ receive_note = #{receiveNote,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, order_id, company_address_id, order_sn, create_time, member_username, return_amount,
+ return_name, return_phone, status, handle_time, product_pic, product_name, brand_name,
+ product_attr, product_count, reason, description, proof_pics, return_post_amount,
+ return_post_status, confirm_return_amount, handle_note, handle_man, receive_man,
+ receive_time, receive_note
+
+
+
+
+ delete from oms_order_return_apply
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_return_apply
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_apply (order_id, company_address_id, order_sn,
+ create_time, member_username, return_amount,
+ return_name, return_phone, status,
+ handle_time, product_pic, product_name,
+ brand_name, product_attr, product_count,
+ reason, description, proof_pics,
+ return_post_amount, return_post_status, confirm_return_amount,
+ handle_note, handle_man, receive_man,
+ receive_time, receive_note)
+ values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR},
+ #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL},
+ #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
+ #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR},
+ #{brandName,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER},
+ #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR},
+ #{returnPostAmount,jdbcType=DECIMAL}, #{returnPostStatus,jdbcType=INTEGER}, #{confirmReturnAmount,jdbcType=DECIMAL},
+ #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR},
+ #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_apply
+
+
+ order_id,
+
+
+ company_address_id,
+
+
+ order_sn,
+
+
+ create_time,
+
+
+ member_username,
+
+
+ return_amount,
+
+
+ return_name,
+
+
+ return_phone,
+
+
+ status,
+
+
+ handle_time,
+
+
+ product_pic,
+
+
+ product_name,
+
+
+ brand_name,
+
+
+ product_attr,
+
+
+ product_count,
+
+
+ reason,
+
+
+ description,
+
+
+ proof_pics,
+
+
+ return_post_amount,
+
+
+ return_post_status,
+
+
+ confirm_return_amount,
+
+
+ handle_note,
+
+
+ handle_man,
+
+
+ receive_man,
+
+
+ receive_time,
+
+
+ receive_note,
+
+
+
+
+ #{orderId,jdbcType=BIGINT},
+
+
+ #{companyAddressId,jdbcType=BIGINT},
+
+
+ #{orderSn,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{memberUsername,jdbcType=VARCHAR},
+
+
+ #{returnAmount,jdbcType=DECIMAL},
+
+
+ #{returnName,jdbcType=VARCHAR},
+
+
+ #{returnPhone,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{handleTime,jdbcType=TIMESTAMP},
+
+
+ #{productPic,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{productAttr,jdbcType=VARCHAR},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{reason,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+ #{proofPics,jdbcType=VARCHAR},
+
+
+ #{returnPostAmount,jdbcType=DECIMAL},
+
+
+ #{returnPostStatus,jdbcType=INTEGER},
+
+
+ #{confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ #{handleNote,jdbcType=VARCHAR},
+
+
+ #{handleMan,jdbcType=VARCHAR},
+
+
+ #{receiveMan,jdbcType=VARCHAR},
+
+
+ #{receiveTime,jdbcType=TIMESTAMP},
+
+
+ #{receiveNote,jdbcType=VARCHAR},
+
+
+
+
+
+ update oms_order_return_apply
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ order_id = #{record.orderId,jdbcType=BIGINT},
+
+
+ company_address_id = #{record.companyAddressId,jdbcType=BIGINT},
+
+
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+
+
+ return_amount = #{record.returnAmount,jdbcType=DECIMAL},
+
+
+ return_name = #{record.returnName,jdbcType=VARCHAR},
+
+
+ return_phone = #{record.returnPhone,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ handle_time = #{record.handleTime,jdbcType=TIMESTAMP},
+
+
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ product_attr = #{record.productAttr,jdbcType=VARCHAR},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ reason = #{record.reason,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+ proof_pics = #{record.proofPics,jdbcType=VARCHAR},
+
+
+ return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL},
+
+
+ return_post_status = #{record.returnPostStatus,jdbcType=INTEGER},
+
+
+ confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ handle_note = #{record.handleNote,jdbcType=VARCHAR},
+
+
+ handle_man = #{record.handleMan,jdbcType=VARCHAR},
+
+
+ receive_man = #{record.receiveMan,jdbcType=VARCHAR},
+
+
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
+
+
+ receive_note = #{record.receiveNote,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update oms_order_return_apply
+ set id = #{record.id,jdbcType=BIGINT},
+ order_id = #{record.orderId,jdbcType=BIGINT},
+ company_address_id = #{record.companyAddressId,jdbcType=BIGINT},
+ order_sn = #{record.orderSn,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ member_username = #{record.memberUsername,jdbcType=VARCHAR},
+ return_amount = #{record.returnAmount,jdbcType=DECIMAL},
+ return_name = #{record.returnName,jdbcType=VARCHAR},
+ return_phone = #{record.returnPhone,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ handle_time = #{record.handleTime,jdbcType=TIMESTAMP},
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_attr = #{record.productAttr,jdbcType=VARCHAR},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ reason = #{record.reason,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=VARCHAR},
+ proof_pics = #{record.proofPics,jdbcType=VARCHAR},
+ return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL},
+ return_post_status = #{record.returnPostStatus,jdbcType=INTEGER},
+ confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL},
+ handle_note = #{record.handleNote,jdbcType=VARCHAR},
+ handle_man = #{record.handleMan,jdbcType=VARCHAR},
+ receive_man = #{record.receiveMan,jdbcType=VARCHAR},
+ receive_time = #{record.receiveTime,jdbcType=TIMESTAMP},
+ receive_note = #{record.receiveNote,jdbcType=VARCHAR}
+
+
+
+
+
+ update oms_order_return_apply
+
+
+ order_id = #{orderId,jdbcType=BIGINT},
+
+
+ company_address_id = #{companyAddressId,jdbcType=BIGINT},
+
+
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+
+
+ return_amount = #{returnAmount,jdbcType=DECIMAL},
+
+
+ return_name = #{returnName,jdbcType=VARCHAR},
+
+
+ return_phone = #{returnPhone,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ handle_time = #{handleTime,jdbcType=TIMESTAMP},
+
+
+ product_pic = #{productPic,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ product_attr = #{productAttr,jdbcType=VARCHAR},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ reason = #{reason,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ proof_pics = #{proofPics,jdbcType=VARCHAR},
+
+
+ return_post_amount = #{returnPostAmount,jdbcType=DECIMAL},
+
+
+ return_post_status = #{returnPostStatus,jdbcType=INTEGER},
+
+
+ confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL},
+
+
+ handle_note = #{handleNote,jdbcType=VARCHAR},
+
+
+ handle_man = #{handleMan,jdbcType=VARCHAR},
+
+
+ receive_man = #{receiveMan,jdbcType=VARCHAR},
+
+
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
+
+
+ receive_note = #{receiveNote,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_return_apply
+ set order_id = #{orderId,jdbcType=BIGINT},
+ company_address_id = #{companyAddressId,jdbcType=BIGINT},
+ order_sn = #{orderSn,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ member_username = #{memberUsername,jdbcType=VARCHAR},
+ return_amount = #{returnAmount,jdbcType=DECIMAL},
+ return_name = #{returnName,jdbcType=VARCHAR},
+ return_phone = #{returnPhone,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ handle_time = #{handleTime,jdbcType=TIMESTAMP},
+ product_pic = #{productPic,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_attr = #{productAttr,jdbcType=VARCHAR},
+ product_count = #{productCount,jdbcType=INTEGER},
+ reason = #{reason,jdbcType=VARCHAR},
+ description = #{description,jdbcType=VARCHAR},
+ proof_pics = #{proofPics,jdbcType=VARCHAR},
+ return_post_amount = #{returnPostAmount,jdbcType=DECIMAL},
+ return_post_status = #{returnPostStatus,jdbcType=INTEGER},
+ confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL},
+ handle_note = #{handleNote,jdbcType=VARCHAR},
+ handle_man = #{handleMan,jdbcType=VARCHAR},
+ receive_man = #{receiveMan,jdbcType=VARCHAR},
+ receive_time = #{receiveTime,jdbcType=TIMESTAMP},
+ receive_note = #{receiveNote,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml
index 40e51b0..48d8aa6 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml
@@ -193,4 +193,388 @@
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, sort, status
+
+
+
+
+ delete from oms_order_return_reason
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_return_reason
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_reason (name, sort, status
+ )
+ values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_reason
+
+
+ name,
+
+
+ sort,
+
+
+ status,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order_return_reason
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order_return_reason
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ status = #{record.status,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order_return_reason
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_return_reason
+ set name = #{name,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ status = #{status,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, sort, status
+
+
+
+
+ delete from oms_order_return_reason
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_return_reason
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_reason (name, sort, status
+ )
+ values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_return_reason
+
+
+ name,
+
+
+ sort,
+
+
+ status,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order_return_reason
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order_return_reason
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ status = #{record.status,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order_return_reason
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_return_reason
+ set name = #{name,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ status = #{status,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml
index 6ed0224..2d03ce9 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml
@@ -226,4 +226,454 @@
comment_overtime = #{commentOvertime,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime,
+ comment_overtime
+
+
+
+
+ delete from oms_order_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_setting (flash_order_overtime, normal_order_overtime,
+ confirm_overtime, finish_overtime, comment_overtime
+ )
+ values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER},
+ #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_setting
+
+
+ flash_order_overtime,
+
+
+ normal_order_overtime,
+
+
+ confirm_overtime,
+
+
+ finish_overtime,
+
+
+ comment_overtime,
+
+
+
+
+ #{flashOrderOvertime,jdbcType=INTEGER},
+
+
+ #{normalOrderOvertime,jdbcType=INTEGER},
+
+
+ #{confirmOvertime,jdbcType=INTEGER},
+
+
+ #{finishOvertime,jdbcType=INTEGER},
+
+
+ #{commentOvertime,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER},
+
+
+ normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER},
+
+
+ confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER},
+
+
+ finish_overtime = #{record.finishOvertime,jdbcType=INTEGER},
+
+
+ comment_overtime = #{record.commentOvertime,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER},
+ normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER},
+ confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER},
+ finish_overtime = #{record.finishOvertime,jdbcType=INTEGER},
+ comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order_setting
+
+
+ flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER},
+
+
+ normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER},
+
+
+ confirm_overtime = #{confirmOvertime,jdbcType=INTEGER},
+
+
+ finish_overtime = #{finishOvertime,jdbcType=INTEGER},
+
+
+ comment_overtime = #{commentOvertime,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_setting
+ set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER},
+ normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER},
+ confirm_overtime = #{confirmOvertime,jdbcType=INTEGER},
+ finish_overtime = #{finishOvertime,jdbcType=INTEGER},
+ comment_overtime = #{commentOvertime,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime,
+ comment_overtime
+
+
+
+
+ delete from oms_order_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from oms_order_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_setting (flash_order_overtime, normal_order_overtime,
+ confirm_overtime, finish_overtime, comment_overtime
+ )
+ values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER},
+ #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into oms_order_setting
+
+
+ flash_order_overtime,
+
+
+ normal_order_overtime,
+
+
+ confirm_overtime,
+
+
+ finish_overtime,
+
+
+ comment_overtime,
+
+
+
+
+ #{flashOrderOvertime,jdbcType=INTEGER},
+
+
+ #{normalOrderOvertime,jdbcType=INTEGER},
+
+
+ #{confirmOvertime,jdbcType=INTEGER},
+
+
+ #{finishOvertime,jdbcType=INTEGER},
+
+
+ #{commentOvertime,jdbcType=INTEGER},
+
+
+
+
+
+ update oms_order_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER},
+
+
+ normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER},
+
+
+ confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER},
+
+
+ finish_overtime = #{record.finishOvertime,jdbcType=INTEGER},
+
+
+ comment_overtime = #{record.commentOvertime,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update oms_order_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER},
+ normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER},
+ confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER},
+ finish_overtime = #{record.finishOvertime,jdbcType=INTEGER},
+ comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}
+
+
+
+
+
+ update oms_order_setting
+
+
+ flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER},
+
+
+ normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER},
+
+
+ confirm_overtime = #{confirmOvertime,jdbcType=INTEGER},
+
+
+ finish_overtime = #{finishOvertime,jdbcType=INTEGER},
+
+
+ comment_overtime = #{commentOvertime,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update oms_order_setting
+ set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER},
+ normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER},
+ confirm_overtime = #{confirmOvertime,jdbcType=INTEGER},
+ finish_overtime = #{finishOvertime,jdbcType=INTEGER},
+ comment_overtime = #{commentOvertime,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml
index f2953d7..3c7d03f 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml
@@ -223,4 +223,448 @@
description = #{description,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, cover_pic, pic_count, sort, description
+
+
+
+
+ delete from pms_album
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_album
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album (name, cover_pic, pic_count,
+ sort, description)
+ values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album
+
+
+ name,
+
+
+ cover_pic,
+
+
+ pic_count,
+
+
+ sort,
+
+
+ description,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{coverPic,jdbcType=VARCHAR},
+
+
+ #{picCount,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_album
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ cover_pic = #{record.coverPic,jdbcType=VARCHAR},
+
+
+ pic_count = #{record.picCount,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_album
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ cover_pic = #{record.coverPic,jdbcType=VARCHAR},
+ pic_count = #{record.picCount,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ description = #{record.description,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_album
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ cover_pic = #{coverPic,jdbcType=VARCHAR},
+
+
+ pic_count = #{picCount,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_album
+ set name = #{name,jdbcType=VARCHAR},
+ cover_pic = #{coverPic,jdbcType=VARCHAR},
+ pic_count = #{picCount,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ description = #{description,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, cover_pic, pic_count, sort, description
+
+
+
+
+ delete from pms_album
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_album
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album (name, cover_pic, pic_count,
+ sort, description)
+ values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album
+
+
+ name,
+
+
+ cover_pic,
+
+
+ pic_count,
+
+
+ sort,
+
+
+ description,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{coverPic,jdbcType=VARCHAR},
+
+
+ #{picCount,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{description,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_album
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ cover_pic = #{record.coverPic,jdbcType=VARCHAR},
+
+
+ pic_count = #{record.picCount,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ description = #{record.description,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_album
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ cover_pic = #{record.coverPic,jdbcType=VARCHAR},
+ pic_count = #{record.picCount,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ description = #{record.description,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_album
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ cover_pic = #{coverPic,jdbcType=VARCHAR},
+
+
+ pic_count = #{picCount,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ description = #{description,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_album
+ set name = #{name,jdbcType=VARCHAR},
+ cover_pic = #{coverPic,jdbcType=VARCHAR},
+ pic_count = #{picCount,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ description = #{description,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml
index ffb095f..1102457 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml
@@ -176,4 +176,354 @@
pic = #{pic,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, album_id, pic
+
+
+
+
+ delete from pms_album_pic
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_album_pic
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album_pic (album_id, pic)
+ values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album_pic
+
+
+ album_id,
+
+
+ pic,
+
+
+
+
+ #{albumId,jdbcType=BIGINT},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_album_pic
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ album_id = #{record.albumId,jdbcType=BIGINT},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_album_pic
+ set id = #{record.id,jdbcType=BIGINT},
+ album_id = #{record.albumId,jdbcType=BIGINT},
+ pic = #{record.pic,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_album_pic
+
+
+ album_id = #{albumId,jdbcType=BIGINT},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_album_pic
+ set album_id = #{albumId,jdbcType=BIGINT},
+ pic = #{pic,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, album_id, pic
+
+
+
+
+ delete from pms_album_pic
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_album_pic
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album_pic (album_id, pic)
+ values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_album_pic
+
+
+ album_id,
+
+
+ pic,
+
+
+
+
+ #{albumId,jdbcType=BIGINT},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_album_pic
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ album_id = #{record.albumId,jdbcType=BIGINT},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_album_pic
+ set id = #{record.id,jdbcType=BIGINT},
+ album_id = #{record.albumId,jdbcType=BIGINT},
+ pic = #{record.pic,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_album_pic
+
+
+ album_id = #{albumId,jdbcType=BIGINT},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_album_pic
+ set album_id = #{albumId,jdbcType=BIGINT},
+ pic = #{pic,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml
index eb058f3..0c7fd33 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml
@@ -355,4 +355,712 @@
big_pic = #{bigPic,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count,
+ logo, big_pic
+
+
+ brand_story
+
+
+
+
+
+ delete from pms_brand
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_brand
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_brand (name, first_letter, sort,
+ factory_status, show_status, product_count,
+ product_comment_count, logo, big_pic,
+ brand_story)
+ values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
+ #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER},
+ #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR},
+ #{brandStory,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_brand
+
+
+ name,
+
+
+ first_letter,
+
+
+ sort,
+
+
+ factory_status,
+
+
+ show_status,
+
+
+ product_count,
+
+
+ product_comment_count,
+
+
+ logo,
+
+
+ big_pic,
+
+
+ brand_story,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{firstLetter,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{factoryStatus,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productCommentCount,jdbcType=INTEGER},
+
+
+ #{logo,jdbcType=VARCHAR},
+
+
+ #{bigPic,jdbcType=VARCHAR},
+
+
+ #{brandStory,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_brand
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+
+
+ logo = #{record.logo,jdbcType=VARCHAR},
+
+
+ big_pic = #{record.bigPic,jdbcType=VARCHAR},
+
+
+ brand_story = #{record.brandStory,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+ logo = #{record.logo,jdbcType=VARCHAR},
+ big_pic = #{record.bigPic,jdbcType=VARCHAR},
+ brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+ logo = #{record.logo,jdbcType=VARCHAR},
+ big_pic = #{record.bigPic,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_brand
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+
+
+ logo = #{logo,jdbcType=VARCHAR},
+
+
+ big_pic = #{bigPic,jdbcType=VARCHAR},
+
+
+ brand_story = #{brandStory,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_brand
+ set name = #{name,jdbcType=VARCHAR},
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+ logo = #{logo,jdbcType=VARCHAR},
+ big_pic = #{bigPic,jdbcType=VARCHAR},
+ brand_story = #{brandStory,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_brand
+ set name = #{name,jdbcType=VARCHAR},
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+ logo = #{logo,jdbcType=VARCHAR},
+ big_pic = #{bigPic,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count,
+ logo, big_pic
+
+
+ brand_story
+
+
+
+
+
+ delete from pms_brand
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_brand
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_brand (name, first_letter, sort,
+ factory_status, show_status, product_count,
+ product_comment_count, logo, big_pic,
+ brand_story)
+ values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
+ #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER},
+ #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR},
+ #{brandStory,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_brand
+
+
+ name,
+
+
+ first_letter,
+
+
+ sort,
+
+
+ factory_status,
+
+
+ show_status,
+
+
+ product_count,
+
+
+ product_comment_count,
+
+
+ logo,
+
+
+ big_pic,
+
+
+ brand_story,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{firstLetter,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{factoryStatus,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productCommentCount,jdbcType=INTEGER},
+
+
+ #{logo,jdbcType=VARCHAR},
+
+
+ #{bigPic,jdbcType=VARCHAR},
+
+
+ #{brandStory,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_brand
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+
+
+ logo = #{record.logo,jdbcType=VARCHAR},
+
+
+ big_pic = #{record.bigPic,jdbcType=VARCHAR},
+
+
+ brand_story = #{record.brandStory,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+ logo = #{record.logo,jdbcType=VARCHAR},
+ big_pic = #{record.bigPic,jdbcType=VARCHAR},
+ brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ first_letter = #{record.firstLetter,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ factory_status = #{record.factoryStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_comment_count = #{record.productCommentCount,jdbcType=INTEGER},
+ logo = #{record.logo,jdbcType=VARCHAR},
+ big_pic = #{record.bigPic,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_brand
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+
+
+ logo = #{logo,jdbcType=VARCHAR},
+
+
+ big_pic = #{bigPic,jdbcType=VARCHAR},
+
+
+ brand_story = #{brandStory,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_brand
+ set name = #{name,jdbcType=VARCHAR},
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+ logo = #{logo,jdbcType=VARCHAR},
+ big_pic = #{bigPic,jdbcType=VARCHAR},
+ brand_story = #{brandStory,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_brand
+ set name = #{name,jdbcType=VARCHAR},
+ first_letter = #{firstLetter,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ factory_status = #{factoryStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_comment_count = #{productCommentCount,jdbcType=INTEGER},
+ logo = #{logo,jdbcType=VARCHAR},
+ big_pic = #{bigPic,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml
index bdb4720..22264fb 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml
@@ -425,4 +425,852 @@
replay_count = #{replayCount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status,
+ product_attribute, collect_couont, read_count, pics, member_icon, replay_count
+
+
+ content
+
+
+
+
+
+ delete from pms_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment (product_id, member_nick_name, product_name,
+ star, member_ip, create_time,
+ show_status, product_attribute, collect_couont,
+ read_count, pics, member_icon,
+ replay_count, content)
+ values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR},
+ #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER},
+ #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment
+
+
+ product_id,
+
+
+ member_nick_name,
+
+
+ product_name,
+
+
+ star,
+
+
+ member_ip,
+
+
+ create_time,
+
+
+ show_status,
+
+
+ product_attribute,
+
+
+ collect_couont,
+
+
+ read_count,
+
+
+ pics,
+
+
+ member_icon,
+
+
+ replay_count,
+
+
+ content,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{star,jdbcType=INTEGER},
+
+
+ #{memberIp,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{productAttribute,jdbcType=VARCHAR},
+
+
+ #{collectCouont,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{pics,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{replayCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ star = #{record.star,jdbcType=INTEGER},
+
+
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+
+
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ pics = #{record.pics,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ replay_count = #{record.replayCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ star = #{record.star,jdbcType=INTEGER},
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ pics = #{record.pics,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ replay_count = #{record.replayCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ star = #{record.star,jdbcType=INTEGER},
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ pics = #{record.pics,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ replay_count = #{record.replayCount,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_comment
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ star = #{star,jdbcType=INTEGER},
+
+
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+
+
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ pics = #{pics,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ replay_count = #{replayCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ star = #{star,jdbcType=INTEGER},
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ pics = #{pics,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ replay_count = #{replayCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ star = #{star,jdbcType=INTEGER},
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ pics = #{pics,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ replay_count = #{replayCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status,
+ product_attribute, collect_couont, read_count, pics, member_icon, replay_count
+
+
+ content
+
+
+
+
+
+ delete from pms_comment
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_comment
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment (product_id, member_nick_name, product_name,
+ star, member_ip, create_time,
+ show_status, product_attribute, collect_couont,
+ read_count, pics, member_icon,
+ replay_count, content)
+ values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR},
+ #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
+ #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER},
+ #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment
+
+
+ product_id,
+
+
+ member_nick_name,
+
+
+ product_name,
+
+
+ star,
+
+
+ member_ip,
+
+
+ create_time,
+
+
+ show_status,
+
+
+ product_attribute,
+
+
+ collect_couont,
+
+
+ read_count,
+
+
+ pics,
+
+
+ member_icon,
+
+
+ replay_count,
+
+
+ content,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{star,jdbcType=INTEGER},
+
+
+ #{memberIp,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{productAttribute,jdbcType=VARCHAR},
+
+
+ #{collectCouont,jdbcType=INTEGER},
+
+
+ #{readCount,jdbcType=INTEGER},
+
+
+ #{pics,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{replayCount,jdbcType=INTEGER},
+
+
+ #{content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_comment
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ star = #{record.star,jdbcType=INTEGER},
+
+
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+
+
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+
+
+ read_count = #{record.readCount,jdbcType=INTEGER},
+
+
+ pics = #{record.pics,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ replay_count = #{record.replayCount,jdbcType=INTEGER},
+
+
+ content = #{record.content,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ star = #{record.star,jdbcType=INTEGER},
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ pics = #{record.pics,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ replay_count = #{record.replayCount,jdbcType=INTEGER},
+ content = #{record.content,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_comment
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ star = #{record.star,jdbcType=INTEGER},
+ member_ip = #{record.memberIp,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ product_attribute = #{record.productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{record.collectCouont,jdbcType=INTEGER},
+ read_count = #{record.readCount,jdbcType=INTEGER},
+ pics = #{record.pics,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ replay_count = #{record.replayCount,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_comment
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ star = #{star,jdbcType=INTEGER},
+
+
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+
+
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+
+
+ read_count = #{readCount,jdbcType=INTEGER},
+
+
+ pics = #{pics,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ replay_count = #{replayCount,jdbcType=INTEGER},
+
+
+ content = #{content,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ star = #{star,jdbcType=INTEGER},
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ pics = #{pics,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ replay_count = #{replayCount,jdbcType=INTEGER},
+ content = #{content,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ star = #{star,jdbcType=INTEGER},
+ member_ip = #{memberIp,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ product_attribute = #{productAttribute,jdbcType=VARCHAR},
+ collect_couont = #{collectCouont,jdbcType=INTEGER},
+ read_count = #{readCount,jdbcType=INTEGER},
+ pics = #{pics,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ replay_count = #{replayCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml
index 4054507..c5c7d22 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml
@@ -240,4 +240,482 @@
type = #{type,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, comment_id, member_nick_name, member_icon, content, create_time, type
+
+
+
+
+ delete from pms_comment_replay
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_comment_replay
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment_replay (comment_id, member_nick_name, member_icon,
+ content, create_time, type
+ )
+ values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment_replay
+
+
+ comment_id,
+
+
+ member_nick_name,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ type,
+
+
+
+
+ #{commentId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_comment_replay
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ comment_id = #{record.commentId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_comment_replay
+ set id = #{record.id,jdbcType=BIGINT},
+ comment_id = #{record.commentId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_comment_replay
+
+
+ comment_id = #{commentId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment_replay
+ set comment_id = #{commentId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, comment_id, member_nick_name, member_icon, content, create_time, type
+
+
+
+
+ delete from pms_comment_replay
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_comment_replay
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment_replay (comment_id, member_nick_name, member_icon,
+ content, create_time, type
+ )
+ values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR},
+ #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_comment_replay
+
+
+ comment_id,
+
+
+ member_nick_name,
+
+
+ member_icon,
+
+
+ content,
+
+
+ create_time,
+
+
+ type,
+
+
+
+
+ #{commentId,jdbcType=BIGINT},
+
+
+ #{memberNickName,jdbcType=VARCHAR},
+
+
+ #{memberIcon,jdbcType=VARCHAR},
+
+
+ #{content,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_comment_replay
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ comment_id = #{record.commentId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{record.content,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_comment_replay
+ set id = #{record.id,jdbcType=BIGINT},
+ comment_id = #{record.commentId,jdbcType=BIGINT},
+ member_nick_name = #{record.memberNickName,jdbcType=VARCHAR},
+ member_icon = #{record.memberIcon,jdbcType=VARCHAR},
+ content = #{record.content,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_comment_replay
+
+
+ comment_id = #{commentId,jdbcType=BIGINT},
+
+
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+
+
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+
+
+ content = #{content,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_comment_replay
+ set comment_id = #{commentId,jdbcType=BIGINT},
+ member_nick_name = #{memberNickName,jdbcType=VARCHAR},
+ member_icon = #{memberIcon,jdbcType=VARCHAR},
+ content = #{content,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml
index a52978b..cec6574 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml
@@ -255,4 +255,512 @@
dest = #{dest,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest
+
+
+
+
+ delete from pms_feight_template
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_feight_template
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_feight_template (name, charge_type, first_weight,
+ first_fee, continue_weight, continme_fee,
+ dest)
+ values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL},
+ #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL},
+ #{dest,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_feight_template
+
+
+ name,
+
+
+ charge_type,
+
+
+ first_weight,
+
+
+ first_fee,
+
+
+ continue_weight,
+
+
+ continme_fee,
+
+
+ dest,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{chargeType,jdbcType=INTEGER},
+
+
+ #{firstWeight,jdbcType=DECIMAL},
+
+
+ #{firstFee,jdbcType=DECIMAL},
+
+
+ #{continueWeight,jdbcType=DECIMAL},
+
+
+ #{continmeFee,jdbcType=DECIMAL},
+
+
+ #{dest,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_feight_template
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ charge_type = #{record.chargeType,jdbcType=INTEGER},
+
+
+ first_weight = #{record.firstWeight,jdbcType=DECIMAL},
+
+
+ first_fee = #{record.firstFee,jdbcType=DECIMAL},
+
+
+ continue_weight = #{record.continueWeight,jdbcType=DECIMAL},
+
+
+ continme_fee = #{record.continmeFee,jdbcType=DECIMAL},
+
+
+ dest = #{record.dest,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_feight_template
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ charge_type = #{record.chargeType,jdbcType=INTEGER},
+ first_weight = #{record.firstWeight,jdbcType=DECIMAL},
+ first_fee = #{record.firstFee,jdbcType=DECIMAL},
+ continue_weight = #{record.continueWeight,jdbcType=DECIMAL},
+ continme_fee = #{record.continmeFee,jdbcType=DECIMAL},
+ dest = #{record.dest,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_feight_template
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ charge_type = #{chargeType,jdbcType=INTEGER},
+
+
+ first_weight = #{firstWeight,jdbcType=DECIMAL},
+
+
+ first_fee = #{firstFee,jdbcType=DECIMAL},
+
+
+ continue_weight = #{continueWeight,jdbcType=DECIMAL},
+
+
+ continme_fee = #{continmeFee,jdbcType=DECIMAL},
+
+
+ dest = #{dest,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_feight_template
+ set name = #{name,jdbcType=VARCHAR},
+ charge_type = #{chargeType,jdbcType=INTEGER},
+ first_weight = #{firstWeight,jdbcType=DECIMAL},
+ first_fee = #{firstFee,jdbcType=DECIMAL},
+ continue_weight = #{continueWeight,jdbcType=DECIMAL},
+ continme_fee = #{continmeFee,jdbcType=DECIMAL},
+ dest = #{dest,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest
+
+
+
+
+ delete from pms_feight_template
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_feight_template
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_feight_template (name, charge_type, first_weight,
+ first_fee, continue_weight, continme_fee,
+ dest)
+ values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL},
+ #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL},
+ #{dest,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_feight_template
+
+
+ name,
+
+
+ charge_type,
+
+
+ first_weight,
+
+
+ first_fee,
+
+
+ continue_weight,
+
+
+ continme_fee,
+
+
+ dest,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{chargeType,jdbcType=INTEGER},
+
+
+ #{firstWeight,jdbcType=DECIMAL},
+
+
+ #{firstFee,jdbcType=DECIMAL},
+
+
+ #{continueWeight,jdbcType=DECIMAL},
+
+
+ #{continmeFee,jdbcType=DECIMAL},
+
+
+ #{dest,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_feight_template
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ charge_type = #{record.chargeType,jdbcType=INTEGER},
+
+
+ first_weight = #{record.firstWeight,jdbcType=DECIMAL},
+
+
+ first_fee = #{record.firstFee,jdbcType=DECIMAL},
+
+
+ continue_weight = #{record.continueWeight,jdbcType=DECIMAL},
+
+
+ continme_fee = #{record.continmeFee,jdbcType=DECIMAL},
+
+
+ dest = #{record.dest,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_feight_template
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ charge_type = #{record.chargeType,jdbcType=INTEGER},
+ first_weight = #{record.firstWeight,jdbcType=DECIMAL},
+ first_fee = #{record.firstFee,jdbcType=DECIMAL},
+ continue_weight = #{record.continueWeight,jdbcType=DECIMAL},
+ continme_fee = #{record.continmeFee,jdbcType=DECIMAL},
+ dest = #{record.dest,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_feight_template
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ charge_type = #{chargeType,jdbcType=INTEGER},
+
+
+ first_weight = #{firstWeight,jdbcType=DECIMAL},
+
+
+ first_fee = #{firstFee,jdbcType=DECIMAL},
+
+
+ continue_weight = #{continueWeight,jdbcType=DECIMAL},
+
+
+ continme_fee = #{continmeFee,jdbcType=DECIMAL},
+
+
+ dest = #{dest,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_feight_template
+ set name = #{name,jdbcType=VARCHAR},
+ charge_type = #{chargeType,jdbcType=INTEGER},
+ first_weight = #{firstWeight,jdbcType=DECIMAL},
+ first_fee = #{firstFee,jdbcType=DECIMAL},
+ continue_weight = #{continueWeight,jdbcType=DECIMAL},
+ continme_fee = #{continmeFee,jdbcType=DECIMAL},
+ dest = #{dest,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml
index f6cd0e2..998ae0f 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml
@@ -193,4 +193,388 @@
member_price = #{memberPrice,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, member_level_id, member_price
+
+
+
+
+ delete from pms_member_price
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_member_price
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_member_price (product_id, member_level_id, member_price
+ )
+ values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_member_price
+
+
+ product_id,
+
+
+ member_level_id,
+
+
+ member_price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberLevelId,jdbcType=BIGINT},
+
+
+ #{memberPrice,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_member_price
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+
+
+ member_price = #{record.memberPrice,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_member_price
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+ member_price = #{record.memberPrice,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_member_price
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+
+
+ member_price = #{memberPrice,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_member_price
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+ member_price = #{memberPrice,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, member_level_id, member_price
+
+
+
+
+ delete from pms_member_price
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_member_price
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_member_price (product_id, member_level_id, member_price
+ )
+ values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_member_price
+
+
+ product_id,
+
+
+ member_level_id,
+
+
+ member_price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberLevelId,jdbcType=BIGINT},
+
+
+ #{memberPrice,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_member_price
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+
+
+ member_price = #{record.memberPrice,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_member_price
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+ member_price = #{record.memberPrice,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_member_price
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+
+
+ member_price = #{memberPrice,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_member_price
+ set product_id = #{productId,jdbcType=BIGINT},
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+ member_price = #{memberPrice,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml
index 77de13f..cefdc5f 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml
@@ -193,4 +193,388 @@
param_count = #{paramCount,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, attribute_count, param_count
+
+
+
+
+ delete from pms_product_attribute_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_category (name, attribute_count, param_count
+ )
+ values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_category
+
+
+ name,
+
+
+ attribute_count,
+
+
+ param_count,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{attributeCount,jdbcType=INTEGER},
+
+
+ #{paramCount,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_product_attribute_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ attribute_count = #{record.attributeCount,jdbcType=INTEGER},
+
+
+ param_count = #{record.paramCount,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_product_attribute_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ attribute_count = #{record.attributeCount,jdbcType=INTEGER},
+ param_count = #{record.paramCount,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_product_attribute_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ attribute_count = #{attributeCount,jdbcType=INTEGER},
+
+
+ param_count = #{paramCount,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute_category
+ set name = #{name,jdbcType=VARCHAR},
+ attribute_count = #{attributeCount,jdbcType=INTEGER},
+ param_count = #{paramCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, attribute_count, param_count
+
+
+
+
+ delete from pms_product_attribute_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_category (name, attribute_count, param_count
+ )
+ values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_category
+
+
+ name,
+
+
+ attribute_count,
+
+
+ param_count,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{attributeCount,jdbcType=INTEGER},
+
+
+ #{paramCount,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_product_attribute_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ attribute_count = #{record.attributeCount,jdbcType=INTEGER},
+
+
+ param_count = #{record.paramCount,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_product_attribute_category
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ attribute_count = #{record.attributeCount,jdbcType=INTEGER},
+ param_count = #{record.paramCount,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_product_attribute_category
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ attribute_count = #{attributeCount,jdbcType=INTEGER},
+
+
+ param_count = #{paramCount,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute_category
+ set name = #{name,jdbcType=VARCHAR},
+ attribute_count = #{attributeCount,jdbcType=INTEGER},
+ param_count = #{paramCount,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml
index c57f73a..61b5740 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml
@@ -320,4 +320,642 @@
type = #{type,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_attribute_category_id, name, select_type, input_type, input_list, sort,
+ filter_type, search_type, related_status, hand_add_status, type
+
+
+
+
+ delete from pms_product_attribute
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute (product_attribute_category_id, name,
+ select_type, input_type, input_list,
+ sort, filter_type, search_type,
+ related_status, hand_add_status, type
+ )
+ values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
+ #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR},
+ #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER},
+ #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute
+
+
+ product_attribute_category_id,
+
+
+ name,
+
+
+ select_type,
+
+
+ input_type,
+
+
+ input_list,
+
+
+ sort,
+
+
+ filter_type,
+
+
+ search_type,
+
+
+ related_status,
+
+
+ hand_add_status,
+
+
+ type,
+
+
+
+
+ #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{selectType,jdbcType=INTEGER},
+
+
+ #{inputType,jdbcType=INTEGER},
+
+
+ #{inputList,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{filterType,jdbcType=INTEGER},
+
+
+ #{searchType,jdbcType=INTEGER},
+
+
+ #{relatedStatus,jdbcType=INTEGER},
+
+
+ #{handAddStatus,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_product_attribute
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ select_type = #{record.selectType,jdbcType=INTEGER},
+
+
+ input_type = #{record.inputType,jdbcType=INTEGER},
+
+
+ input_list = #{record.inputList,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ filter_type = #{record.filterType,jdbcType=INTEGER},
+
+
+ search_type = #{record.searchType,jdbcType=INTEGER},
+
+
+ related_status = #{record.relatedStatus,jdbcType=INTEGER},
+
+
+ hand_add_status = #{record.handAddStatus,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_product_attribute
+ set id = #{record.id,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ select_type = #{record.selectType,jdbcType=INTEGER},
+ input_type = #{record.inputType,jdbcType=INTEGER},
+ input_list = #{record.inputList,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ filter_type = #{record.filterType,jdbcType=INTEGER},
+ search_type = #{record.searchType,jdbcType=INTEGER},
+ related_status = #{record.relatedStatus,jdbcType=INTEGER},
+ hand_add_status = #{record.handAddStatus,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_product_attribute
+
+
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ select_type = #{selectType,jdbcType=INTEGER},
+
+
+ input_type = #{inputType,jdbcType=INTEGER},
+
+
+ input_list = #{inputList,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ filter_type = #{filterType,jdbcType=INTEGER},
+
+
+ search_type = #{searchType,jdbcType=INTEGER},
+
+
+ related_status = #{relatedStatus,jdbcType=INTEGER},
+
+
+ hand_add_status = #{handAddStatus,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute
+ set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ select_type = #{selectType,jdbcType=INTEGER},
+ input_type = #{inputType,jdbcType=INTEGER},
+ input_list = #{inputList,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ filter_type = #{filterType,jdbcType=INTEGER},
+ search_type = #{searchType,jdbcType=INTEGER},
+ related_status = #{relatedStatus,jdbcType=INTEGER},
+ hand_add_status = #{handAddStatus,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_attribute_category_id, name, select_type, input_type, input_list, sort,
+ filter_type, search_type, related_status, hand_add_status, type
+
+
+
+
+ delete from pms_product_attribute
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute (product_attribute_category_id, name,
+ select_type, input_type, input_list,
+ sort, filter_type, search_type,
+ related_status, hand_add_status, type
+ )
+ values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR},
+ #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR},
+ #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER},
+ #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute
+
+
+ product_attribute_category_id,
+
+
+ name,
+
+
+ select_type,
+
+
+ input_type,
+
+
+ input_list,
+
+
+ sort,
+
+
+ filter_type,
+
+
+ search_type,
+
+
+ related_status,
+
+
+ hand_add_status,
+
+
+ type,
+
+
+
+
+ #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{selectType,jdbcType=INTEGER},
+
+
+ #{inputType,jdbcType=INTEGER},
+
+
+ #{inputList,jdbcType=VARCHAR},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{filterType,jdbcType=INTEGER},
+
+
+ #{searchType,jdbcType=INTEGER},
+
+
+ #{relatedStatus,jdbcType=INTEGER},
+
+
+ #{handAddStatus,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_product_attribute
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ select_type = #{record.selectType,jdbcType=INTEGER},
+
+
+ input_type = #{record.inputType,jdbcType=INTEGER},
+
+
+ input_list = #{record.inputList,jdbcType=VARCHAR},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ filter_type = #{record.filterType,jdbcType=INTEGER},
+
+
+ search_type = #{record.searchType,jdbcType=INTEGER},
+
+
+ related_status = #{record.relatedStatus,jdbcType=INTEGER},
+
+
+ hand_add_status = #{record.handAddStatus,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_product_attribute
+ set id = #{record.id,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ select_type = #{record.selectType,jdbcType=INTEGER},
+ input_type = #{record.inputType,jdbcType=INTEGER},
+ input_list = #{record.inputList,jdbcType=VARCHAR},
+ sort = #{record.sort,jdbcType=INTEGER},
+ filter_type = #{record.filterType,jdbcType=INTEGER},
+ search_type = #{record.searchType,jdbcType=INTEGER},
+ related_status = #{record.relatedStatus,jdbcType=INTEGER},
+ hand_add_status = #{record.handAddStatus,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_product_attribute
+
+
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ select_type = #{selectType,jdbcType=INTEGER},
+
+
+ input_type = #{inputType,jdbcType=INTEGER},
+
+
+ input_list = #{inputList,jdbcType=VARCHAR},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ filter_type = #{filterType,jdbcType=INTEGER},
+
+
+ search_type = #{searchType,jdbcType=INTEGER},
+
+
+ related_status = #{relatedStatus,jdbcType=INTEGER},
+
+
+ hand_add_status = #{handAddStatus,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute
+ set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ select_type = #{selectType,jdbcType=INTEGER},
+ input_type = #{inputType,jdbcType=INTEGER},
+ input_list = #{inputList,jdbcType=VARCHAR},
+ sort = #{sort,jdbcType=INTEGER},
+ filter_type = #{filterType,jdbcType=INTEGER},
+ search_type = #{searchType,jdbcType=INTEGER},
+ related_status = #{relatedStatus,jdbcType=INTEGER},
+ hand_add_status = #{handAddStatus,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml
index 36738c5..3c54e01 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml
@@ -193,4 +193,388 @@
value = #{value,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_attribute_id, value
+
+
+
+
+ delete from pms_product_attribute_value
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute_value
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_value (product_id, product_attribute_id, value
+ )
+ values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_value
+
+
+ product_id,
+
+
+ product_attribute_id,
+
+
+ value,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productAttributeId,jdbcType=BIGINT},
+
+
+ #{value,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_product_attribute_value
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+
+
+ value = #{record.value,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_product_attribute_value
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+ value = #{record.value,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_attribute_value
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+
+
+ value = #{value,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute_value
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+ value = #{value,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_attribute_id, value
+
+
+
+
+ delete from pms_product_attribute_value
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_attribute_value
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_value (product_id, product_attribute_id, value
+ )
+ values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_attribute_value
+
+
+ product_id,
+
+
+ product_attribute_id,
+
+
+ value,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productAttributeId,jdbcType=BIGINT},
+
+
+ #{value,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_product_attribute_value
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+
+
+ value = #{record.value,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_product_attribute_value
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+ value = #{record.value,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_attribute_value
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+
+
+ value = #{value,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_attribute_value
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+ value = #{value,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml
index b7238f7..0191591 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml
@@ -178,4 +178,358 @@
product_attribute_id = #{productAttributeId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_category_id, product_attribute_id
+
+
+
+
+ delete from pms_product_category_attribute_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_category_attribute_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id
+ )
+ values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category_attribute_relation
+
+
+ product_category_id,
+
+
+ product_attribute_id,
+
+
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+ #{productAttributeId,jdbcType=BIGINT},
+
+
+
+
+
+ update pms_product_category_attribute_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update pms_product_category_attribute_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}
+
+
+
+
+
+ update pms_product_category_attribute_relation
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category_attribute_relation
+ set product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_category_id, product_attribute_id
+
+
+
+
+ delete from pms_product_category_attribute_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_category_attribute_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id
+ )
+ values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category_attribute_relation
+
+
+ product_category_id,
+
+
+ product_attribute_id,
+
+
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+ #{productAttributeId,jdbcType=BIGINT},
+
+
+
+
+
+ update pms_product_category_attribute_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update pms_product_category_attribute_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}
+
+
+
+
+
+ update pms_product_category_attribute_relation
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category_attribute_relation
+ set product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ product_attribute_id = #{productAttributeId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml
index 158a2f3..4dc7482 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml
@@ -372,4 +372,746 @@
keywords = #{keywords,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, parent_id, name, level, product_count, product_unit, nav_status, show_status,
+ sort, icon, keywords
+
+
+ description
+
+
+
+
+
+ delete from pms_product_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category (parent_id, name, level,
+ product_count, product_unit, nav_status,
+ show_status, sort, icon,
+ keywords, description)
+ values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER},
+ #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR},
+ #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category
+
+
+ parent_id,
+
+
+ name,
+
+
+ level,
+
+
+ product_count,
+
+
+ product_unit,
+
+
+ nav_status,
+
+
+ show_status,
+
+
+ sort,
+
+
+ icon,
+
+
+ keywords,
+
+
+ description,
+
+
+
+
+ #{parentId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{level,jdbcType=INTEGER},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productUnit,jdbcType=VARCHAR},
+
+
+ #{navStatus,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{keywords,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_product_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ level = #{record.level,jdbcType=INTEGER},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+
+
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_product_category
+ set id = #{record.id,jdbcType=BIGINT},
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ level = #{record.level,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_product_category
+ set id = #{record.id,jdbcType=BIGINT},
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ level = #{record.level,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_category
+
+
+ parent_id = #{parentId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ level = #{level,jdbcType=INTEGER},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+
+
+ nav_status = #{navStatus,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ keywords = #{keywords,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category
+ set parent_id = #{parentId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ level = #{level,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+ nav_status = #{navStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ description = #{description,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category
+ set parent_id = #{parentId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ level = #{level,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+ nav_status = #{navStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, parent_id, name, level, product_count, product_unit, nav_status, show_status,
+ sort, icon, keywords
+
+
+ description
+
+
+
+
+
+ delete from pms_product_category
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_category
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category (parent_id, name, level,
+ product_count, product_unit, nav_status,
+ show_status, sort, icon,
+ keywords, description)
+ values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER},
+ #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER},
+ #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR},
+ #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_category
+
+
+ parent_id,
+
+
+ name,
+
+
+ level,
+
+
+ product_count,
+
+
+ product_unit,
+
+
+ nav_status,
+
+
+ show_status,
+
+
+ sort,
+
+
+ icon,
+
+
+ keywords,
+
+
+ description,
+
+
+
+
+ #{parentId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{level,jdbcType=INTEGER},
+
+
+ #{productCount,jdbcType=INTEGER},
+
+
+ #{productUnit,jdbcType=VARCHAR},
+
+
+ #{navStatus,jdbcType=INTEGER},
+
+
+ #{showStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{keywords,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_product_category
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ level = #{record.level,jdbcType=INTEGER},
+
+
+ product_count = #{record.productCount,jdbcType=INTEGER},
+
+
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+
+
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+
+
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_product_category
+ set id = #{record.id,jdbcType=BIGINT},
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ level = #{record.level,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_product_category
+ set id = #{record.id,jdbcType=BIGINT},
+ parent_id = #{record.parentId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ level = #{record.level,jdbcType=INTEGER},
+ product_count = #{record.productCount,jdbcType=INTEGER},
+ product_unit = #{record.productUnit,jdbcType=VARCHAR},
+ nav_status = #{record.navStatus,jdbcType=INTEGER},
+ show_status = #{record.showStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_category
+
+
+ parent_id = #{parentId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ level = #{level,jdbcType=INTEGER},
+
+
+ product_count = #{productCount,jdbcType=INTEGER},
+
+
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+
+
+ nav_status = #{navStatus,jdbcType=INTEGER},
+
+
+ show_status = #{showStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ keywords = #{keywords,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category
+ set parent_id = #{parentId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ level = #{level,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+ nav_status = #{navStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ description = #{description,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_category
+ set parent_id = #{parentId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ level = #{level,jdbcType=INTEGER},
+ product_count = #{productCount,jdbcType=INTEGER},
+ product_unit = #{productUnit,jdbcType=VARCHAR},
+ nav_status = #{navStatus,jdbcType=INTEGER},
+ show_status = #{showStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ icon = #{icon,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml
index ccd01fd..6eb32ac 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml
@@ -193,4 +193,388 @@
reduce_price = #{reducePrice,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, full_price, reduce_price
+
+
+
+
+ delete from pms_product_full_reduction
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_full_reduction
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_full_reduction (product_id, full_price, reduce_price
+ )
+ values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_full_reduction
+
+
+ product_id,
+
+
+ full_price,
+
+
+ reduce_price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{fullPrice,jdbcType=DECIMAL},
+
+
+ #{reducePrice,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_product_full_reduction
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ full_price = #{record.fullPrice,jdbcType=DECIMAL},
+
+
+ reduce_price = #{record.reducePrice,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_product_full_reduction
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ full_price = #{record.fullPrice,jdbcType=DECIMAL},
+ reduce_price = #{record.reducePrice,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_product_full_reduction
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ full_price = #{fullPrice,jdbcType=DECIMAL},
+
+
+ reduce_price = #{reducePrice,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_full_reduction
+ set product_id = #{productId,jdbcType=BIGINT},
+ full_price = #{fullPrice,jdbcType=DECIMAL},
+ reduce_price = #{reducePrice,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, full_price, reduce_price
+
+
+
+
+ delete from pms_product_full_reduction
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_full_reduction
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_full_reduction (product_id, full_price, reduce_price
+ )
+ values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_full_reduction
+
+
+ product_id,
+
+
+ full_price,
+
+
+ reduce_price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{fullPrice,jdbcType=DECIMAL},
+
+
+ #{reducePrice,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_product_full_reduction
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ full_price = #{record.fullPrice,jdbcType=DECIMAL},
+
+
+ reduce_price = #{record.reducePrice,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_product_full_reduction
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ full_price = #{record.fullPrice,jdbcType=DECIMAL},
+ reduce_price = #{record.reducePrice,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_product_full_reduction
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ full_price = #{fullPrice,jdbcType=DECIMAL},
+
+
+ reduce_price = #{reducePrice,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_full_reduction
+ set product_id = #{productId,jdbcType=BIGINT},
+ full_price = #{fullPrice,jdbcType=DECIMAL},
+ reduce_price = #{reducePrice,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml
index f384098..2aff421 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml
@@ -208,4 +208,418 @@
price = #{price,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, count, discount, price
+
+
+
+
+ delete from pms_product_ladder
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_ladder
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_ladder (product_id, count, discount,
+ price)
+ values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL},
+ #{price,jdbcType=DECIMAL})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_ladder
+
+
+ product_id,
+
+
+ count,
+
+
+ discount,
+
+
+ price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{count,jdbcType=INTEGER},
+
+
+ #{discount,jdbcType=DECIMAL},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_product_ladder
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ count = #{record.count,jdbcType=INTEGER},
+
+
+ discount = #{record.discount,jdbcType=DECIMAL},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_product_ladder
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ count = #{record.count,jdbcType=INTEGER},
+ discount = #{record.discount,jdbcType=DECIMAL},
+ price = #{record.price,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_product_ladder
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ count = #{count,jdbcType=INTEGER},
+
+
+ discount = #{discount,jdbcType=DECIMAL},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_ladder
+ set product_id = #{productId,jdbcType=BIGINT},
+ count = #{count,jdbcType=INTEGER},
+ discount = #{discount,jdbcType=DECIMAL},
+ price = #{price,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, count, discount, price
+
+
+
+
+ delete from pms_product_ladder
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_ladder
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_ladder (product_id, count, discount,
+ price)
+ values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL},
+ #{price,jdbcType=DECIMAL})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_ladder
+
+
+ product_id,
+
+
+ count,
+
+
+ discount,
+
+
+ price,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{count,jdbcType=INTEGER},
+
+
+ #{discount,jdbcType=DECIMAL},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+
+
+
+ update pms_product_ladder
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ count = #{record.count,jdbcType=INTEGER},
+
+
+ discount = #{record.discount,jdbcType=DECIMAL},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update pms_product_ladder
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ count = #{record.count,jdbcType=INTEGER},
+ discount = #{record.discount,jdbcType=DECIMAL},
+ price = #{record.price,jdbcType=DECIMAL}
+
+
+
+
+
+ update pms_product_ladder
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ count = #{count,jdbcType=INTEGER},
+
+
+ discount = #{discount,jdbcType=DECIMAL},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_ladder
+ set product_id = #{productId,jdbcType=BIGINT},
+ count = #{count,jdbcType=INTEGER},
+ discount = #{discount,jdbcType=DECIMAL},
+ price = #{price,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml
index e43712f..5e089e1 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml
@@ -956,4 +956,1914 @@
product_category_name = #{productCategoryName,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, brand_id, product_category_id, feight_template_id, product_attribute_category_id,
+ flash_promotion_id, name, pic, product_sn, delete_status, publish_status, new_status,
+ recommand_status, verify_status, sort, sale, price, promotion_price, gift_point,
+ use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status,
+ service_ids, keywords, note, album_pics, detail_title, flash_promotion_price, flash_promotion_count,
+ flash_promotion_sort, promotion_start_time, promotion_end_time, promotion_per_limit,
+ promotion_type, brand_name, product_category_name
+
+
+ description, detail_desc, detail_html, detail_mobile_html
+
+
+
+
+
+ delete from pms_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product (brand_id, product_category_id, feight_template_id,
+ product_attribute_category_id, flash_promotion_id,
+ name, pic, product_sn,
+ delete_status, publish_status, new_status,
+ recommand_status, verify_status, sort,
+ sale, price, promotion_price,
+ gift_point, use_point_limit, sub_title,
+ original_price, stock, low_stock,
+ unit, weight, preview_status,
+ service_ids, keywords, note,
+ album_pics, detail_title, flash_promotion_price,
+ flash_promotion_count, flash_promotion_sort,
+ promotion_start_time, promotion_end_time,
+ promotion_per_limit, promotion_type, brand_name,
+ product_category_name, description, detail_desc,
+ detail_html, detail_mobile_html)
+ values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT},
+ #{productAttributeCategoryId,jdbcType=BIGINT}, #{flashPromotionId,jdbcType=INTEGER},
+ #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR},
+ #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER},
+ #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER},
+ #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL},
+ #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR},
+ #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER},
+ #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER},
+ #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR},
+ #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{flashPromotionPrice,jdbcType=DECIMAL},
+ #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionSort,jdbcType=INTEGER},
+ #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP},
+ #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR},
+ #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR},
+ #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product
+
+
+ brand_id,
+
+
+ product_category_id,
+
+
+ feight_template_id,
+
+
+ product_attribute_category_id,
+
+
+ flash_promotion_id,
+
+
+ name,
+
+
+ pic,
+
+
+ product_sn,
+
+
+ delete_status,
+
+
+ publish_status,
+
+
+ new_status,
+
+
+ recommand_status,
+
+
+ verify_status,
+
+
+ sort,
+
+
+ sale,
+
+
+ price,
+
+
+ promotion_price,
+
+
+ gift_point,
+
+
+ use_point_limit,
+
+
+ sub_title,
+
+
+ original_price,
+
+
+ stock,
+
+
+ low_stock,
+
+
+ unit,
+
+
+ weight,
+
+
+ preview_status,
+
+
+ service_ids,
+
+
+ keywords,
+
+
+ note,
+
+
+ album_pics,
+
+
+ detail_title,
+
+
+ flash_promotion_price,
+
+
+ flash_promotion_count,
+
+
+ flash_promotion_sort,
+
+
+ promotion_start_time,
+
+
+ promotion_end_time,
+
+
+ promotion_per_limit,
+
+
+ promotion_type,
+
+
+ brand_name,
+
+
+ product_category_name,
+
+
+ description,
+
+
+ detail_desc,
+
+
+ detail_html,
+
+
+ detail_mobile_html,
+
+
+
+
+ #{brandId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+ #{feightTemplateId,jdbcType=BIGINT},
+
+
+ #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ #{flashPromotionId,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{productSn,jdbcType=VARCHAR},
+
+
+ #{deleteStatus,jdbcType=INTEGER},
+
+
+ #{publishStatus,jdbcType=INTEGER},
+
+
+ #{newStatus,jdbcType=INTEGER},
+
+
+ #{recommandStatus,jdbcType=INTEGER},
+
+
+ #{verifyStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{sale,jdbcType=INTEGER},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+ #{promotionPrice,jdbcType=DECIMAL},
+
+
+ #{giftPoint,jdbcType=INTEGER},
+
+
+ #{usePointLimit,jdbcType=INTEGER},
+
+
+ #{subTitle,jdbcType=VARCHAR},
+
+
+ #{originalPrice,jdbcType=DECIMAL},
+
+
+ #{stock,jdbcType=INTEGER},
+
+
+ #{lowStock,jdbcType=INTEGER},
+
+
+ #{unit,jdbcType=VARCHAR},
+
+
+ #{weight,jdbcType=DECIMAL},
+
+
+ #{previewStatus,jdbcType=INTEGER},
+
+
+ #{serviceIds,jdbcType=VARCHAR},
+
+
+ #{keywords,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{albumPics,jdbcType=VARCHAR},
+
+
+ #{detailTitle,jdbcType=VARCHAR},
+
+
+ #{flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ #{flashPromotionCount,jdbcType=INTEGER},
+
+
+ #{flashPromotionSort,jdbcType=INTEGER},
+
+
+ #{promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ #{promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ #{promotionPerLimit,jdbcType=INTEGER},
+
+
+ #{promotionType,jdbcType=INTEGER},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{productCategoryName,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=LONGVARCHAR},
+
+
+ #{detailDesc,jdbcType=LONGVARCHAR},
+
+
+ #{detailHtml,jdbcType=LONGVARCHAR},
+
+
+ #{detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+
+
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+
+
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+
+
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+
+
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+
+
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ sale = #{record.sale,jdbcType=INTEGER},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+
+
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+
+
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+
+
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+
+
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+
+
+ stock = #{record.stock,jdbcType=INTEGER},
+
+
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+
+
+ unit = #{record.unit,jdbcType=VARCHAR},
+
+
+ weight = #{record.weight,jdbcType=DECIMAL},
+
+
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+
+
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+
+
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+
+
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+
+
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+
+
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+
+
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=LONGVARCHAR},
+
+
+ detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR},
+
+
+ detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR},
+
+
+ detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_product
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ sale = #{record.sale,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ weight = #{record.weight,jdbcType=DECIMAL},
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=LONGVARCHAR},
+ detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR},
+ detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR},
+ detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_product
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ sale = #{record.sale,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ weight = #{record.weight,jdbcType=DECIMAL},
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product
+
+
+ brand_id = #{brandId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ product_sn = #{productSn,jdbcType=VARCHAR},
+
+
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+
+
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+
+
+ new_status = #{newStatus,jdbcType=INTEGER},
+
+
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+
+
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ sale = #{sale,jdbcType=INTEGER},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+
+
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+
+
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+
+
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+
+
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+
+
+ stock = #{stock,jdbcType=INTEGER},
+
+
+ low_stock = #{lowStock,jdbcType=INTEGER},
+
+
+ unit = #{unit,jdbcType=VARCHAR},
+
+
+ weight = #{weight,jdbcType=DECIMAL},
+
+
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+
+
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+
+
+ keywords = #{keywords,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+
+
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+
+
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+
+
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+
+
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+
+
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=LONGVARCHAR},
+
+
+ detail_desc = #{detailDesc,jdbcType=LONGVARCHAR},
+
+
+ detail_html = #{detailHtml,jdbcType=LONGVARCHAR},
+
+
+ detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+ new_status = #{newStatus,jdbcType=INTEGER},
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ sale = #{sale,jdbcType=INTEGER},
+ price = #{price,jdbcType=DECIMAL},
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ unit = #{unit,jdbcType=VARCHAR},
+ weight = #{weight,jdbcType=DECIMAL},
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR},
+ description = #{description,jdbcType=LONGVARCHAR},
+ detail_desc = #{detailDesc,jdbcType=LONGVARCHAR},
+ detail_html = #{detailHtml,jdbcType=LONGVARCHAR},
+ detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+ new_status = #{newStatus,jdbcType=INTEGER},
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ sale = #{sale,jdbcType=INTEGER},
+ price = #{price,jdbcType=DECIMAL},
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ unit = #{unit,jdbcType=VARCHAR},
+ weight = #{weight,jdbcType=DECIMAL},
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, brand_id, product_category_id, feight_template_id, product_attribute_category_id,
+ flash_promotion_id, name, pic, product_sn, delete_status, publish_status, new_status,
+ recommand_status, verify_status, sort, sale, price, promotion_price, gift_point,
+ use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status,
+ service_ids, keywords, note, album_pics, detail_title, flash_promotion_price, flash_promotion_count,
+ flash_promotion_sort, promotion_start_time, promotion_end_time, promotion_per_limit,
+ promotion_type, brand_name, product_category_name
+
+
+ description, detail_desc, detail_html, detail_mobile_html
+
+
+
+
+
+ delete from pms_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product (brand_id, product_category_id, feight_template_id,
+ product_attribute_category_id, flash_promotion_id,
+ name, pic, product_sn,
+ delete_status, publish_status, new_status,
+ recommand_status, verify_status, sort,
+ sale, price, promotion_price,
+ gift_point, use_point_limit, sub_title,
+ original_price, stock, low_stock,
+ unit, weight, preview_status,
+ service_ids, keywords, note,
+ album_pics, detail_title, flash_promotion_price,
+ flash_promotion_count, flash_promotion_sort,
+ promotion_start_time, promotion_end_time,
+ promotion_per_limit, promotion_type, brand_name,
+ product_category_name, description, detail_desc,
+ detail_html, detail_mobile_html)
+ values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT},
+ #{productAttributeCategoryId,jdbcType=BIGINT}, #{flashPromotionId,jdbcType=INTEGER},
+ #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR},
+ #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER},
+ #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER},
+ #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL},
+ #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR},
+ #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER},
+ #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER},
+ #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR},
+ #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{flashPromotionPrice,jdbcType=DECIMAL},
+ #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionSort,jdbcType=INTEGER},
+ #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP},
+ #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR},
+ #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR},
+ #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product
+
+
+ brand_id,
+
+
+ product_category_id,
+
+
+ feight_template_id,
+
+
+ product_attribute_category_id,
+
+
+ flash_promotion_id,
+
+
+ name,
+
+
+ pic,
+
+
+ product_sn,
+
+
+ delete_status,
+
+
+ publish_status,
+
+
+ new_status,
+
+
+ recommand_status,
+
+
+ verify_status,
+
+
+ sort,
+
+
+ sale,
+
+
+ price,
+
+
+ promotion_price,
+
+
+ gift_point,
+
+
+ use_point_limit,
+
+
+ sub_title,
+
+
+ original_price,
+
+
+ stock,
+
+
+ low_stock,
+
+
+ unit,
+
+
+ weight,
+
+
+ preview_status,
+
+
+ service_ids,
+
+
+ keywords,
+
+
+ note,
+
+
+ album_pics,
+
+
+ detail_title,
+
+
+ flash_promotion_price,
+
+
+ flash_promotion_count,
+
+
+ flash_promotion_sort,
+
+
+ promotion_start_time,
+
+
+ promotion_end_time,
+
+
+ promotion_per_limit,
+
+
+ promotion_type,
+
+
+ brand_name,
+
+
+ product_category_name,
+
+
+ description,
+
+
+ detail_desc,
+
+
+ detail_html,
+
+
+ detail_mobile_html,
+
+
+
+
+ #{brandId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+ #{feightTemplateId,jdbcType=BIGINT},
+
+
+ #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ #{flashPromotionId,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{productSn,jdbcType=VARCHAR},
+
+
+ #{deleteStatus,jdbcType=INTEGER},
+
+
+ #{publishStatus,jdbcType=INTEGER},
+
+
+ #{newStatus,jdbcType=INTEGER},
+
+
+ #{recommandStatus,jdbcType=INTEGER},
+
+
+ #{verifyStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+ #{sale,jdbcType=INTEGER},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+ #{promotionPrice,jdbcType=DECIMAL},
+
+
+ #{giftPoint,jdbcType=INTEGER},
+
+
+ #{usePointLimit,jdbcType=INTEGER},
+
+
+ #{subTitle,jdbcType=VARCHAR},
+
+
+ #{originalPrice,jdbcType=DECIMAL},
+
+
+ #{stock,jdbcType=INTEGER},
+
+
+ #{lowStock,jdbcType=INTEGER},
+
+
+ #{unit,jdbcType=VARCHAR},
+
+
+ #{weight,jdbcType=DECIMAL},
+
+
+ #{previewStatus,jdbcType=INTEGER},
+
+
+ #{serviceIds,jdbcType=VARCHAR},
+
+
+ #{keywords,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{albumPics,jdbcType=VARCHAR},
+
+
+ #{detailTitle,jdbcType=VARCHAR},
+
+
+ #{flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ #{flashPromotionCount,jdbcType=INTEGER},
+
+
+ #{flashPromotionSort,jdbcType=INTEGER},
+
+
+ #{promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ #{promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ #{promotionPerLimit,jdbcType=INTEGER},
+
+
+ #{promotionType,jdbcType=INTEGER},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{productCategoryName,jdbcType=VARCHAR},
+
+
+ #{description,jdbcType=LONGVARCHAR},
+
+
+ #{detailDesc,jdbcType=LONGVARCHAR},
+
+
+ #{detailHtml,jdbcType=LONGVARCHAR},
+
+
+ #{detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+
+
+
+ update pms_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+
+
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+
+
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+
+
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+
+
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+
+
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+ sale = #{record.sale,jdbcType=INTEGER},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+
+
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+
+
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+
+
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+
+
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+
+
+ stock = #{record.stock,jdbcType=INTEGER},
+
+
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+
+
+ unit = #{record.unit,jdbcType=VARCHAR},
+
+
+ weight = #{record.weight,jdbcType=DECIMAL},
+
+
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+
+
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+
+
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+
+
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+
+
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+
+
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+
+
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+
+
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR},
+
+
+ description = #{record.description,jdbcType=LONGVARCHAR},
+
+
+ detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR},
+
+
+ detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR},
+
+
+ detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+
+
+
+
+
+ update pms_product
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ sale = #{record.sale,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ weight = #{record.weight,jdbcType=DECIMAL},
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR},
+ description = #{record.description,jdbcType=LONGVARCHAR},
+ detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR},
+ detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR},
+ detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}
+
+
+
+
+
+ update pms_product
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
+ publish_status = #{record.publishStatus,jdbcType=INTEGER},
+ new_status = #{record.newStatus,jdbcType=INTEGER},
+ recommand_status = #{record.recommandStatus,jdbcType=INTEGER},
+ verify_status = #{record.verifyStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER},
+ sale = #{record.sale,jdbcType=INTEGER},
+ price = #{record.price,jdbcType=DECIMAL},
+ promotion_price = #{record.promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{record.giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{record.usePointLimit,jdbcType=INTEGER},
+ sub_title = #{record.subTitle,jdbcType=VARCHAR},
+ original_price = #{record.originalPrice,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ unit = #{record.unit,jdbcType=VARCHAR},
+ weight = #{record.weight,jdbcType=DECIMAL},
+ preview_status = #{record.previewStatus,jdbcType=INTEGER},
+ service_ids = #{record.serviceIds,jdbcType=VARCHAR},
+ keywords = #{record.keywords,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR},
+ album_pics = #{record.albumPics,jdbcType=VARCHAR},
+ detail_title = #{record.detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{record.promotionType,jdbcType=INTEGER},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product
+
+
+ brand_id = #{brandId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+
+
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+
+
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ product_sn = #{productSn,jdbcType=VARCHAR},
+
+
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+
+
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+
+
+ new_status = #{newStatus,jdbcType=INTEGER},
+
+
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+
+
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ sale = #{sale,jdbcType=INTEGER},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+
+
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+
+
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+
+
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+
+
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+
+
+ stock = #{stock,jdbcType=INTEGER},
+
+
+ low_stock = #{lowStock,jdbcType=INTEGER},
+
+
+ unit = #{unit,jdbcType=VARCHAR},
+
+
+ weight = #{weight,jdbcType=DECIMAL},
+
+
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+
+
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+
+
+ keywords = #{keywords,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+
+
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+
+
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+
+
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+
+
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+
+
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+
+
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+
+
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+
+
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR},
+
+
+ description = #{description,jdbcType=LONGVARCHAR},
+
+
+ detail_desc = #{detailDesc,jdbcType=LONGVARCHAR},
+
+
+ detail_html = #{detailHtml,jdbcType=LONGVARCHAR},
+
+
+ detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+ new_status = #{newStatus,jdbcType=INTEGER},
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ sale = #{sale,jdbcType=INTEGER},
+ price = #{price,jdbcType=DECIMAL},
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ unit = #{unit,jdbcType=VARCHAR},
+ weight = #{weight,jdbcType=DECIMAL},
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR},
+ description = #{description,jdbcType=LONGVARCHAR},
+ detail_desc = #{detailDesc,jdbcType=LONGVARCHAR},
+ detail_html = #{detailHtml,jdbcType=LONGVARCHAR},
+ detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+ feight_template_id = #{feightTemplateId,jdbcType=BIGINT},
+ product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT},
+ flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ product_sn = #{productSn,jdbcType=VARCHAR},
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
+ publish_status = #{publishStatus,jdbcType=INTEGER},
+ new_status = #{newStatus,jdbcType=INTEGER},
+ recommand_status = #{recommandStatus,jdbcType=INTEGER},
+ verify_status = #{verifyStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER},
+ sale = #{sale,jdbcType=INTEGER},
+ price = #{price,jdbcType=DECIMAL},
+ promotion_price = #{promotionPrice,jdbcType=DECIMAL},
+ gift_point = #{giftPoint,jdbcType=INTEGER},
+ use_point_limit = #{usePointLimit,jdbcType=INTEGER},
+ sub_title = #{subTitle,jdbcType=VARCHAR},
+ original_price = #{originalPrice,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ unit = #{unit,jdbcType=VARCHAR},
+ weight = #{weight,jdbcType=DECIMAL},
+ preview_status = #{previewStatus,jdbcType=INTEGER},
+ service_ids = #{serviceIds,jdbcType=VARCHAR},
+ keywords = #{keywords,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR},
+ album_pics = #{albumPics,jdbcType=VARCHAR},
+ detail_title = #{detailTitle,jdbcType=VARCHAR},
+ flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL},
+ flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER},
+ flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER},
+ promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP},
+ promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP},
+ promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER},
+ promotion_type = #{promotionType,jdbcType=INTEGER},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ product_category_name = #{productCategoryName,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml
index 0e29be1..da4cb7f 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml
@@ -318,4 +318,638 @@
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old,
+ gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time
+
+
+
+
+ delete from pms_product_operate_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_operate_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_operate_log (product_id, price_old, price_new,
+ sale_price_old, sale_price_new, gift_point_old,
+ gift_point_new, use_point_limit_old, use_point_limit_new,
+ operate_man, create_time)
+ values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL},
+ #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER},
+ #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER},
+ #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_operate_log
+
+
+ product_id,
+
+
+ price_old,
+
+
+ price_new,
+
+
+ sale_price_old,
+
+
+ sale_price_new,
+
+
+ gift_point_old,
+
+
+ gift_point_new,
+
+
+ use_point_limit_old,
+
+
+ use_point_limit_new,
+
+
+ operate_man,
+
+
+ create_time,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{priceOld,jdbcType=DECIMAL},
+
+
+ #{priceNew,jdbcType=DECIMAL},
+
+
+ #{salePriceOld,jdbcType=DECIMAL},
+
+
+ #{salePriceNew,jdbcType=DECIMAL},
+
+
+ #{giftPointOld,jdbcType=INTEGER},
+
+
+ #{giftPointNew,jdbcType=INTEGER},
+
+
+ #{usePointLimitOld,jdbcType=INTEGER},
+
+
+ #{usePointLimitNew,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update pms_product_operate_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ price_old = #{record.priceOld,jdbcType=DECIMAL},
+
+
+ price_new = #{record.priceNew,jdbcType=DECIMAL},
+
+
+ sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL},
+
+
+ sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL},
+
+
+ gift_point_old = #{record.giftPointOld,jdbcType=INTEGER},
+
+
+ gift_point_new = #{record.giftPointNew,jdbcType=INTEGER},
+
+
+ use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER},
+
+
+ use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update pms_product_operate_log
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ price_old = #{record.priceOld,jdbcType=DECIMAL},
+ price_new = #{record.priceNew,jdbcType=DECIMAL},
+ sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL},
+ sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL},
+ gift_point_old = #{record.giftPointOld,jdbcType=INTEGER},
+ gift_point_new = #{record.giftPointNew,jdbcType=INTEGER},
+ use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER},
+ use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update pms_product_operate_log
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ price_old = #{priceOld,jdbcType=DECIMAL},
+
+
+ price_new = #{priceNew,jdbcType=DECIMAL},
+
+
+ sale_price_old = #{salePriceOld,jdbcType=DECIMAL},
+
+
+ sale_price_new = #{salePriceNew,jdbcType=DECIMAL},
+
+
+ gift_point_old = #{giftPointOld,jdbcType=INTEGER},
+
+
+ gift_point_new = #{giftPointNew,jdbcType=INTEGER},
+
+
+ use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER},
+
+
+ use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_operate_log
+ set product_id = #{productId,jdbcType=BIGINT},
+ price_old = #{priceOld,jdbcType=DECIMAL},
+ price_new = #{priceNew,jdbcType=DECIMAL},
+ sale_price_old = #{salePriceOld,jdbcType=DECIMAL},
+ sale_price_new = #{salePriceNew,jdbcType=DECIMAL},
+ gift_point_old = #{giftPointOld,jdbcType=INTEGER},
+ gift_point_new = #{giftPointNew,jdbcType=INTEGER},
+ use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER},
+ use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old,
+ gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time
+
+
+
+
+ delete from pms_product_operate_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_operate_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_operate_log (product_id, price_old, price_new,
+ sale_price_old, sale_price_new, gift_point_old,
+ gift_point_new, use_point_limit_old, use_point_limit_new,
+ operate_man, create_time)
+ values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL},
+ #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER},
+ #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER},
+ #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_operate_log
+
+
+ product_id,
+
+
+ price_old,
+
+
+ price_new,
+
+
+ sale_price_old,
+
+
+ sale_price_new,
+
+
+ gift_point_old,
+
+
+ gift_point_new,
+
+
+ use_point_limit_old,
+
+
+ use_point_limit_new,
+
+
+ operate_man,
+
+
+ create_time,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{priceOld,jdbcType=DECIMAL},
+
+
+ #{priceNew,jdbcType=DECIMAL},
+
+
+ #{salePriceOld,jdbcType=DECIMAL},
+
+
+ #{salePriceNew,jdbcType=DECIMAL},
+
+
+ #{giftPointOld,jdbcType=INTEGER},
+
+
+ #{giftPointNew,jdbcType=INTEGER},
+
+
+ #{usePointLimitOld,jdbcType=INTEGER},
+
+
+ #{usePointLimitNew,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update pms_product_operate_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ price_old = #{record.priceOld,jdbcType=DECIMAL},
+
+
+ price_new = #{record.priceNew,jdbcType=DECIMAL},
+
+
+ sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL},
+
+
+ sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL},
+
+
+ gift_point_old = #{record.giftPointOld,jdbcType=INTEGER},
+
+
+ gift_point_new = #{record.giftPointNew,jdbcType=INTEGER},
+
+
+ use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER},
+
+
+ use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update pms_product_operate_log
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ price_old = #{record.priceOld,jdbcType=DECIMAL},
+ price_new = #{record.priceNew,jdbcType=DECIMAL},
+ sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL},
+ sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL},
+ gift_point_old = #{record.giftPointOld,jdbcType=INTEGER},
+ gift_point_new = #{record.giftPointNew,jdbcType=INTEGER},
+ use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER},
+ use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update pms_product_operate_log
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ price_old = #{priceOld,jdbcType=DECIMAL},
+
+
+ price_new = #{priceNew,jdbcType=DECIMAL},
+
+
+ sale_price_old = #{salePriceOld,jdbcType=DECIMAL},
+
+
+ sale_price_new = #{salePriceNew,jdbcType=DECIMAL},
+
+
+ gift_point_old = #{giftPointOld,jdbcType=INTEGER},
+
+
+ gift_point_new = #{giftPointNew,jdbcType=INTEGER},
+
+
+ use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER},
+
+
+ use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_operate_log
+ set product_id = #{productId,jdbcType=BIGINT},
+ price_old = #{priceOld,jdbcType=DECIMAL},
+ price_new = #{priceNew,jdbcType=DECIMAL},
+ sale_price_old = #{salePriceOld,jdbcType=DECIMAL},
+ sale_price_new = #{salePriceNew,jdbcType=DECIMAL},
+ gift_point_old = #{giftPointOld,jdbcType=INTEGER},
+ gift_point_new = #{giftPointNew,jdbcType=INTEGER},
+ use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER},
+ use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ create_time = #{createTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml
index 1639662..ec259b0 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml
@@ -223,4 +223,448 @@
detail = #{detail,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, create_time, vertify_man, status, detail
+
+
+
+
+ delete from pms_product_vertify_record
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_vertify_record
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_vertify_record (product_id, create_time, vertify_man,
+ status, detail)
+ values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR},
+ #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_vertify_record
+
+
+ product_id,
+
+
+ create_time,
+
+
+ vertify_man,
+
+
+ status,
+
+
+ detail,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{vertifyMan,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{detail,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_product_vertify_record
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ vertify_man = #{record.vertifyMan,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ detail = #{record.detail,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_product_vertify_record
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ vertify_man = #{record.vertifyMan,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ detail = #{record.detail,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_vertify_record
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ vertify_man = #{vertifyMan,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ detail = #{detail,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_vertify_record
+ set product_id = #{productId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ vertify_man = #{vertifyMan,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ detail = #{detail,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, create_time, vertify_man, status, detail
+
+
+
+
+ delete from pms_product_vertify_record
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_product_vertify_record
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_vertify_record (product_id, create_time, vertify_man,
+ status, detail)
+ values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR},
+ #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_product_vertify_record
+
+
+ product_id,
+
+
+ create_time,
+
+
+ vertify_man,
+
+
+ status,
+
+
+ detail,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{vertifyMan,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{detail,jdbcType=VARCHAR},
+
+
+
+
+
+ update pms_product_vertify_record
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ vertify_man = #{record.vertifyMan,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ detail = #{record.detail,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update pms_product_vertify_record
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ vertify_man = #{record.vertifyMan,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ detail = #{record.detail,jdbcType=VARCHAR}
+
+
+
+
+
+ update pms_product_vertify_record
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ vertify_man = #{vertifyMan,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ detail = #{detail,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_product_vertify_record
+ set product_id = #{productId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ vertify_man = #{vertifyMan,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ detail = #{detail,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml
index 9a9235a..4b2874a 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml
@@ -302,4 +302,606 @@
sale = #{sale,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale
+
+
+
+
+ delete from pms_sku_stock
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_sku_stock
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_sku_stock (product_id, sku_code, price,
+ stock, low_stock, sp1,
+ sp2, sp3, pic, sale
+ )
+ values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL},
+ #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR},
+ #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_sku_stock
+
+
+ product_id,
+
+
+ sku_code,
+
+
+ price,
+
+
+ stock,
+
+
+ low_stock,
+
+
+ sp1,
+
+
+ sp2,
+
+
+ sp3,
+
+
+ pic,
+
+
+ sale,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{skuCode,jdbcType=VARCHAR},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+ #{stock,jdbcType=INTEGER},
+
+
+ #{lowStock,jdbcType=INTEGER},
+
+
+ #{sp1,jdbcType=VARCHAR},
+
+
+ #{sp2,jdbcType=VARCHAR},
+
+
+ #{sp3,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{sale,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_sku_stock
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ sku_code = #{record.skuCode,jdbcType=VARCHAR},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ stock = #{record.stock,jdbcType=INTEGER},
+
+
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+
+
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ sale = #{record.sale,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_sku_stock
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ sku_code = #{record.skuCode,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ sale = #{record.sale,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_sku_stock
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ sku_code = #{skuCode,jdbcType=VARCHAR},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ stock = #{stock,jdbcType=INTEGER},
+
+
+ low_stock = #{lowStock,jdbcType=INTEGER},
+
+
+ sp1 = #{sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{sp3,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ sale = #{sale,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_sku_stock
+ set product_id = #{productId,jdbcType=BIGINT},
+ sku_code = #{skuCode,jdbcType=VARCHAR},
+ price = #{price,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ sp1 = #{sp1,jdbcType=VARCHAR},
+ sp2 = #{sp2,jdbcType=VARCHAR},
+ sp3 = #{sp3,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ sale = #{sale,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale
+
+
+
+
+ delete from pms_sku_stock
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from pms_sku_stock
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_sku_stock (product_id, sku_code, price,
+ stock, low_stock, sp1,
+ sp2, sp3, pic, sale
+ )
+ values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL},
+ #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR},
+ #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into pms_sku_stock
+
+
+ product_id,
+
+
+ sku_code,
+
+
+ price,
+
+
+ stock,
+
+
+ low_stock,
+
+
+ sp1,
+
+
+ sp2,
+
+
+ sp3,
+
+
+ pic,
+
+
+ sale,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{skuCode,jdbcType=VARCHAR},
+
+
+ #{price,jdbcType=DECIMAL},
+
+
+ #{stock,jdbcType=INTEGER},
+
+
+ #{lowStock,jdbcType=INTEGER},
+
+
+ #{sp1,jdbcType=VARCHAR},
+
+
+ #{sp2,jdbcType=VARCHAR},
+
+
+ #{sp3,jdbcType=VARCHAR},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{sale,jdbcType=INTEGER},
+
+
+
+
+
+ update pms_sku_stock
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ sku_code = #{record.skuCode,jdbcType=VARCHAR},
+
+
+ price = #{record.price,jdbcType=DECIMAL},
+
+
+ stock = #{record.stock,jdbcType=INTEGER},
+
+
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+
+
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ sale = #{record.sale,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update pms_sku_stock
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ sku_code = #{record.skuCode,jdbcType=VARCHAR},
+ price = #{record.price,jdbcType=DECIMAL},
+ stock = #{record.stock,jdbcType=INTEGER},
+ low_stock = #{record.lowStock,jdbcType=INTEGER},
+ sp1 = #{record.sp1,jdbcType=VARCHAR},
+ sp2 = #{record.sp2,jdbcType=VARCHAR},
+ sp3 = #{record.sp3,jdbcType=VARCHAR},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ sale = #{record.sale,jdbcType=INTEGER}
+
+
+
+
+
+ update pms_sku_stock
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ sku_code = #{skuCode,jdbcType=VARCHAR},
+
+
+ price = #{price,jdbcType=DECIMAL},
+
+
+ stock = #{stock,jdbcType=INTEGER},
+
+
+ low_stock = #{lowStock,jdbcType=INTEGER},
+
+
+ sp1 = #{sp1,jdbcType=VARCHAR},
+
+
+ sp2 = #{sp2,jdbcType=VARCHAR},
+
+
+ sp3 = #{sp3,jdbcType=VARCHAR},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ sale = #{sale,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update pms_sku_stock
+ set product_id = #{productId,jdbcType=BIGINT},
+ sku_code = #{skuCode,jdbcType=VARCHAR},
+ price = #{price,jdbcType=DECIMAL},
+ stock = #{stock,jdbcType=INTEGER},
+ low_stock = #{lowStock,jdbcType=INTEGER},
+ sp1 = #{sp1,jdbcType=VARCHAR},
+ sp2 = #{sp2,jdbcType=VARCHAR},
+ sp3 = #{sp3,jdbcType=VARCHAR},
+ pic = #{pic,jdbcType=VARCHAR},
+ sale = #{sale,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml
index 0f5e31d..0967a35 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml
@@ -288,4 +288,578 @@
order_id = #{orderId,jdbcType=CHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status,
+ use_time, order_id
+
+
+
+
+ delete from sms_coupon_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_history (coupon_id, member_id, coupon_code,
+ member_nickname, get_type, create_time,
+ use_status, use_time, order_id
+ )
+ values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR},
+ #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
+ #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=CHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_history
+
+
+ coupon_id,
+
+
+ member_id,
+
+
+ coupon_code,
+
+
+ member_nickname,
+
+
+ get_type,
+
+
+ create_time,
+
+
+ use_status,
+
+
+ use_time,
+
+
+ order_id,
+
+
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{couponCode,jdbcType=VARCHAR},
+
+
+ #{memberNickname,jdbcType=VARCHAR},
+
+
+ #{getType,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{useStatus,jdbcType=INTEGER},
+
+
+ #{useTime,jdbcType=TIMESTAMP},
+
+
+ #{orderId,jdbcType=CHAR},
+
+
+
+
+
+ update sms_coupon_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ coupon_code = #{record.couponCode,jdbcType=VARCHAR},
+
+
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
+
+
+ get_type = #{record.getType,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ use_status = #{record.useStatus,jdbcType=INTEGER},
+
+
+ use_time = #{record.useTime,jdbcType=TIMESTAMP},
+
+
+ order_id = #{record.orderId,jdbcType=CHAR},
+
+
+
+
+
+
+
+ update sms_coupon_history
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ coupon_code = #{record.couponCode,jdbcType=VARCHAR},
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
+ get_type = #{record.getType,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ use_status = #{record.useStatus,jdbcType=INTEGER},
+ use_time = #{record.useTime,jdbcType=TIMESTAMP},
+ order_id = #{record.orderId,jdbcType=CHAR}
+
+
+
+
+
+ update sms_coupon_history
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ coupon_code = #{couponCode,jdbcType=VARCHAR},
+
+
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
+
+
+ get_type = #{getType,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ use_status = #{useStatus,jdbcType=INTEGER},
+
+
+ use_time = #{useTime,jdbcType=TIMESTAMP},
+
+
+ order_id = #{orderId,jdbcType=CHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_history
+ set coupon_id = #{couponId,jdbcType=BIGINT},
+ member_id = #{memberId,jdbcType=BIGINT},
+ coupon_code = #{couponCode,jdbcType=VARCHAR},
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
+ get_type = #{getType,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ use_status = #{useStatus,jdbcType=INTEGER},
+ use_time = #{useTime,jdbcType=TIMESTAMP},
+ order_id = #{orderId,jdbcType=CHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status,
+ use_time, order_id
+
+
+
+
+ delete from sms_coupon_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_history (coupon_id, member_id, coupon_code,
+ member_nickname, get_type, create_time,
+ use_status, use_time, order_id
+ )
+ values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR},
+ #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
+ #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=CHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_history
+
+
+ coupon_id,
+
+
+ member_id,
+
+
+ coupon_code,
+
+
+ member_nickname,
+
+
+ get_type,
+
+
+ create_time,
+
+
+ use_status,
+
+
+ use_time,
+
+
+ order_id,
+
+
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{couponCode,jdbcType=VARCHAR},
+
+
+ #{memberNickname,jdbcType=VARCHAR},
+
+
+ #{getType,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{useStatus,jdbcType=INTEGER},
+
+
+ #{useTime,jdbcType=TIMESTAMP},
+
+
+ #{orderId,jdbcType=CHAR},
+
+
+
+
+
+ update sms_coupon_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ coupon_code = #{record.couponCode,jdbcType=VARCHAR},
+
+
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
+
+
+ get_type = #{record.getType,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ use_status = #{record.useStatus,jdbcType=INTEGER},
+
+
+ use_time = #{record.useTime,jdbcType=TIMESTAMP},
+
+
+ order_id = #{record.orderId,jdbcType=CHAR},
+
+
+
+
+
+
+
+ update sms_coupon_history
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ coupon_code = #{record.couponCode,jdbcType=VARCHAR},
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
+ get_type = #{record.getType,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ use_status = #{record.useStatus,jdbcType=INTEGER},
+ use_time = #{record.useTime,jdbcType=TIMESTAMP},
+ order_id = #{record.orderId,jdbcType=CHAR}
+
+
+
+
+
+ update sms_coupon_history
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ coupon_code = #{couponCode,jdbcType=VARCHAR},
+
+
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
+
+
+ get_type = #{getType,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ use_status = #{useStatus,jdbcType=INTEGER},
+
+
+ use_time = #{useTime,jdbcType=TIMESTAMP},
+
+
+ order_id = #{orderId,jdbcType=CHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_history
+ set coupon_id = #{couponId,jdbcType=BIGINT},
+ member_id = #{memberId,jdbcType=BIGINT},
+ coupon_code = #{couponCode,jdbcType=VARCHAR},
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
+ get_type = #{getType,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ use_status = #{useStatus,jdbcType=INTEGER},
+ use_time = #{useTime,jdbcType=TIMESTAMP},
+ order_id = #{orderId,jdbcType=CHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml
index 45891cc..5f26303 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml
@@ -397,4 +397,796 @@
member_level = #{memberLevel,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time,
+ use_type, note, publish_count, use_count, enable_time, code, member_level
+
+
+
+
+ delete from sms_coupon
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon (type, name, platform,
+ count, amount, per_limit,
+ min_point, start_time, end_time,
+ use_type, note, publish_count,
+ use_count, enable_time, code,
+ member_level)
+ values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR},
+ #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER},
+ #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
+ #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER},
+ #{useCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR},
+ #{memberLevel,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon
+
+
+ type,
+
+
+ name,
+
+
+ platform,
+
+
+ count,
+
+
+ amount,
+
+
+ per_limit,
+
+
+ min_point,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ use_type,
+
+
+ note,
+
+
+ publish_count,
+
+
+ use_count,
+
+
+ enable_time,
+
+
+ code,
+
+
+ member_level,
+
+
+
+
+ #{type,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{platform,jdbcType=VARCHAR},
+
+
+ #{count,jdbcType=INTEGER},
+
+
+ #{amount,jdbcType=DECIMAL},
+
+
+ #{perLimit,jdbcType=INTEGER},
+
+
+ #{minPoint,jdbcType=DECIMAL},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{useType,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{publishCount,jdbcType=INTEGER},
+
+
+ #{useCount,jdbcType=INTEGER},
+
+
+ #{enableTime,jdbcType=TIMESTAMP},
+
+
+ #{code,jdbcType=VARCHAR},
+
+
+ #{memberLevel,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_coupon
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ platform = #{record.platform,jdbcType=VARCHAR},
+
+
+ count = #{record.count,jdbcType=INTEGER},
+
+
+ amount = #{record.amount,jdbcType=DECIMAL},
+
+
+ per_limit = #{record.perLimit,jdbcType=INTEGER},
+
+
+ min_point = #{record.minPoint,jdbcType=DECIMAL},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ use_type = #{record.useType,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ publish_count = #{record.publishCount,jdbcType=INTEGER},
+
+
+ use_count = #{record.useCount,jdbcType=INTEGER},
+
+
+ enable_time = #{record.enableTime,jdbcType=TIMESTAMP},
+
+
+ code = #{record.code,jdbcType=VARCHAR},
+
+
+ member_level = #{record.memberLevel,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_coupon
+ set id = #{record.id,jdbcType=BIGINT},
+ type = #{record.type,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ platform = #{record.platform,jdbcType=VARCHAR},
+ count = #{record.count,jdbcType=INTEGER},
+ amount = #{record.amount,jdbcType=DECIMAL},
+ per_limit = #{record.perLimit,jdbcType=INTEGER},
+ min_point = #{record.minPoint,jdbcType=DECIMAL},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ use_type = #{record.useType,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR},
+ publish_count = #{record.publishCount,jdbcType=INTEGER},
+ use_count = #{record.useCount,jdbcType=INTEGER},
+ enable_time = #{record.enableTime,jdbcType=TIMESTAMP},
+ code = #{record.code,jdbcType=VARCHAR},
+ member_level = #{record.memberLevel,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_coupon
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ platform = #{platform,jdbcType=VARCHAR},
+
+
+ count = #{count,jdbcType=INTEGER},
+
+
+ amount = #{amount,jdbcType=DECIMAL},
+
+
+ per_limit = #{perLimit,jdbcType=INTEGER},
+
+
+ min_point = #{minPoint,jdbcType=DECIMAL},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ use_type = #{useType,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ publish_count = #{publishCount,jdbcType=INTEGER},
+
+
+ use_count = #{useCount,jdbcType=INTEGER},
+
+
+ enable_time = #{enableTime,jdbcType=TIMESTAMP},
+
+
+ code = #{code,jdbcType=VARCHAR},
+
+
+ member_level = #{memberLevel,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon
+ set type = #{type,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ platform = #{platform,jdbcType=VARCHAR},
+ count = #{count,jdbcType=INTEGER},
+ amount = #{amount,jdbcType=DECIMAL},
+ per_limit = #{perLimit,jdbcType=INTEGER},
+ min_point = #{minPoint,jdbcType=DECIMAL},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ use_type = #{useType,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR},
+ publish_count = #{publishCount,jdbcType=INTEGER},
+ use_count = #{useCount,jdbcType=INTEGER},
+ enable_time = #{enableTime,jdbcType=TIMESTAMP},
+ code = #{code,jdbcType=VARCHAR},
+ member_level = #{memberLevel,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time,
+ use_type, note, publish_count, use_count, enable_time, code, member_level
+
+
+
+
+ delete from sms_coupon
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon (type, name, platform,
+ count, amount, per_limit,
+ min_point, start_time, end_time,
+ use_type, note, publish_count,
+ use_count, enable_time, code,
+ member_level)
+ values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=VARCHAR},
+ #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER},
+ #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
+ #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER},
+ #{useCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR},
+ #{memberLevel,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon
+
+
+ type,
+
+
+ name,
+
+
+ platform,
+
+
+ count,
+
+
+ amount,
+
+
+ per_limit,
+
+
+ min_point,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ use_type,
+
+
+ note,
+
+
+ publish_count,
+
+
+ use_count,
+
+
+ enable_time,
+
+
+ code,
+
+
+ member_level,
+
+
+
+
+ #{type,jdbcType=INTEGER},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{platform,jdbcType=VARCHAR},
+
+
+ #{count,jdbcType=INTEGER},
+
+
+ #{amount,jdbcType=DECIMAL},
+
+
+ #{perLimit,jdbcType=INTEGER},
+
+
+ #{minPoint,jdbcType=DECIMAL},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{useType,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+ #{publishCount,jdbcType=INTEGER},
+
+
+ #{useCount,jdbcType=INTEGER},
+
+
+ #{enableTime,jdbcType=TIMESTAMP},
+
+
+ #{code,jdbcType=VARCHAR},
+
+
+ #{memberLevel,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_coupon
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ platform = #{record.platform,jdbcType=VARCHAR},
+
+
+ count = #{record.count,jdbcType=INTEGER},
+
+
+ amount = #{record.amount,jdbcType=DECIMAL},
+
+
+ per_limit = #{record.perLimit,jdbcType=INTEGER},
+
+
+ min_point = #{record.minPoint,jdbcType=DECIMAL},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ use_type = #{record.useType,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+ publish_count = #{record.publishCount,jdbcType=INTEGER},
+
+
+ use_count = #{record.useCount,jdbcType=INTEGER},
+
+
+ enable_time = #{record.enableTime,jdbcType=TIMESTAMP},
+
+
+ code = #{record.code,jdbcType=VARCHAR},
+
+
+ member_level = #{record.memberLevel,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_coupon
+ set id = #{record.id,jdbcType=BIGINT},
+ type = #{record.type,jdbcType=INTEGER},
+ name = #{record.name,jdbcType=VARCHAR},
+ platform = #{record.platform,jdbcType=VARCHAR},
+ count = #{record.count,jdbcType=INTEGER},
+ amount = #{record.amount,jdbcType=DECIMAL},
+ per_limit = #{record.perLimit,jdbcType=INTEGER},
+ min_point = #{record.minPoint,jdbcType=DECIMAL},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ use_type = #{record.useType,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR},
+ publish_count = #{record.publishCount,jdbcType=INTEGER},
+ use_count = #{record.useCount,jdbcType=INTEGER},
+ enable_time = #{record.enableTime,jdbcType=TIMESTAMP},
+ code = #{record.code,jdbcType=VARCHAR},
+ member_level = #{record.memberLevel,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_coupon
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ platform = #{platform,jdbcType=VARCHAR},
+
+
+ count = #{count,jdbcType=INTEGER},
+
+
+ amount = #{amount,jdbcType=DECIMAL},
+
+
+ per_limit = #{perLimit,jdbcType=INTEGER},
+
+
+ min_point = #{minPoint,jdbcType=DECIMAL},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ use_type = #{useType,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ publish_count = #{publishCount,jdbcType=INTEGER},
+
+
+ use_count = #{useCount,jdbcType=INTEGER},
+
+
+ enable_time = #{enableTime,jdbcType=TIMESTAMP},
+
+
+ code = #{code,jdbcType=VARCHAR},
+
+
+ member_level = #{memberLevel,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon
+ set type = #{type,jdbcType=INTEGER},
+ name = #{name,jdbcType=VARCHAR},
+ platform = #{platform,jdbcType=VARCHAR},
+ count = #{count,jdbcType=INTEGER},
+ amount = #{amount,jdbcType=DECIMAL},
+ per_limit = #{perLimit,jdbcType=INTEGER},
+ min_point = #{minPoint,jdbcType=DECIMAL},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ use_type = #{useType,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR},
+ publish_count = #{publishCount,jdbcType=INTEGER},
+ use_count = #{useCount,jdbcType=INTEGER},
+ enable_time = #{enableTime,jdbcType=TIMESTAMP},
+ code = #{code,jdbcType=VARCHAR},
+ member_level = #{memberLevel,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml
index 63fa5d2..bdf71d5 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml
@@ -176,4 +176,354 @@
product_category_id = #{productCategoryId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, product_category_id
+
+
+
+
+ delete from sms_coupon_product_category_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_product_category_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_category_relation (coupon_id, product_category_id)
+ values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_category_relation
+
+
+ coupon_id,
+
+
+ product_category_id,
+
+
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+ update sms_coupon_product_category_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sms_coupon_product_category_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT}
+
+
+
+
+
+ update sms_coupon_product_category_relation
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_product_category_relation
+ set coupon_id = #{couponId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, product_category_id
+
+
+
+
+ delete from sms_coupon_product_category_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_product_category_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_category_relation (coupon_id, product_category_id)
+ values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_category_relation
+
+
+ coupon_id,
+
+
+ product_category_id,
+
+
+
+
+ #{couponId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+ update sms_coupon_product_category_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sms_coupon_product_category_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT}
+
+
+
+
+
+ update sms_coupon_product_category_relation
+
+
+ coupon_id = #{couponId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_product_category_relation
+ set coupon_id = #{couponId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml
index 10cf327..0d4bc7c 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml
@@ -176,4 +176,354 @@
product_id = #{productId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, product_id
+
+
+
+
+ delete from sms_coupon_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_relation (coupon_id, product_id)
+ values (#{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_relation
+
+
+ coupon_id,
+
+
+ product_id,
+
+
+
+
+ #{couponId,jdbcType=INTEGER},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update sms_coupon_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=INTEGER},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sms_coupon_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=INTEGER},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update sms_coupon_product_relation
+
+
+ coupon_id = #{couponId,jdbcType=INTEGER},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_product_relation
+ set coupon_id = #{couponId,jdbcType=INTEGER},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, coupon_id, product_id
+
+
+
+
+ delete from sms_coupon_product_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_coupon_product_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_relation (coupon_id, product_id)
+ values (#{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_coupon_product_relation
+
+
+ coupon_id,
+
+
+ product_id,
+
+
+
+
+ #{couponId,jdbcType=INTEGER},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+
+
+
+ update sms_coupon_product_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ coupon_id = #{record.couponId,jdbcType=INTEGER},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update sms_coupon_product_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ coupon_id = #{record.couponId,jdbcType=INTEGER},
+ product_id = #{record.productId,jdbcType=BIGINT}
+
+
+
+
+
+ update sms_coupon_product_relation
+
+
+ coupon_id = #{couponId,jdbcType=INTEGER},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_coupon_product_relation
+ set coupon_id = #{couponId,jdbcType=INTEGER},
+ product_id = #{productId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml
index 802078e..fc56af1 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml
@@ -240,4 +240,482 @@
send_time = #{sendTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, product_id, member_phone, product_name, subscribe_time, send_time
+
+
+
+
+ delete from sms_flash_promotion_log
+ where id = #{id,jdbcType=INTEGER}
+
+
+ delete from sms_flash_promotion_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion_log (member_id, product_id, member_phone,
+ product_name, subscribe_time, send_time
+ )
+ values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR},
+ #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion_log
+
+
+ member_id,
+
+
+ product_id,
+
+
+ member_phone,
+
+
+ product_name,
+
+
+ subscribe_time,
+
+
+ send_time,
+
+
+
+
+ #{memberId,jdbcType=INTEGER},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberPhone,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{subscribeTime,jdbcType=TIMESTAMP},
+
+
+ #{sendTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update sms_flash_promotion_log
+
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ member_id = #{record.memberId,jdbcType=INTEGER},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_phone = #{record.memberPhone,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
+
+
+ send_time = #{record.sendTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update sms_flash_promotion_log
+ set id = #{record.id,jdbcType=INTEGER},
+ member_id = #{record.memberId,jdbcType=INTEGER},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_phone = #{record.memberPhone,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
+ send_time = #{record.sendTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update sms_flash_promotion_log
+
+
+ member_id = #{memberId,jdbcType=INTEGER},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_phone = #{memberPhone,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
+
+
+ send_time = #{sendTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update sms_flash_promotion_log
+ set member_id = #{memberId,jdbcType=INTEGER},
+ product_id = #{productId,jdbcType=BIGINT},
+ member_phone = #{memberPhone,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
+ send_time = #{sendTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, product_id, member_phone, product_name, subscribe_time, send_time
+
+
+
+
+ delete from sms_flash_promotion_log
+ where id = #{id,jdbcType=INTEGER}
+
+
+ delete from sms_flash_promotion_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion_log (member_id, product_id, member_phone,
+ product_name, subscribe_time, send_time
+ )
+ values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR},
+ #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion_log
+
+
+ member_id,
+
+
+ product_id,
+
+
+ member_phone,
+
+
+ product_name,
+
+
+ subscribe_time,
+
+
+ send_time,
+
+
+
+
+ #{memberId,jdbcType=INTEGER},
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{memberPhone,jdbcType=VARCHAR},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{subscribeTime,jdbcType=TIMESTAMP},
+
+
+ #{sendTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update sms_flash_promotion_log
+
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ member_id = #{record.memberId,jdbcType=INTEGER},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ member_phone = #{record.memberPhone,jdbcType=VARCHAR},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
+
+
+ send_time = #{record.sendTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update sms_flash_promotion_log
+ set id = #{record.id,jdbcType=INTEGER},
+ member_id = #{record.memberId,jdbcType=INTEGER},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ member_phone = #{record.memberPhone,jdbcType=VARCHAR},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP},
+ send_time = #{record.sendTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update sms_flash_promotion_log
+
+
+ member_id = #{memberId,jdbcType=INTEGER},
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ member_phone = #{memberPhone,jdbcType=VARCHAR},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
+
+
+ send_time = #{sendTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update sms_flash_promotion_log
+ set member_id = #{memberId,jdbcType=INTEGER},
+ product_id = #{productId,jdbcType=BIGINT},
+ member_phone = #{memberPhone,jdbcType=VARCHAR},
+ product_name = #{productName,jdbcType=VARCHAR},
+ subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP},
+ send_time = #{sendTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml
index 77043ca..054af36 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml
@@ -223,4 +223,448 @@
time_name = #{timeName,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, title, start_time, end_time, status, time_name
+
+
+
+
+ delete from sms_flash_promotion
+ where id = #{id,jdbcType=INTEGER}
+
+
+ delete from sms_flash_promotion
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion (title, start_time, end_time,
+ status, time_name)
+ values (#{title,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
+ #{status,jdbcType=INTEGER}, #{timeName,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion
+
+
+ title,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ status,
+
+
+ time_name,
+
+
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{timeName,jdbcType=VARCHAR},
+
+
+
+
+
+ update sms_flash_promotion
+
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ time_name = #{record.timeName,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update sms_flash_promotion
+ set id = #{record.id,jdbcType=INTEGER},
+ title = #{record.title,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ status = #{record.status,jdbcType=INTEGER},
+ time_name = #{record.timeName,jdbcType=VARCHAR}
+
+
+
+
+
+ update sms_flash_promotion
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ time_name = #{timeName,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update sms_flash_promotion
+ set title = #{title,jdbcType=VARCHAR},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ status = #{status,jdbcType=INTEGER},
+ time_name = #{timeName,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, title, start_time, end_time, status, time_name
+
+
+
+
+ delete from sms_flash_promotion
+ where id = #{id,jdbcType=INTEGER}
+
+
+ delete from sms_flash_promotion
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion (title, start_time, end_time,
+ status, time_name)
+ values (#{title,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP},
+ #{status,jdbcType=INTEGER}, #{timeName,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_flash_promotion
+
+
+ title,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ status,
+
+
+ time_name,
+
+
+
+
+ #{title,jdbcType=VARCHAR},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{timeName,jdbcType=VARCHAR},
+
+
+
+
+
+ update sms_flash_promotion
+
+
+ id = #{record.id,jdbcType=INTEGER},
+
+
+ title = #{record.title,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ time_name = #{record.timeName,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update sms_flash_promotion
+ set id = #{record.id,jdbcType=INTEGER},
+ title = #{record.title,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ status = #{record.status,jdbcType=INTEGER},
+ time_name = #{record.timeName,jdbcType=VARCHAR}
+
+
+
+
+
+ update sms_flash_promotion
+
+
+ title = #{title,jdbcType=VARCHAR},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ time_name = #{timeName,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=INTEGER}
+
+
+ update sms_flash_promotion
+ set title = #{title,jdbcType=VARCHAR},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ status = #{status,jdbcType=INTEGER},
+ time_name = #{timeName,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=INTEGER}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml
index c018209..1f460ac 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml
@@ -303,4 +303,608 @@
note = #{note,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, type, pic, start_time, end_time, status, click_count, order_count, url,
+ note
+
+
+
+
+ delete from sms_home_advertise
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_advertise
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_advertise (name, type, pic,
+ start_time, end_time, status,
+ click_count, order_count, url,
+ note)
+ values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR},
+ #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
+ #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_advertise
+
+
+ name,
+
+
+ type,
+
+
+ pic,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ status,
+
+
+ click_count,
+
+
+ order_count,
+
+
+ url,
+
+
+ note,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{clickCount,jdbcType=INTEGER},
+
+
+ #{orderCount,jdbcType=INTEGER},
+
+
+ #{url,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update sms_home_advertise
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ click_count = #{record.clickCount,jdbcType=INTEGER},
+
+
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update sms_home_advertise
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ type = #{record.type,jdbcType=INTEGER},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ status = #{record.status,jdbcType=INTEGER},
+ click_count = #{record.clickCount,jdbcType=INTEGER},
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+ url = #{record.url,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update sms_home_advertise
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ click_count = #{clickCount,jdbcType=INTEGER},
+
+
+ order_count = #{orderCount,jdbcType=INTEGER},
+
+
+ url = #{url,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_advertise
+ set name = #{name,jdbcType=VARCHAR},
+ type = #{type,jdbcType=INTEGER},
+ pic = #{pic,jdbcType=VARCHAR},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ status = #{status,jdbcType=INTEGER},
+ click_count = #{clickCount,jdbcType=INTEGER},
+ order_count = #{orderCount,jdbcType=INTEGER},
+ url = #{url,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, type, pic, start_time, end_time, status, click_count, order_count, url,
+ note
+
+
+
+
+ delete from sms_home_advertise
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_advertise
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_advertise (name, type, pic,
+ start_time, end_time, status,
+ click_count, order_count, url,
+ note)
+ values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR},
+ #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
+ #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_advertise
+
+
+ name,
+
+
+ type,
+
+
+ pic,
+
+
+ start_time,
+
+
+ end_time,
+
+
+ status,
+
+
+ click_count,
+
+
+ order_count,
+
+
+ url,
+
+
+ note,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+ #{pic,jdbcType=VARCHAR},
+
+
+ #{startTime,jdbcType=TIMESTAMP},
+
+
+ #{endTime,jdbcType=TIMESTAMP},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{clickCount,jdbcType=INTEGER},
+
+
+ #{orderCount,jdbcType=INTEGER},
+
+
+ #{url,jdbcType=VARCHAR},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update sms_home_advertise
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+ pic = #{record.pic,jdbcType=VARCHAR},
+
+
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ click_count = #{record.clickCount,jdbcType=INTEGER},
+
+
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+
+
+ url = #{record.url,jdbcType=VARCHAR},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update sms_home_advertise
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ type = #{record.type,jdbcType=INTEGER},
+ pic = #{record.pic,jdbcType=VARCHAR},
+ start_time = #{record.startTime,jdbcType=TIMESTAMP},
+ end_time = #{record.endTime,jdbcType=TIMESTAMP},
+ status = #{record.status,jdbcType=INTEGER},
+ click_count = #{record.clickCount,jdbcType=INTEGER},
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+ url = #{record.url,jdbcType=VARCHAR},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update sms_home_advertise
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ pic = #{pic,jdbcType=VARCHAR},
+
+
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+
+
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ click_count = #{clickCount,jdbcType=INTEGER},
+
+
+ order_count = #{orderCount,jdbcType=INTEGER},
+
+
+ url = #{url,jdbcType=VARCHAR},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_advertise
+ set name = #{name,jdbcType=VARCHAR},
+ type = #{type,jdbcType=INTEGER},
+ pic = #{pic,jdbcType=VARCHAR},
+ start_time = #{startTime,jdbcType=TIMESTAMP},
+ end_time = #{endTime,jdbcType=TIMESTAMP},
+ status = #{status,jdbcType=INTEGER},
+ click_count = #{clickCount,jdbcType=INTEGER},
+ order_count = #{orderCount,jdbcType=INTEGER},
+ url = #{url,jdbcType=VARCHAR},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml
index 2e84721..25bfdd3 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml
@@ -208,4 +208,418 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, brand_id, brand_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_brand
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_brand
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_brand (brand_id, brand_name, recommend_status,
+ sort)
+ values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_brand
+
+
+ brand_id,
+
+
+ brand_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{brandId,jdbcType=BIGINT},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_brand
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_brand
+
+
+ brand_id = #{brandId,jdbcType=BIGINT},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_brand
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, brand_id, brand_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_brand
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_brand
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_brand (brand_id, brand_name, recommend_status,
+ sort)
+ values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_brand
+
+
+ brand_id,
+
+
+ brand_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{brandId,jdbcType=BIGINT},
+
+
+ #{brandName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_brand
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+
+
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_brand
+ set id = #{record.id,jdbcType=BIGINT},
+ brand_id = #{record.brandId,jdbcType=BIGINT},
+ brand_name = #{record.brandName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_brand
+
+
+ brand_id = #{brandId,jdbcType=BIGINT},
+
+
+ brand_name = #{brandName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_brand
+ set brand_id = #{brandId,jdbcType=BIGINT},
+ brand_name = #{brandName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml
index 52553dc..1c50197 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml
@@ -208,4 +208,418 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_new_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_new_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_new_product (product_id, product_name, recommend_status,
+ sort)
+ values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_new_product
+
+
+ product_id,
+
+
+ product_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_new_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_new_product
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_new_product
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_new_product
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_name = #{productName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_new_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_new_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_new_product (product_id, product_name, recommend_status,
+ sort)
+ values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_new_product
+
+
+ product_id,
+
+
+ product_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_new_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_new_product
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_new_product
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_new_product
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_name = #{productName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml
index eef4bd0..bbf4ed0 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml
@@ -208,4 +208,418 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_recommend_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_recommend_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_product (product_id, product_name, recommend_status,
+ sort)
+ values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_product
+
+
+ product_id,
+
+
+ product_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_recommend_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_recommend_product
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_recommend_product
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_recommend_product
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_name = #{productName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, product_id, product_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_recommend_product
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_recommend_product
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_product (product_id, product_name, recommend_status,
+ sort)
+ values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_product
+
+
+ product_id,
+
+
+ product_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{productId,jdbcType=BIGINT},
+
+
+ #{productName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_recommend_product
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ product_id = #{record.productId,jdbcType=BIGINT},
+
+
+ product_name = #{record.productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_recommend_product
+ set id = #{record.id,jdbcType=BIGINT},
+ product_id = #{record.productId,jdbcType=BIGINT},
+ product_name = #{record.productName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_recommend_product
+
+
+ product_id = #{productId,jdbcType=BIGINT},
+
+
+ product_name = #{productName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_recommend_product
+ set product_id = #{productId,jdbcType=BIGINT},
+ product_name = #{productName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml
index c5b698f..28cec38 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml
@@ -208,4 +208,418 @@
sort = #{sort,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, subject_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_recommend_subject
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_recommend_subject
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status,
+ sort)
+ values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_subject
+
+
+ subject_id,
+
+
+ subject_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{subjectName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_recommend_subject
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ subject_name = #{record.subjectName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_recommend_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ subject_name = #{record.subjectName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_recommend_subject
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ subject_name = #{subjectName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_recommend_subject
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ subject_name = #{subjectName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, subject_id, subject_name, recommend_status, sort
+
+
+
+
+ delete from sms_home_recommend_subject
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from sms_home_recommend_subject
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status,
+ sort)
+ values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER},
+ #{sort,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into sms_home_recommend_subject
+
+
+ subject_id,
+
+
+ subject_name,
+
+
+ recommend_status,
+
+
+ sort,
+
+
+
+
+ #{subjectId,jdbcType=BIGINT},
+
+
+ #{subjectName,jdbcType=VARCHAR},
+
+
+ #{recommendStatus,jdbcType=INTEGER},
+
+
+ #{sort,jdbcType=INTEGER},
+
+
+
+
+
+ update sms_home_recommend_subject
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+
+
+ subject_name = #{record.subjectName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{record.sort,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update sms_home_recommend_subject
+ set id = #{record.id,jdbcType=BIGINT},
+ subject_id = #{record.subjectId,jdbcType=BIGINT},
+ subject_name = #{record.subjectName,jdbcType=VARCHAR},
+ recommend_status = #{record.recommendStatus,jdbcType=INTEGER},
+ sort = #{record.sort,jdbcType=INTEGER}
+
+
+
+
+
+ update sms_home_recommend_subject
+
+
+ subject_id = #{subjectId,jdbcType=BIGINT},
+
+
+ subject_name = #{subjectName,jdbcType=VARCHAR},
+
+
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+
+
+ sort = #{sort,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update sms_home_recommend_subject
+ set subject_id = #{subjectId,jdbcType=BIGINT},
+ subject_name = #{subjectName,jdbcType=VARCHAR},
+ recommend_status = #{recommendStatus,jdbcType=INTEGER},
+ sort = #{sort,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml
index c429695..8540e09 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml
@@ -223,4 +223,448 @@
user_agent = #{userAgent,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, admin_id, create_time, ip, address, user_agent
+
+
+
+
+ delete from ums_admin_login_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_admin_login_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin_login_log (admin_id, create_time, ip,
+ address, user_agent)
+ values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR},
+ #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin_login_log
+
+
+ admin_id,
+
+
+ create_time,
+
+
+ ip,
+
+
+ address,
+
+
+ user_agent,
+
+
+
+
+ #{adminId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{ip,jdbcType=VARCHAR},
+
+
+ #{address,jdbcType=VARCHAR},
+
+
+ #{userAgent,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_admin_login_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ admin_id = #{record.adminId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{record.ip,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ user_agent = #{record.userAgent,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_admin_login_log
+ set id = #{record.id,jdbcType=BIGINT},
+ admin_id = #{record.adminId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ ip = #{record.ip,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ user_agent = #{record.userAgent,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_admin_login_log
+
+
+ admin_id = #{adminId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{ip,jdbcType=VARCHAR},
+
+
+ address = #{address,jdbcType=VARCHAR},
+
+
+ user_agent = #{userAgent,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_admin_login_log
+ set admin_id = #{adminId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ ip = #{ip,jdbcType=VARCHAR},
+ address = #{address,jdbcType=VARCHAR},
+ user_agent = #{userAgent,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, admin_id, create_time, ip, address, user_agent
+
+
+
+
+ delete from ums_admin_login_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_admin_login_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin_login_log (admin_id, create_time, ip,
+ address, user_agent)
+ values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR},
+ #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin_login_log
+
+
+ admin_id,
+
+
+ create_time,
+
+
+ ip,
+
+
+ address,
+
+
+ user_agent,
+
+
+
+
+ #{adminId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{ip,jdbcType=VARCHAR},
+
+
+ #{address,jdbcType=VARCHAR},
+
+
+ #{userAgent,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_admin_login_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ admin_id = #{record.adminId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{record.ip,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ user_agent = #{record.userAgent,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_admin_login_log
+ set id = #{record.id,jdbcType=BIGINT},
+ admin_id = #{record.adminId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ ip = #{record.ip,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ user_agent = #{record.userAgent,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_admin_login_log
+
+
+ admin_id = #{adminId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{ip,jdbcType=VARCHAR},
+
+
+ address = #{address,jdbcType=VARCHAR},
+
+
+ user_agent = #{userAgent,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_admin_login_log
+ set admin_id = #{adminId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ ip = #{ip,jdbcType=VARCHAR},
+ address = #{address,jdbcType=VARCHAR},
+ user_agent = #{userAgent,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml
index 4e3aa74..d855820 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml
@@ -208,4 +208,418 @@
email = #{email,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, username, password, icon, email
+
+
+
+
+ delete from ums_admin
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_admin
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin (username, password, icon,
+ email)
+ values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR},
+ #{email,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin
+
+
+ username,
+
+
+ password,
+
+
+ icon,
+
+
+ email,
+
+
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{email,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_admin
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ password = #{record.password,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ email = #{record.email,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_admin
+ set id = #{record.id,jdbcType=BIGINT},
+ username = #{record.username,jdbcType=VARCHAR},
+ password = #{record.password,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ email = #{record.email,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_admin
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ password = #{password,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ email = #{email,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_admin
+ set username = #{username,jdbcType=VARCHAR},
+ password = #{password,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ email = #{email,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, username, password, icon, email
+
+
+
+
+ delete from ums_admin
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_admin
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin (username, password, icon,
+ email)
+ values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR},
+ #{email,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_admin
+
+
+ username,
+
+
+ password,
+
+
+ icon,
+
+
+ email,
+
+
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{email,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_admin
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ password = #{record.password,jdbcType=VARCHAR},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ email = #{record.email,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_admin
+ set id = #{record.id,jdbcType=BIGINT},
+ username = #{record.username,jdbcType=VARCHAR},
+ password = #{record.password,jdbcType=VARCHAR},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ email = #{record.email,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_admin
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ password = #{password,jdbcType=VARCHAR},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ email = #{email,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_admin
+ set username = #{username,jdbcType=VARCHAR},
+ password = #{password,jdbcType=VARCHAR},
+ icon = #{icon,jdbcType=VARCHAR},
+ email = #{email,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml
index 88b64e8..27090ac 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml
@@ -256,4 +256,514 @@
source_type = #{sourceType,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, change_type, change_count, operate_man, operate_note,
+ source_type
+
+
+
+
+ delete from ums_growth_change_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_growth_change_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_growth_change_history (member_id, create_time, change_type,
+ change_count, operate_man, operate_note,
+ source_type)
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER},
+ #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_growth_change_history
+
+
+ member_id,
+
+
+ create_time,
+
+
+ change_type,
+
+
+ change_count,
+
+
+ operate_man,
+
+
+ operate_note,
+
+
+ source_type,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{changeType,jdbcType=INTEGER},
+
+
+ #{changeCount,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{operateNote,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_growth_change_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{record.changeType,jdbcType=INTEGER},
+
+
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_growth_change_history
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ change_type = #{record.changeType,jdbcType=INTEGER},
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_growth_change_history
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{changeType,jdbcType=INTEGER},
+
+
+ change_count = #{changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_growth_change_history
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ change_type = #{changeType,jdbcType=INTEGER},
+ change_count = #{changeCount,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, change_type, change_count, operate_man, operate_note,
+ source_type
+
+
+
+
+ delete from ums_growth_change_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_growth_change_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_growth_change_history (member_id, create_time, change_type,
+ change_count, operate_man, operate_note,
+ source_type)
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER},
+ #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_growth_change_history
+
+
+ member_id,
+
+
+ create_time,
+
+
+ change_type,
+
+
+ change_count,
+
+
+ operate_man,
+
+
+ operate_note,
+
+
+ source_type,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{changeType,jdbcType=INTEGER},
+
+
+ #{changeCount,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{operateNote,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_growth_change_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{record.changeType,jdbcType=INTEGER},
+
+
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_growth_change_history
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ change_type = #{record.changeType,jdbcType=INTEGER},
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_growth_change_history
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{changeType,jdbcType=INTEGER},
+
+
+ change_count = #{changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_growth_change_history
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ change_type = #{changeType,jdbcType=INTEGER},
+ change_count = #{changeCount,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml
index e3c5b3b..65dcf55 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml
@@ -256,4 +256,514 @@
source_type = #{sourceType,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, change_type, change_count, operate_man, operate_note,
+ source_type
+
+
+
+
+ delete from ums_integration_change_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_integration_change_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_integration_change_history (member_id, create_time, change_type,
+ change_count, operate_man, operate_note,
+ source_type)
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER},
+ #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_integration_change_history
+
+
+ member_id,
+
+
+ create_time,
+
+
+ change_type,
+
+
+ change_count,
+
+
+ operate_man,
+
+
+ operate_note,
+
+
+ source_type,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{changeType,jdbcType=INTEGER},
+
+
+ #{changeCount,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{operateNote,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_integration_change_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{record.changeType,jdbcType=INTEGER},
+
+
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_integration_change_history
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ change_type = #{record.changeType,jdbcType=INTEGER},
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_integration_change_history
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{changeType,jdbcType=INTEGER},
+
+
+ change_count = #{changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_integration_change_history
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ change_type = #{changeType,jdbcType=INTEGER},
+ change_count = #{changeCount,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, change_type, change_count, operate_man, operate_note,
+ source_type
+
+
+
+
+ delete from ums_integration_change_history
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_integration_change_history
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_integration_change_history (member_id, create_time, change_type,
+ change_count, operate_man, operate_note,
+ source_type)
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER},
+ #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_integration_change_history
+
+
+ member_id,
+
+
+ create_time,
+
+
+ change_type,
+
+
+ change_count,
+
+
+ operate_man,
+
+
+ operate_note,
+
+
+ source_type,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{changeType,jdbcType=INTEGER},
+
+
+ #{changeCount,jdbcType=INTEGER},
+
+
+ #{operateMan,jdbcType=VARCHAR},
+
+
+ #{operateNote,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_integration_change_history
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{record.changeType,jdbcType=INTEGER},
+
+
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_integration_change_history
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ change_type = #{record.changeType,jdbcType=INTEGER},
+ change_count = #{record.changeCount,jdbcType=INTEGER},
+ operate_man = #{record.operateMan,jdbcType=VARCHAR},
+ operate_note = #{record.operateNote,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_integration_change_history
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ change_type = #{changeType,jdbcType=INTEGER},
+
+
+ change_count = #{changeCount,jdbcType=INTEGER},
+
+
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+
+
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_integration_change_history
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ change_type = #{changeType,jdbcType=INTEGER},
+ change_count = #{changeCount,jdbcType=INTEGER},
+ operate_man = #{operateMan,jdbcType=VARCHAR},
+ operate_note = #{operateNote,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml
index 02cd39e..72d65c3 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml
@@ -208,4 +208,418 @@
coupon_status = #{couponStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status
+
+
+
+
+ delete from ums_intergration_consume_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_intergration_consume_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_intergration_consume_setting (deduction_per_amount, max_percent_per_order,
+ use_unit, coupon_status)
+ values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER},
+ #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_intergration_consume_setting
+
+
+ deduction_per_amount,
+
+
+ max_percent_per_order,
+
+
+ use_unit,
+
+
+ coupon_status,
+
+
+
+
+ #{deductionPerAmount,jdbcType=INTEGER},
+
+
+ #{maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ #{useUnit,jdbcType=INTEGER},
+
+
+ #{couponStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_intergration_consume_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER},
+
+
+ max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ use_unit = #{record.useUnit,jdbcType=INTEGER},
+
+
+ coupon_status = #{record.couponStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_intergration_consume_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER},
+ max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER},
+ use_unit = #{record.useUnit,jdbcType=INTEGER},
+ coupon_status = #{record.couponStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_intergration_consume_setting
+
+
+ deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER},
+
+
+ max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ use_unit = #{useUnit,jdbcType=INTEGER},
+
+
+ coupon_status = #{couponStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_intergration_consume_setting
+ set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER},
+ max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER},
+ use_unit = #{useUnit,jdbcType=INTEGER},
+ coupon_status = #{couponStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status
+
+
+
+
+ delete from ums_intergration_consume_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_intergration_consume_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_intergration_consume_setting (deduction_per_amount, max_percent_per_order,
+ use_unit, coupon_status)
+ values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER},
+ #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_intergration_consume_setting
+
+
+ deduction_per_amount,
+
+
+ max_percent_per_order,
+
+
+ use_unit,
+
+
+ coupon_status,
+
+
+
+
+ #{deductionPerAmount,jdbcType=INTEGER},
+
+
+ #{maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ #{useUnit,jdbcType=INTEGER},
+
+
+ #{couponStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_intergration_consume_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER},
+
+
+ max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ use_unit = #{record.useUnit,jdbcType=INTEGER},
+
+
+ coupon_status = #{record.couponStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_intergration_consume_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER},
+ max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER},
+ use_unit = #{record.useUnit,jdbcType=INTEGER},
+ coupon_status = #{record.couponStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_intergration_consume_setting
+
+
+ deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER},
+
+
+ max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER},
+
+
+ use_unit = #{useUnit,jdbcType=INTEGER},
+
+
+ coupon_status = #{couponStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_intergration_consume_setting
+ set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER},
+ max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER},
+ use_unit = #{useUnit,jdbcType=INTEGER},
+ coupon_status = #{couponStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml
index 3b11b61..f45b28d 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml
@@ -336,4 +336,674 @@
note = #{note,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, growth_point, default_status, free_freight_point, comment_growth_point,
+ priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion,
+ priviledge_member_price, priviledge_birthday, note
+
+
+
+
+ delete from ums_member_level
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_level
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_level (name, growth_point, default_status,
+ free_freight_point, comment_growth_point, priviledge_free_freight,
+ priviledge_sign_in, priviledge_comment, priviledge_promotion,
+ priviledge_member_price, priviledge_birthday,
+ note)
+ values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER},
+ #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER},
+ #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER},
+ #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_level
+
+
+ name,
+
+
+ growth_point,
+
+
+ default_status,
+
+
+ free_freight_point,
+
+
+ comment_growth_point,
+
+
+ priviledge_free_freight,
+
+
+ priviledge_sign_in,
+
+
+ priviledge_comment,
+
+
+ priviledge_promotion,
+
+
+ priviledge_member_price,
+
+
+ priviledge_birthday,
+
+
+ note,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{growthPoint,jdbcType=INTEGER},
+
+
+ #{defaultStatus,jdbcType=INTEGER},
+
+
+ #{freeFreightPoint,jdbcType=DECIMAL},
+
+
+ #{commentGrowthPoint,jdbcType=INTEGER},
+
+
+ #{priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ #{priviledgeSignIn,jdbcType=INTEGER},
+
+
+ #{priviledgeComment,jdbcType=INTEGER},
+
+
+ #{priviledgePromotion,jdbcType=INTEGER},
+
+
+ #{priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ #{priviledgeBirthday,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_member_level
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ growth_point = #{record.growthPoint,jdbcType=INTEGER},
+
+
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+
+
+ free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL},
+
+
+ comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER},
+
+
+ priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER},
+
+
+ priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER},
+
+
+ priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER},
+
+
+ priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_member_level
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ growth_point = #{record.growthPoint,jdbcType=INTEGER},
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+ free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL},
+ comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER},
+ priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER},
+ priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER},
+ priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER},
+ priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER},
+ priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER},
+ priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_member_level
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ growth_point = #{growthPoint,jdbcType=INTEGER},
+
+
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+
+
+ free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL},
+
+
+ comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER},
+
+
+ priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER},
+
+
+ priviledge_comment = #{priviledgeComment,jdbcType=INTEGER},
+
+
+ priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER},
+
+
+ priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_level
+ set name = #{name,jdbcType=VARCHAR},
+ growth_point = #{growthPoint,jdbcType=INTEGER},
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+ free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL},
+ comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER},
+ priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER},
+ priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER},
+ priviledge_comment = #{priviledgeComment,jdbcType=INTEGER},
+ priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER},
+ priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER},
+ priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, growth_point, default_status, free_freight_point, comment_growth_point,
+ priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion,
+ priviledge_member_price, priviledge_birthday, note
+
+
+
+
+ delete from ums_member_level
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_level
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_level (name, growth_point, default_status,
+ free_freight_point, comment_growth_point, priviledge_free_freight,
+ priviledge_sign_in, priviledge_comment, priviledge_promotion,
+ priviledge_member_price, priviledge_birthday,
+ note)
+ values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER},
+ #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER},
+ #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER},
+ #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER},
+ #{note,jdbcType=VARCHAR})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_level
+
+
+ name,
+
+
+ growth_point,
+
+
+ default_status,
+
+
+ free_freight_point,
+
+
+ comment_growth_point,
+
+
+ priviledge_free_freight,
+
+
+ priviledge_sign_in,
+
+
+ priviledge_comment,
+
+
+ priviledge_promotion,
+
+
+ priviledge_member_price,
+
+
+ priviledge_birthday,
+
+
+ note,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{growthPoint,jdbcType=INTEGER},
+
+
+ #{defaultStatus,jdbcType=INTEGER},
+
+
+ #{freeFreightPoint,jdbcType=DECIMAL},
+
+
+ #{commentGrowthPoint,jdbcType=INTEGER},
+
+
+ #{priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ #{priviledgeSignIn,jdbcType=INTEGER},
+
+
+ #{priviledgeComment,jdbcType=INTEGER},
+
+
+ #{priviledgePromotion,jdbcType=INTEGER},
+
+
+ #{priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ #{priviledgeBirthday,jdbcType=INTEGER},
+
+
+ #{note,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_member_level
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ growth_point = #{record.growthPoint,jdbcType=INTEGER},
+
+
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+
+
+ free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL},
+
+
+ comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER},
+
+
+ priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER},
+
+
+ priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER},
+
+
+ priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER},
+
+
+ priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER},
+
+
+ note = #{record.note,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_member_level
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ growth_point = #{record.growthPoint,jdbcType=INTEGER},
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+ free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL},
+ comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER},
+ priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER},
+ priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER},
+ priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER},
+ priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER},
+ priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER},
+ priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER},
+ note = #{record.note,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_member_level
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ growth_point = #{growthPoint,jdbcType=INTEGER},
+
+
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+
+
+ free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL},
+
+
+ comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER},
+
+
+ priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER},
+
+
+ priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER},
+
+
+ priviledge_comment = #{priviledgeComment,jdbcType=INTEGER},
+
+
+ priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER},
+
+
+ priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER},
+
+
+ priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER},
+
+
+ note = #{note,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_level
+ set name = #{name,jdbcType=VARCHAR},
+ growth_point = #{growthPoint,jdbcType=INTEGER},
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+ free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL},
+ comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER},
+ priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER},
+ priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER},
+ priviledge_comment = #{priviledgeComment,jdbcType=INTEGER},
+ priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER},
+ priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER},
+ priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER},
+ note = #{note,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml
index b8ee2a2..6b47be9 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml
@@ -240,4 +240,482 @@
province = #{province,jdbcType=VARCHAR}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, ip, city, login_type, province
+
+
+
+
+ delete from ums_member_login_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_login_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_login_log (member_id, create_time, ip,
+ city, login_type, province
+ )
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR},
+ #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_login_log
+
+
+ member_id,
+
+
+ create_time,
+
+
+ ip,
+
+
+ city,
+
+
+ login_type,
+
+
+ province,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{ip,jdbcType=VARCHAR},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{loginType,jdbcType=INTEGER},
+
+
+ #{province,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_member_login_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{record.ip,jdbcType=VARCHAR},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ login_type = #{record.loginType,jdbcType=INTEGER},
+
+
+ province = #{record.province,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_member_login_log
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ ip = #{record.ip,jdbcType=VARCHAR},
+ city = #{record.city,jdbcType=VARCHAR},
+ login_type = #{record.loginType,jdbcType=INTEGER},
+ province = #{record.province,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_member_login_log
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{ip,jdbcType=VARCHAR},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ login_type = #{loginType,jdbcType=INTEGER},
+
+
+ province = #{province,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_login_log
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ ip = #{ip,jdbcType=VARCHAR},
+ city = #{city,jdbcType=VARCHAR},
+ login_type = #{loginType,jdbcType=INTEGER},
+ province = #{province,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, create_time, ip, city, login_type, province
+
+
+
+
+ delete from ums_member_login_log
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_login_log
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_login_log (member_id, create_time, ip,
+ city, login_type, province
+ )
+ values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR},
+ #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_login_log
+
+
+ member_id,
+
+
+ create_time,
+
+
+ ip,
+
+
+ city,
+
+
+ login_type,
+
+
+ province,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{ip,jdbcType=VARCHAR},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{loginType,jdbcType=INTEGER},
+
+
+ #{province,jdbcType=VARCHAR},
+
+
+
+
+
+ update ums_member_login_log
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{record.ip,jdbcType=VARCHAR},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ login_type = #{record.loginType,jdbcType=INTEGER},
+
+
+ province = #{record.province,jdbcType=VARCHAR},
+
+
+
+
+
+
+
+ update ums_member_login_log
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ ip = #{record.ip,jdbcType=VARCHAR},
+ city = #{record.city,jdbcType=VARCHAR},
+ login_type = #{record.loginType,jdbcType=INTEGER},
+ province = #{record.province,jdbcType=VARCHAR}
+
+
+
+
+
+ update ums_member_login_log
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ ip = #{ip,jdbcType=VARCHAR},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ login_type = #{loginType,jdbcType=INTEGER},
+
+
+ province = #{province,jdbcType=VARCHAR},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_login_log
+ set member_id = #{memberId,jdbcType=BIGINT},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ ip = #{ip,jdbcType=VARCHAR},
+ city = #{city,jdbcType=VARCHAR},
+ login_type = #{loginType,jdbcType=INTEGER},
+ province = #{province,jdbcType=VARCHAR}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml
index ef4aeaa..15c76e6 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml
@@ -428,4 +428,858 @@
history_integration = #{historyIntegration,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_level_id, username, password, nickname, phone, status, create_time, icon,
+ gender, birthday, city, job, personalized_signature, source_type, integration, growth,
+ luckey_count, history_integration
+
+
+
+
+ delete from ums_member
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member (member_level_id, username, password,
+ nickname, phone, status,
+ create_time, icon, gender,
+ birthday, city, job, personalized_signature,
+ source_type, integration, growth,
+ luckey_count, history_integration)
+ values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
+ #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
+ #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER},
+ #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER},
+ #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member
+
+
+ member_level_id,
+
+
+ username,
+
+
+ password,
+
+
+ nickname,
+
+
+ phone,
+
+
+ status,
+
+
+ create_time,
+
+
+ icon,
+
+
+ gender,
+
+
+ birthday,
+
+
+ city,
+
+
+ job,
+
+
+ personalized_signature,
+
+
+ source_type,
+
+
+ integration,
+
+
+ growth,
+
+
+ luckey_count,
+
+
+ history_integration,
+
+
+
+
+ #{memberLevelId,jdbcType=BIGINT},
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{nickname,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{gender,jdbcType=INTEGER},
+
+
+ #{birthday,jdbcType=DATE},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{job,jdbcType=VARCHAR},
+
+
+ #{personalizedSignature,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+ #{integration,jdbcType=INTEGER},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{luckeyCount,jdbcType=INTEGER},
+
+
+ #{historyIntegration,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ password = #{record.password,jdbcType=VARCHAR},
+
+
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+
+
+ phone = #{record.phone,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ gender = #{record.gender,jdbcType=INTEGER},
+
+
+ birthday = #{record.birthday,jdbcType=DATE},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ job = #{record.job,jdbcType=VARCHAR},
+
+
+ personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+ integration = #{record.integration,jdbcType=INTEGER},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ luckey_count = #{record.luckeyCount,jdbcType=INTEGER},
+
+
+ history_integration = #{record.historyIntegration,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member
+ set id = #{record.id,jdbcType=BIGINT},
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+ username = #{record.username,jdbcType=VARCHAR},
+ password = #{record.password,jdbcType=VARCHAR},
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ gender = #{record.gender,jdbcType=INTEGER},
+ birthday = #{record.birthday,jdbcType=DATE},
+ city = #{record.city,jdbcType=VARCHAR},
+ job = #{record.job,jdbcType=VARCHAR},
+ personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+ integration = #{record.integration,jdbcType=INTEGER},
+ growth = #{record.growth,jdbcType=INTEGER},
+ luckey_count = #{record.luckeyCount,jdbcType=INTEGER},
+ history_integration = #{record.historyIntegration,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member
+
+
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ password = #{password,jdbcType=VARCHAR},
+
+
+ nickname = #{nickname,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ gender = #{gender,jdbcType=INTEGER},
+
+
+ birthday = #{birthday,jdbcType=DATE},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ job = #{job,jdbcType=VARCHAR},
+
+
+ personalized_signature = #{personalizedSignature,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ integration = #{integration,jdbcType=INTEGER},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ luckey_count = #{luckeyCount,jdbcType=INTEGER},
+
+
+ history_integration = #{historyIntegration,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member
+ set member_level_id = #{memberLevelId,jdbcType=BIGINT},
+ username = #{username,jdbcType=VARCHAR},
+ password = #{password,jdbcType=VARCHAR},
+ nickname = #{nickname,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ icon = #{icon,jdbcType=VARCHAR},
+ gender = #{gender,jdbcType=INTEGER},
+ birthday = #{birthday,jdbcType=DATE},
+ city = #{city,jdbcType=VARCHAR},
+ job = #{job,jdbcType=VARCHAR},
+ personalized_signature = #{personalizedSignature,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER},
+ integration = #{integration,jdbcType=INTEGER},
+ growth = #{growth,jdbcType=INTEGER},
+ luckey_count = #{luckeyCount,jdbcType=INTEGER},
+ history_integration = #{historyIntegration,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_level_id, username, password, nickname, phone, status, create_time, icon,
+ gender, birthday, city, job, personalized_signature, source_type, integration, growth,
+ luckey_count, history_integration
+
+
+
+
+ delete from ums_member
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member (member_level_id, username, password,
+ nickname, phone, status,
+ create_time, icon, gender,
+ birthday, city, job, personalized_signature,
+ source_type, integration, growth,
+ luckey_count, history_integration)
+ values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR},
+ #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER},
+ #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER},
+ #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR},
+ #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER},
+ #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member
+
+
+ member_level_id,
+
+
+ username,
+
+
+ password,
+
+
+ nickname,
+
+
+ phone,
+
+
+ status,
+
+
+ create_time,
+
+
+ icon,
+
+
+ gender,
+
+
+ birthday,
+
+
+ city,
+
+
+ job,
+
+
+ personalized_signature,
+
+
+ source_type,
+
+
+ integration,
+
+
+ growth,
+
+
+ luckey_count,
+
+
+ history_integration,
+
+
+
+
+ #{memberLevelId,jdbcType=BIGINT},
+
+
+ #{username,jdbcType=VARCHAR},
+
+
+ #{password,jdbcType=VARCHAR},
+
+
+ #{nickname,jdbcType=VARCHAR},
+
+
+ #{phone,jdbcType=VARCHAR},
+
+
+ #{status,jdbcType=INTEGER},
+
+
+ #{createTime,jdbcType=TIMESTAMP},
+
+
+ #{icon,jdbcType=VARCHAR},
+
+
+ #{gender,jdbcType=INTEGER},
+
+
+ #{birthday,jdbcType=DATE},
+
+
+ #{city,jdbcType=VARCHAR},
+
+
+ #{job,jdbcType=VARCHAR},
+
+
+ #{personalizedSignature,jdbcType=VARCHAR},
+
+
+ #{sourceType,jdbcType=INTEGER},
+
+
+ #{integration,jdbcType=INTEGER},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{luckeyCount,jdbcType=INTEGER},
+
+
+ #{historyIntegration,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+
+
+ username = #{record.username,jdbcType=VARCHAR},
+
+
+ password = #{record.password,jdbcType=VARCHAR},
+
+
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+
+
+ phone = #{record.phone,jdbcType=VARCHAR},
+
+
+ status = #{record.status,jdbcType=INTEGER},
+
+
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+
+
+ icon = #{record.icon,jdbcType=VARCHAR},
+
+
+ gender = #{record.gender,jdbcType=INTEGER},
+
+
+ birthday = #{record.birthday,jdbcType=DATE},
+
+
+ city = #{record.city,jdbcType=VARCHAR},
+
+
+ job = #{record.job,jdbcType=VARCHAR},
+
+
+ personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR},
+
+
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+
+
+ integration = #{record.integration,jdbcType=INTEGER},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ luckey_count = #{record.luckeyCount,jdbcType=INTEGER},
+
+
+ history_integration = #{record.historyIntegration,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member
+ set id = #{record.id,jdbcType=BIGINT},
+ member_level_id = #{record.memberLevelId,jdbcType=BIGINT},
+ username = #{record.username,jdbcType=VARCHAR},
+ password = #{record.password,jdbcType=VARCHAR},
+ nickname = #{record.nickname,jdbcType=VARCHAR},
+ phone = #{record.phone,jdbcType=VARCHAR},
+ status = #{record.status,jdbcType=INTEGER},
+ create_time = #{record.createTime,jdbcType=TIMESTAMP},
+ icon = #{record.icon,jdbcType=VARCHAR},
+ gender = #{record.gender,jdbcType=INTEGER},
+ birthday = #{record.birthday,jdbcType=DATE},
+ city = #{record.city,jdbcType=VARCHAR},
+ job = #{record.job,jdbcType=VARCHAR},
+ personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR},
+ source_type = #{record.sourceType,jdbcType=INTEGER},
+ integration = #{record.integration,jdbcType=INTEGER},
+ growth = #{record.growth,jdbcType=INTEGER},
+ luckey_count = #{record.luckeyCount,jdbcType=INTEGER},
+ history_integration = #{record.historyIntegration,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member
+
+
+ member_level_id = #{memberLevelId,jdbcType=BIGINT},
+
+
+ username = #{username,jdbcType=VARCHAR},
+
+
+ password = #{password,jdbcType=VARCHAR},
+
+
+ nickname = #{nickname,jdbcType=VARCHAR},
+
+
+ phone = #{phone,jdbcType=VARCHAR},
+
+
+ status = #{status,jdbcType=INTEGER},
+
+
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+
+
+ icon = #{icon,jdbcType=VARCHAR},
+
+
+ gender = #{gender,jdbcType=INTEGER},
+
+
+ birthday = #{birthday,jdbcType=DATE},
+
+
+ city = #{city,jdbcType=VARCHAR},
+
+
+ job = #{job,jdbcType=VARCHAR},
+
+
+ personalized_signature = #{personalizedSignature,jdbcType=VARCHAR},
+
+
+ source_type = #{sourceType,jdbcType=INTEGER},
+
+
+ integration = #{integration,jdbcType=INTEGER},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ luckey_count = #{luckeyCount,jdbcType=INTEGER},
+
+
+ history_integration = #{historyIntegration,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member
+ set member_level_id = #{memberLevelId,jdbcType=BIGINT},
+ username = #{username,jdbcType=VARCHAR},
+ password = #{password,jdbcType=VARCHAR},
+ nickname = #{nickname,jdbcType=VARCHAR},
+ phone = #{phone,jdbcType=VARCHAR},
+ status = #{status,jdbcType=INTEGER},
+ create_time = #{createTime,jdbcType=TIMESTAMP},
+ icon = #{icon,jdbcType=VARCHAR},
+ gender = #{gender,jdbcType=INTEGER},
+ birthday = #{birthday,jdbcType=DATE},
+ city = #{city,jdbcType=VARCHAR},
+ job = #{job,jdbcType=VARCHAR},
+ personalized_signature = #{personalizedSignature,jdbcType=VARCHAR},
+ source_type = #{sourceType,jdbcType=INTEGER},
+ integration = #{integration,jdbcType=INTEGER},
+ growth = #{growth,jdbcType=INTEGER},
+ luckey_count = #{luckeyCount,jdbcType=INTEGER},
+ history_integration = #{historyIntegration,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml
index 24c00b1..4e1322b 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml
@@ -176,4 +176,354 @@
tag_id = #{tagId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, tag_id
+
+
+
+
+ delete from ums_member_member_tag_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_member_tag_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_member_tag_relation (member_id, tag_id)
+ values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_member_tag_relation
+
+
+ member_id,
+
+
+ tag_id,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{tagId,jdbcType=BIGINT},
+
+
+
+
+
+ update ums_member_member_tag_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ tag_id = #{record.tagId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update ums_member_member_tag_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ tag_id = #{record.tagId,jdbcType=BIGINT}
+
+
+
+
+
+ update ums_member_member_tag_relation
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ tag_id = #{tagId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_member_tag_relation
+ set member_id = #{memberId,jdbcType=BIGINT},
+ tag_id = #{tagId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, tag_id
+
+
+
+
+ delete from ums_member_member_tag_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_member_tag_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_member_tag_relation (member_id, tag_id)
+ values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_member_tag_relation
+
+
+ member_id,
+
+
+ tag_id,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{tagId,jdbcType=BIGINT},
+
+
+
+
+
+ update ums_member_member_tag_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ tag_id = #{record.tagId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update ums_member_member_tag_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ tag_id = #{record.tagId,jdbcType=BIGINT}
+
+
+
+
+
+ update ums_member_member_tag_relation
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ tag_id = #{tagId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_member_tag_relation
+ set member_id = #{memberId,jdbcType=BIGINT},
+ tag_id = #{tagId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml
index 8296ec2..2a27394 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml
@@ -176,4 +176,354 @@
product_category_id = #{productCategoryId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, product_category_id
+
+
+
+
+ delete from ums_member_product_category_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_product_category_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_product_category_relation (member_id, product_category_id)
+ values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_product_category_relation
+
+
+ member_id,
+
+
+ product_category_id,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+ update ums_member_product_category_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update ums_member_product_category_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT}
+
+
+
+
+
+ update ums_member_product_category_relation
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_product_category_relation
+ set member_id = #{memberId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, product_category_id
+
+
+
+
+ delete from ums_member_product_category_relation
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_product_category_relation
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_product_category_relation (member_id, product_category_id)
+ values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_product_category_relation
+
+
+ member_id,
+
+
+ product_category_id,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+ update ums_member_product_category_relation
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
+
+
+
+
+
+
+
+ update ums_member_product_category_relation
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT}
+
+
+
+
+
+ update ums_member_product_category_relation
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_product_category_relation
+ set member_id = #{memberId,jdbcType=BIGINT},
+ product_category_id = #{productCategoryId,jdbcType=BIGINT}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml
index c09bd63..e5bf240 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml
@@ -240,4 +240,482 @@
default_status = #{defaultStatus,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, name, phone_number, address, post_code, default_status
+
+
+
+
+ delete from ums_member_receive_address
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_receive_address
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_receive_address (member_id, name, phone_number,
+ address, post_code, default_status
+ )
+ values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
+ #{address,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_receive_address
+
+
+ member_id,
+
+
+ name,
+
+
+ phone_number,
+
+
+ address,
+
+
+ post_code,
+
+
+ default_status,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{phoneNumber,jdbcType=VARCHAR},
+
+
+ #{address,jdbcType=VARCHAR},
+
+
+ #{postCode,jdbcType=VARCHAR},
+
+
+ #{defaultStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_receive_address
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ post_code = #{record.postCode,jdbcType=VARCHAR},
+
+
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_receive_address
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ post_code = #{record.postCode,jdbcType=VARCHAR},
+ default_status = #{record.defaultStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_receive_address
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ phone_number = #{phoneNumber,jdbcType=VARCHAR},
+
+
+ address = #{address,jdbcType=VARCHAR},
+
+
+ post_code = #{postCode,jdbcType=VARCHAR},
+
+
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_receive_address
+ set member_id = #{memberId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ phone_number = #{phoneNumber,jdbcType=VARCHAR},
+ address = #{address,jdbcType=VARCHAR},
+ post_code = #{postCode,jdbcType=VARCHAR},
+ default_status = #{defaultStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, name, phone_number, address, post_code, default_status
+
+
+
+
+ delete from ums_member_receive_address
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_receive_address
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_receive_address (member_id, name, phone_number,
+ address, post_code, default_status
+ )
+ values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
+ #{address,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_receive_address
+
+
+ member_id,
+
+
+ name,
+
+
+ phone_number,
+
+
+ address,
+
+
+ post_code,
+
+
+ default_status,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{phoneNumber,jdbcType=VARCHAR},
+
+
+ #{address,jdbcType=VARCHAR},
+
+
+ #{postCode,jdbcType=VARCHAR},
+
+
+ #{defaultStatus,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_receive_address
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
+
+
+ address = #{record.address,jdbcType=VARCHAR},
+
+
+ post_code = #{record.postCode,jdbcType=VARCHAR},
+
+
+ default_status = #{record.defaultStatus,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_receive_address
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ phone_number = #{record.phoneNumber,jdbcType=VARCHAR},
+ address = #{record.address,jdbcType=VARCHAR},
+ post_code = #{record.postCode,jdbcType=VARCHAR},
+ default_status = #{record.defaultStatus,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_receive_address
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ phone_number = #{phoneNumber,jdbcType=VARCHAR},
+
+
+ address = #{address,jdbcType=VARCHAR},
+
+
+ post_code = #{postCode,jdbcType=VARCHAR},
+
+
+ default_status = #{defaultStatus,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_receive_address
+ set member_id = #{memberId,jdbcType=BIGINT},
+ name = #{name,jdbcType=VARCHAR},
+ phone_number = #{phoneNumber,jdbcType=VARCHAR},
+ address = #{address,jdbcType=VARCHAR},
+ post_code = #{postCode,jdbcType=VARCHAR},
+ default_status = #{defaultStatus,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml
index 9821109..7527080 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml
@@ -241,4 +241,484 @@
type = #{type,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount,
+ max_point_per_order, type
+
+
+
+
+ delete from ums_member_rule_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_rule_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_rule_setting (continue_sign_day, continue_sign_point,
+ consume_per_point, low_order_amount, max_point_per_order,
+ type)
+ values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER},
+ #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER},
+ #{type,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_rule_setting
+
+
+ continue_sign_day,
+
+
+ continue_sign_point,
+
+
+ consume_per_point,
+
+
+ low_order_amount,
+
+
+ max_point_per_order,
+
+
+ type,
+
+
+
+
+ #{continueSignDay,jdbcType=INTEGER},
+
+
+ #{continueSignPoint,jdbcType=INTEGER},
+
+
+ #{consumePerPoint,jdbcType=DECIMAL},
+
+
+ #{lowOrderAmount,jdbcType=DECIMAL},
+
+
+ #{maxPointPerOrder,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_rule_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER},
+
+
+ continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER},
+
+
+ consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL},
+
+
+ low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL},
+
+
+ max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_rule_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER},
+ continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER},
+ consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL},
+ low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL},
+ max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_rule_setting
+
+
+ continue_sign_day = #{continueSignDay,jdbcType=INTEGER},
+
+
+ continue_sign_point = #{continueSignPoint,jdbcType=INTEGER},
+
+
+ consume_per_point = #{consumePerPoint,jdbcType=DECIMAL},
+
+
+ low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL},
+
+
+ max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_rule_setting
+ set continue_sign_day = #{continueSignDay,jdbcType=INTEGER},
+ continue_sign_point = #{continueSignPoint,jdbcType=INTEGER},
+ consume_per_point = #{consumePerPoint,jdbcType=DECIMAL},
+ low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL},
+ max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount,
+ max_point_per_order, type
+
+
+
+
+ delete from ums_member_rule_setting
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_rule_setting
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_rule_setting (continue_sign_day, continue_sign_point,
+ consume_per_point, low_order_amount, max_point_per_order,
+ type)
+ values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER},
+ #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER},
+ #{type,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_rule_setting
+
+
+ continue_sign_day,
+
+
+ continue_sign_point,
+
+
+ consume_per_point,
+
+
+ low_order_amount,
+
+
+ max_point_per_order,
+
+
+ type,
+
+
+
+
+ #{continueSignDay,jdbcType=INTEGER},
+
+
+ #{continueSignPoint,jdbcType=INTEGER},
+
+
+ #{consumePerPoint,jdbcType=DECIMAL},
+
+
+ #{lowOrderAmount,jdbcType=DECIMAL},
+
+
+ #{maxPointPerOrder,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_rule_setting
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER},
+
+
+ continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER},
+
+
+ consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL},
+
+
+ low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL},
+
+
+ max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_rule_setting
+ set id = #{record.id,jdbcType=BIGINT},
+ continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER},
+ continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER},
+ consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL},
+ low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL},
+ max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_rule_setting
+
+
+ continue_sign_day = #{continueSignDay,jdbcType=INTEGER},
+
+
+ continue_sign_point = #{continueSignPoint,jdbcType=INTEGER},
+
+
+ consume_per_point = #{consumePerPoint,jdbcType=DECIMAL},
+
+
+ low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL},
+
+
+ max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_rule_setting
+ set continue_sign_day = #{continueSignDay,jdbcType=INTEGER},
+ continue_sign_point = #{continueSignPoint,jdbcType=INTEGER},
+ consume_per_point = #{consumePerPoint,jdbcType=DECIMAL},
+ low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL},
+ max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml
index e2aab41..a7d3cbc 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml
@@ -383,4 +383,768 @@
recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count,
+ login_count, attend_count, fans_count, collect_product_count, collect_subject_count,
+ collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time
+
+
+
+
+ delete from ums_member_statistics_info
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_statistics_info
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_statistics_info (member_id, consume_amount, order_count,
+ coupon_count, comment_count, return_order_count,
+ login_count, attend_count, fans_count,
+ collect_product_count, collect_subject_count,
+ collect_topic_count, collect_comment_count,
+ invite_friend_count, recent_order_time)
+ values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER},
+ #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER},
+ #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER},
+ #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER},
+ #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER},
+ #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_statistics_info
+
+
+ member_id,
+
+
+ consume_amount,
+
+
+ order_count,
+
+
+ coupon_count,
+
+
+ comment_count,
+
+
+ return_order_count,
+
+
+ login_count,
+
+
+ attend_count,
+
+
+ fans_count,
+
+
+ collect_product_count,
+
+
+ collect_subject_count,
+
+
+ collect_topic_count,
+
+
+ collect_comment_count,
+
+
+ invite_friend_count,
+
+
+ recent_order_time,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{consumeAmount,jdbcType=DECIMAL},
+
+
+ #{orderCount,jdbcType=INTEGER},
+
+
+ #{couponCount,jdbcType=INTEGER},
+
+
+ #{commentCount,jdbcType=INTEGER},
+
+
+ #{returnOrderCount,jdbcType=INTEGER},
+
+
+ #{loginCount,jdbcType=INTEGER},
+
+
+ #{attendCount,jdbcType=INTEGER},
+
+
+ #{fansCount,jdbcType=INTEGER},
+
+
+ #{collectProductCount,jdbcType=INTEGER},
+
+
+ #{collectSubjectCount,jdbcType=INTEGER},
+
+
+ #{collectTopicCount,jdbcType=INTEGER},
+
+
+ #{collectCommentCount,jdbcType=INTEGER},
+
+
+ #{inviteFriendCount,jdbcType=INTEGER},
+
+
+ #{recentOrderTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update ums_member_statistics_info
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ consume_amount = #{record.consumeAmount,jdbcType=DECIMAL},
+
+
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+
+
+ coupon_count = #{record.couponCount,jdbcType=INTEGER},
+
+
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+
+
+ return_order_count = #{record.returnOrderCount,jdbcType=INTEGER},
+
+
+ login_count = #{record.loginCount,jdbcType=INTEGER},
+
+
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+
+
+ fans_count = #{record.fansCount,jdbcType=INTEGER},
+
+
+ collect_product_count = #{record.collectProductCount,jdbcType=INTEGER},
+
+
+ collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER},
+
+
+ collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER},
+
+
+ collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER},
+
+
+ invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER},
+
+
+ recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update ums_member_statistics_info
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ consume_amount = #{record.consumeAmount,jdbcType=DECIMAL},
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+ coupon_count = #{record.couponCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ return_order_count = #{record.returnOrderCount,jdbcType=INTEGER},
+ login_count = #{record.loginCount,jdbcType=INTEGER},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ fans_count = #{record.fansCount,jdbcType=INTEGER},
+ collect_product_count = #{record.collectProductCount,jdbcType=INTEGER},
+ collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER},
+ collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER},
+ collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER},
+ invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER},
+ recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update ums_member_statistics_info
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ consume_amount = #{consumeAmount,jdbcType=DECIMAL},
+
+
+ order_count = #{orderCount,jdbcType=INTEGER},
+
+
+ coupon_count = #{couponCount,jdbcType=INTEGER},
+
+
+ comment_count = #{commentCount,jdbcType=INTEGER},
+
+
+ return_order_count = #{returnOrderCount,jdbcType=INTEGER},
+
+
+ login_count = #{loginCount,jdbcType=INTEGER},
+
+
+ attend_count = #{attendCount,jdbcType=INTEGER},
+
+
+ fans_count = #{fansCount,jdbcType=INTEGER},
+
+
+ collect_product_count = #{collectProductCount,jdbcType=INTEGER},
+
+
+ collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER},
+
+
+ collect_topic_count = #{collectTopicCount,jdbcType=INTEGER},
+
+
+ collect_comment_count = #{collectCommentCount,jdbcType=INTEGER},
+
+
+ invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER},
+
+
+ recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_statistics_info
+ set member_id = #{memberId,jdbcType=BIGINT},
+ consume_amount = #{consumeAmount,jdbcType=DECIMAL},
+ order_count = #{orderCount,jdbcType=INTEGER},
+ coupon_count = #{couponCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ return_order_count = #{returnOrderCount,jdbcType=INTEGER},
+ login_count = #{loginCount,jdbcType=INTEGER},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ fans_count = #{fansCount,jdbcType=INTEGER},
+ collect_product_count = #{collectProductCount,jdbcType=INTEGER},
+ collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER},
+ collect_topic_count = #{collectTopicCount,jdbcType=INTEGER},
+ collect_comment_count = #{collectCommentCount,jdbcType=INTEGER},
+ invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER},
+ recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count,
+ login_count, attend_count, fans_count, collect_product_count, collect_subject_count,
+ collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time
+
+
+
+
+ delete from ums_member_statistics_info
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_statistics_info
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_statistics_info (member_id, consume_amount, order_count,
+ coupon_count, comment_count, return_order_count,
+ login_count, attend_count, fans_count,
+ collect_product_count, collect_subject_count,
+ collect_topic_count, collect_comment_count,
+ invite_friend_count, recent_order_time)
+ values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER},
+ #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER},
+ #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER},
+ #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER},
+ #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER},
+ #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_statistics_info
+
+
+ member_id,
+
+
+ consume_amount,
+
+
+ order_count,
+
+
+ coupon_count,
+
+
+ comment_count,
+
+
+ return_order_count,
+
+
+ login_count,
+
+
+ attend_count,
+
+
+ fans_count,
+
+
+ collect_product_count,
+
+
+ collect_subject_count,
+
+
+ collect_topic_count,
+
+
+ collect_comment_count,
+
+
+ invite_friend_count,
+
+
+ recent_order_time,
+
+
+
+
+ #{memberId,jdbcType=BIGINT},
+
+
+ #{consumeAmount,jdbcType=DECIMAL},
+
+
+ #{orderCount,jdbcType=INTEGER},
+
+
+ #{couponCount,jdbcType=INTEGER},
+
+
+ #{commentCount,jdbcType=INTEGER},
+
+
+ #{returnOrderCount,jdbcType=INTEGER},
+
+
+ #{loginCount,jdbcType=INTEGER},
+
+
+ #{attendCount,jdbcType=INTEGER},
+
+
+ #{fansCount,jdbcType=INTEGER},
+
+
+ #{collectProductCount,jdbcType=INTEGER},
+
+
+ #{collectSubjectCount,jdbcType=INTEGER},
+
+
+ #{collectTopicCount,jdbcType=INTEGER},
+
+
+ #{collectCommentCount,jdbcType=INTEGER},
+
+
+ #{inviteFriendCount,jdbcType=INTEGER},
+
+
+ #{recentOrderTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+ update ums_member_statistics_info
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ member_id = #{record.memberId,jdbcType=BIGINT},
+
+
+ consume_amount = #{record.consumeAmount,jdbcType=DECIMAL},
+
+
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+
+
+ coupon_count = #{record.couponCount,jdbcType=INTEGER},
+
+
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+
+
+ return_order_count = #{record.returnOrderCount,jdbcType=INTEGER},
+
+
+ login_count = #{record.loginCount,jdbcType=INTEGER},
+
+
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+
+
+ fans_count = #{record.fansCount,jdbcType=INTEGER},
+
+
+ collect_product_count = #{record.collectProductCount,jdbcType=INTEGER},
+
+
+ collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER},
+
+
+ collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER},
+
+
+ collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER},
+
+
+ invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER},
+
+
+ recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP},
+
+
+
+
+
+
+
+ update ums_member_statistics_info
+ set id = #{record.id,jdbcType=BIGINT},
+ member_id = #{record.memberId,jdbcType=BIGINT},
+ consume_amount = #{record.consumeAmount,jdbcType=DECIMAL},
+ order_count = #{record.orderCount,jdbcType=INTEGER},
+ coupon_count = #{record.couponCount,jdbcType=INTEGER},
+ comment_count = #{record.commentCount,jdbcType=INTEGER},
+ return_order_count = #{record.returnOrderCount,jdbcType=INTEGER},
+ login_count = #{record.loginCount,jdbcType=INTEGER},
+ attend_count = #{record.attendCount,jdbcType=INTEGER},
+ fans_count = #{record.fansCount,jdbcType=INTEGER},
+ collect_product_count = #{record.collectProductCount,jdbcType=INTEGER},
+ collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER},
+ collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER},
+ collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER},
+ invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER},
+ recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}
+
+
+
+
+
+ update ums_member_statistics_info
+
+
+ member_id = #{memberId,jdbcType=BIGINT},
+
+
+ consume_amount = #{consumeAmount,jdbcType=DECIMAL},
+
+
+ order_count = #{orderCount,jdbcType=INTEGER},
+
+
+ coupon_count = #{couponCount,jdbcType=INTEGER},
+
+
+ comment_count = #{commentCount,jdbcType=INTEGER},
+
+
+ return_order_count = #{returnOrderCount,jdbcType=INTEGER},
+
+
+ login_count = #{loginCount,jdbcType=INTEGER},
+
+
+ attend_count = #{attendCount,jdbcType=INTEGER},
+
+
+ fans_count = #{fansCount,jdbcType=INTEGER},
+
+
+ collect_product_count = #{collectProductCount,jdbcType=INTEGER},
+
+
+ collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER},
+
+
+ collect_topic_count = #{collectTopicCount,jdbcType=INTEGER},
+
+
+ collect_comment_count = #{collectCommentCount,jdbcType=INTEGER},
+
+
+ invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER},
+
+
+ recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_statistics_info
+ set member_id = #{memberId,jdbcType=BIGINT},
+ consume_amount = #{consumeAmount,jdbcType=DECIMAL},
+ order_count = #{orderCount,jdbcType=INTEGER},
+ coupon_count = #{couponCount,jdbcType=INTEGER},
+ comment_count = #{commentCount,jdbcType=INTEGER},
+ return_order_count = #{returnOrderCount,jdbcType=INTEGER},
+ login_count = #{loginCount,jdbcType=INTEGER},
+ attend_count = #{attendCount,jdbcType=INTEGER},
+ fans_count = #{fansCount,jdbcType=INTEGER},
+ collect_product_count = #{collectProductCount,jdbcType=INTEGER},
+ collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER},
+ collect_topic_count = #{collectTopicCount,jdbcType=INTEGER},
+ collect_comment_count = #{collectCommentCount,jdbcType=INTEGER},
+ invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER},
+ recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml
index 08ec6ff..367a542 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml
@@ -193,4 +193,388 @@
finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, finish_order_count, finish_order_amount
+
+
+
+
+ delete from ums_member_tag
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_tag
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_tag (name, finish_order_count, finish_order_amount
+ )
+ values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_tag
+
+
+ name,
+
+
+ finish_order_count,
+
+
+ finish_order_amount,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{finishOrderCount,jdbcType=INTEGER},
+
+
+ #{finishOrderAmount,jdbcType=DECIMAL},
+
+
+
+
+
+ update ums_member_tag
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER},
+
+
+ finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update ums_member_tag
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER},
+ finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}
+
+
+
+
+
+ update ums_member_tag
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ finish_order_count = #{finishOrderCount,jdbcType=INTEGER},
+
+
+ finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_tag
+ set name = #{name,jdbcType=VARCHAR},
+ finish_order_count = #{finishOrderCount,jdbcType=INTEGER},
+ finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, finish_order_count, finish_order_amount
+
+
+
+
+ delete from ums_member_tag
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_tag
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_tag (name, finish_order_count, finish_order_amount
+ )
+ values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL}
+ )
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_tag
+
+
+ name,
+
+
+ finish_order_count,
+
+
+ finish_order_amount,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{finishOrderCount,jdbcType=INTEGER},
+
+
+ #{finishOrderAmount,jdbcType=DECIMAL},
+
+
+
+
+
+ update ums_member_tag
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER},
+
+
+ finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL},
+
+
+
+
+
+
+
+ update ums_member_tag
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER},
+ finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}
+
+
+
+
+
+ update ums_member_tag
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ finish_order_count = #{finishOrderCount,jdbcType=INTEGER},
+
+
+ finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_tag
+ set name = #{name,jdbcType=VARCHAR},
+ finish_order_count = #{finishOrderCount,jdbcType=INTEGER},
+ finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file
diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml
index 9a5783d..e010de4 100644
--- a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml
+++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml
@@ -208,4 +208,418 @@
type = #{type,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, growth, intergration, type
+
+
+
+
+ delete from ums_member_task
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_task
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_task (name, growth, intergration,
+ type)
+ values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER},
+ #{type,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_task
+
+
+ name,
+
+
+ growth,
+
+
+ intergration,
+
+
+ type,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{intergration,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_task
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ intergration = #{record.intergration,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_task
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ growth = #{record.growth,jdbcType=INTEGER},
+ intergration = #{record.intergration,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_task
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ intergration = #{intergration,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_task
+ set name = #{name,jdbcType=VARCHAR},
+ growth = #{growth,jdbcType=INTEGER},
+ intergration = #{intergration,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ and ${criterion.condition}
+
+
+ and ${criterion.condition} #{criterion.value}
+
+
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+
+
+ and ${criterion.condition}
+
+ #{listItem}
+
+
+
+
+
+
+
+
+
+
+ id, name, growth, intergration, type
+
+
+
+
+ delete from ums_member_task
+ where id = #{id,jdbcType=BIGINT}
+
+
+ delete from ums_member_task
+
+
+
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_task (name, growth, intergration,
+ type)
+ values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER},
+ #{type,jdbcType=INTEGER})
+
+
+
+ SELECT LAST_INSERT_ID()
+
+ insert into ums_member_task
+
+
+ name,
+
+
+ growth,
+
+
+ intergration,
+
+
+ type,
+
+
+
+
+ #{name,jdbcType=VARCHAR},
+
+
+ #{growth,jdbcType=INTEGER},
+
+
+ #{intergration,jdbcType=INTEGER},
+
+
+ #{type,jdbcType=INTEGER},
+
+
+
+
+
+ update ums_member_task
+
+
+ id = #{record.id,jdbcType=BIGINT},
+
+
+ name = #{record.name,jdbcType=VARCHAR},
+
+
+ growth = #{record.growth,jdbcType=INTEGER},
+
+
+ intergration = #{record.intergration,jdbcType=INTEGER},
+
+
+ type = #{record.type,jdbcType=INTEGER},
+
+
+
+
+
+
+
+ update ums_member_task
+ set id = #{record.id,jdbcType=BIGINT},
+ name = #{record.name,jdbcType=VARCHAR},
+ growth = #{record.growth,jdbcType=INTEGER},
+ intergration = #{record.intergration,jdbcType=INTEGER},
+ type = #{record.type,jdbcType=INTEGER}
+
+
+
+
+
+ update ums_member_task
+
+
+ name = #{name,jdbcType=VARCHAR},
+
+
+ growth = #{growth,jdbcType=INTEGER},
+
+
+ intergration = #{intergration,jdbcType=INTEGER},
+
+
+ type = #{type,jdbcType=INTEGER},
+
+
+ where id = #{id,jdbcType=BIGINT}
+
+
+ update ums_member_task
+ set name = #{name,jdbcType=VARCHAR},
+ growth = #{growth,jdbcType=INTEGER},
+ intergration = #{intergration,jdbcType=INTEGER},
+ type = #{type,jdbcType=INTEGER}
+ where id = #{id,jdbcType=BIGINT}
+
\ No newline at end of file