From 075de573293a7f665baddb0a334a3496091cf7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=9D=E5=85=88=E7=91=9E?= <1490493387@qq.com> Date: Sun, 20 Jun 2021 01:46:14 +0800 Subject: [PATCH] refactor(youlai.sql): create_time->gmt_create,update_time->gmt_modified --- .../src/main/resources/mapper/SmsCouponDao.xml | 18 +++++++++--------- .../resources/mapper/SmsCouponRecordDao.xml | 18 +++++++++--------- .../mapper/SmsSeckillSessionMapper.xml | 6 +++--- .../mapper/SmsSeckillSkuRelationMapper.xml | 6 +++--- .../resources/mapper/SysDictItemMapper.xml | 8 ++++---- .../main/resources/mapper/SysMenuMapper.xml | 6 +++--- .../resources/mapper/SysPermissionMapper.xml | 8 ++++---- .../main/resources/mapper/SysUserMapper.xml | 6 +++--- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/mall-sms/sms-boot/src/main/resources/mapper/SmsCouponDao.xml b/mall-sms/sms-boot/src/main/resources/mapper/SmsCouponDao.xml index a4b7ff61b..669de8362 100644 --- a/mall-sms/sms-boot/src/main/resources/mapper/SmsCouponDao.xml +++ b/mall-sms/sms-boot/src/main/resources/mapper/SmsCouponDao.xml @@ -17,12 +17,12 @@ - - + + id, title, img, `type`, publish, condition_price, price, publish_count,limit_count, take_count, - used_count, start_time, end_time, valid_days, `status`, create_time, update_time + used_count, start_time, end_time, valid_days, `status`, gmt_create, gmt_modified select @@ -73,10 +73,10 @@ `status`, - create_time, + gmt_create, - update_time, + gmt_modified, @@ -165,10 +165,10 @@ `status` = #{status,jdbcType=INTEGER}, - create_time = #{gmtCreate,jdbcType=TIMESTAMP}, + gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, - update_time = #{gmtModified,jdbcType=TIMESTAMP}, + gmt_modified = #{gmtModified,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} @@ -187,8 +187,8 @@ end_time = #{endTime,jdbcType=TIMESTAMP}, order_id = #{orderId,jdbcType=BIGINT}, `status` = #{status,jdbcType=INTEGER}, - create_time = #{gmtCreate,jdbcType=TIMESTAMP}, - update_time = #{gmtModified,jdbcType=TIMESTAMP} + gmt_create = #{gmtCreate,jdbcType=TIMESTAMP}, + gmt_modified = #{gmtModified,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} diff --git a/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSessionMapper.xml b/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSessionMapper.xml index 3f686937c..e8c514a75 100644 --- a/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSessionMapper.xml +++ b/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSessionMapper.xml @@ -7,11 +7,11 @@ - - + + - id, `name`, start_time, end_time, `status`, create_time, update_time + id, `name`, start_time, end_time, `status`, gmt_create, gmt_modified diff --git a/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSkuRelationMapper.xml b/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSkuRelationMapper.xml index 4a5466cd2..15022beb1 100644 --- a/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSkuRelationMapper.xml +++ b/mall-sms/sms-boot/src/main/resources/mapper/SmsSeckillSkuRelationMapper.xml @@ -9,12 +9,12 @@ - - + + id, session_id, sku_id, seckill_price, seckill_count, seckill_limit, seckill_sort, - create_time, update_time + gmt_create, gmt_modified diff --git a/youlai-admin/admin-boot/src/main/resources/mapper/SysDictItemMapper.xml b/youlai-admin/admin-boot/src/main/resources/mapper/SysDictItemMapper.xml index 15518fd81..5521c91d2 100644 --- a/youlai-admin/admin-boot/src/main/resources/mapper/SysDictItemMapper.xml +++ b/youlai-admin/admin-boot/src/main/resources/mapper/SysDictItemMapper.xml @@ -13,15 +13,15 @@ - - + + id,name,value, dict_code,sort,status, - defaulted,remark,create_time, - update_time + defaulted,remark,gmt_create, + gmt_modified diff --git a/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml b/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml index 6160cc626..f3d5a1768 100644 --- a/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml +++ b/youlai-admin/admin-boot/src/main/resources/mapper/SysMenuMapper.xml @@ -15,8 +15,8 @@ - - + + @@ -27,7 +27,7 @@ ,name,parent_id, path,component,redirect, icon,sort,visible, - create_time,update_time + gmt_create,gmt_modified diff --git a/youlai-admin/admin-boot/src/main/resources/mapper/SysUserMapper.xml b/youlai-admin/admin-boot/src/main/resources/mapper/SysUserMapper.xml index 10b0eb5f3..99898bdf6 100644 --- a/youlai-admin/admin-boot/src/main/resources/mapper/SysUserMapper.xml +++ b/youlai-admin/admin-boot/src/main/resources/mapper/SysUserMapper.xml @@ -15,8 +15,8 @@ - - + + @@ -28,7 +28,7 @@ ,username,nickname, gender,password,dept_id, avatar,mobile,status, - email,create_time,update_time, + email,gmt_create,gmt_modified, deleted