diff --git a/src/main/java/com/rymcu/forest/entity/Article.java b/src/main/java/com/rymcu/forest/entity/Article.java index 5f7cc22..a929ee3 100644 --- a/src/main/java/com/rymcu/forest/entity/Article.java +++ b/src/main/java/com/rymcu/forest/entity/Article.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_article") +@Table(name = "forest_article") public class Article implements Serializable,Cloneable { /** 主键 */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/ArticleContent.java b/src/main/java/com/rymcu/forest/entity/ArticleContent.java index 26bf9d9..846b477 100644 --- a/src/main/java/com/rymcu/forest/entity/ArticleContent.java +++ b/src/main/java/com/rymcu/forest/entity/ArticleContent.java @@ -12,7 +12,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_article_content") +@Table(name = "forest_article_content") public class ArticleContent { @Id diff --git a/src/main/java/com/rymcu/forest/entity/ArticleThumbsUp.java b/src/main/java/com/rymcu/forest/entity/ArticleThumbsUp.java index ee3ac82..b7729dd 100644 --- a/src/main/java/com/rymcu/forest/entity/ArticleThumbsUp.java +++ b/src/main/java/com/rymcu/forest/entity/ArticleThumbsUp.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_article_thumbs_up") +@Table(name="forest_article_thumbs_up") public class ArticleThumbsUp implements Serializable, Cloneable { /** * 主键 diff --git a/src/main/java/com/rymcu/forest/entity/Bank.java b/src/main/java/com/rymcu/forest/entity/Bank.java index 259be13..97405fb 100644 --- a/src/main/java/com/rymcu/forest/entity/Bank.java +++ b/src/main/java/com/rymcu/forest/entity/Bank.java @@ -13,7 +13,7 @@ import java.util.Date; * 银行 * @author ronger */ -@Table(name = "vertical_bank") +@Table(name = "forest_bank") @Data public class Bank { diff --git a/src/main/java/com/rymcu/forest/entity/BankAccount.java b/src/main/java/com/rymcu/forest/entity/BankAccount.java index e871baa..3c3374a 100644 --- a/src/main/java/com/rymcu/forest/entity/BankAccount.java +++ b/src/main/java/com/rymcu/forest/entity/BankAccount.java @@ -14,7 +14,7 @@ import java.util.Date; * 银行账户 * @author ronger */ -@Table(name = "vertical_bank_account") +@Table(name = "forest_bank_account") @Data public class BankAccount { /** 主键 */ diff --git a/src/main/java/com/rymcu/forest/entity/Comment.java b/src/main/java/com/rymcu/forest/entity/Comment.java index 6f59d9b..3431f74 100644 --- a/src/main/java/com/rymcu/forest/entity/Comment.java +++ b/src/main/java/com/rymcu/forest/entity/Comment.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_comment") +@Table(name="forest_comment") public class Comment implements Serializable,Cloneable { /** 主键 */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/CurrencyIssue.java b/src/main/java/com/rymcu/forest/entity/CurrencyIssue.java index bb2c9d4..4ab315c 100644 --- a/src/main/java/com/rymcu/forest/entity/CurrencyIssue.java +++ b/src/main/java/com/rymcu/forest/entity/CurrencyIssue.java @@ -12,7 +12,7 @@ import java.util.Date; * 货币发行记录 * @author ronger */ -@Table(name = "vertical_currency_issue") +@Table(name = "forest_currency_issue") @Data public class CurrencyIssue { /** 主键 */ diff --git a/src/main/java/com/rymcu/forest/entity/CurrencyRule.java b/src/main/java/com/rymcu/forest/entity/CurrencyRule.java index d0cae4d..243a5cc 100644 --- a/src/main/java/com/rymcu/forest/entity/CurrencyRule.java +++ b/src/main/java/com/rymcu/forest/entity/CurrencyRule.java @@ -12,7 +12,7 @@ import java.math.BigDecimal; /** * @author ronger */ -@Table(name="vertical_currency_rule") +@Table(name="forest_currency_rule") @Data public class CurrencyRule implements Serializable, Cloneable { /** diff --git a/src/main/java/com/rymcu/forest/entity/Follow.java b/src/main/java/com/rymcu/forest/entity/Follow.java index b87855c..471fe44 100644 --- a/src/main/java/com/rymcu/forest/entity/Follow.java +++ b/src/main/java/com/rymcu/forest/entity/Follow.java @@ -12,7 +12,7 @@ import java.io.Serializable; * @author ronger */ @Data -@Table(name="vertical_follow") +@Table(name="forest_follow") public class Follow implements Serializable,Cloneable { /** 主键 */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/Notification.java b/src/main/java/com/rymcu/forest/entity/Notification.java index ceb4b6c..809f070 100644 --- a/src/main/java/com/rymcu/forest/entity/Notification.java +++ b/src/main/java/com/rymcu/forest/entity/Notification.java @@ -15,7 +15,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_notification") +@Table(name="forest_notification") public class Notification implements Serializable,Cloneable { /** * 主键 diff --git a/src/main/java/com/rymcu/forest/entity/Permission.java b/src/main/java/com/rymcu/forest/entity/Permission.java index e24ce23..d5b0bb8 100644 --- a/src/main/java/com/rymcu/forest/entity/Permission.java +++ b/src/main/java/com/rymcu/forest/entity/Permission.java @@ -13,7 +13,7 @@ import java.io.Serializable; * @author ronger */ @Data -@Table(name = "vertical_permission") +@Table(name = "forest_permission") public class Permission implements Serializable,Cloneable { @Id diff --git a/src/main/java/com/rymcu/forest/entity/Portfolio.java b/src/main/java/com/rymcu/forest/entity/Portfolio.java index 09daf74..8165a4f 100644 --- a/src/main/java/com/rymcu/forest/entity/Portfolio.java +++ b/src/main/java/com/rymcu/forest/entity/Portfolio.java @@ -9,7 +9,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_portfolio") +@Table(name = "forest_portfolio") public class Portfolio { /** 主键 */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/Role.java b/src/main/java/com/rymcu/forest/entity/Role.java index ec8ce28..99c2511 100644 --- a/src/main/java/com/rymcu/forest/entity/Role.java +++ b/src/main/java/com/rymcu/forest/entity/Role.java @@ -14,7 +14,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_role") +@Table(name = "forest_role") public class Role implements Serializable,Cloneable { @Id @Column(name = "id") diff --git a/src/main/java/com/rymcu/forest/entity/SpecialDay.java b/src/main/java/com/rymcu/forest/entity/SpecialDay.java index e221995..5455d6a 100644 --- a/src/main/java/com/rymcu/forest/entity/SpecialDay.java +++ b/src/main/java/com/rymcu/forest/entity/SpecialDay.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_special_day") +@Table(name="forest_special_day") public class SpecialDay implements Serializable,Cloneable{ /** */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/Sponsor.java b/src/main/java/com/rymcu/forest/entity/Sponsor.java index 0c4263b..46ad4b3 100644 --- a/src/main/java/com/rymcu/forest/entity/Sponsor.java +++ b/src/main/java/com/rymcu/forest/entity/Sponsor.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_sponsor") +@Table(name="forest_sponsor") public class Sponsor implements Serializable, Cloneable { /** * 主键 diff --git a/src/main/java/com/rymcu/forest/entity/Tag.java b/src/main/java/com/rymcu/forest/entity/Tag.java index 42119ec..8a2e5f2 100644 --- a/src/main/java/com/rymcu/forest/entity/Tag.java +++ b/src/main/java/com/rymcu/forest/entity/Tag.java @@ -13,7 +13,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_tag") +@Table(name = "forest_tag") public class Tag implements Serializable,Cloneable { /** 主键 */ @Id diff --git a/src/main/java/com/rymcu/forest/entity/Topic.java b/src/main/java/com/rymcu/forest/entity/Topic.java index 49bc120..cab07de 100644 --- a/src/main/java/com/rymcu/forest/entity/Topic.java +++ b/src/main/java/com/rymcu/forest/entity/Topic.java @@ -12,7 +12,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name = "vertical_topic") +@Table(name = "forest_topic") public class Topic { /** 主键 */ diff --git a/src/main/java/com/rymcu/forest/entity/TransactionRecord.java b/src/main/java/com/rymcu/forest/entity/TransactionRecord.java index 4084a92..c7e34c8 100644 --- a/src/main/java/com/rymcu/forest/entity/TransactionRecord.java +++ b/src/main/java/com/rymcu/forest/entity/TransactionRecord.java @@ -13,7 +13,7 @@ import java.util.Date; * 交易记录 * @author ronger */ -@Table(name = "vertical_transaction_record") +@Table(name = "forest_transaction_record") @Data public class TransactionRecord { /** 主键 */ diff --git a/src/main/java/com/rymcu/forest/entity/User.java b/src/main/java/com/rymcu/forest/entity/User.java index a5ef26a..b13a264 100644 --- a/src/main/java/com/rymcu/forest/entity/User.java +++ b/src/main/java/com/rymcu/forest/entity/User.java @@ -15,7 +15,7 @@ import java.util.Date; /** * @author ronger */ -@Table(name = "vertical_user") +@Table(name = "forest_user") @Data public class User implements Serializable,Cloneable { @Id diff --git a/src/main/java/com/rymcu/forest/entity/UserExtend.java b/src/main/java/com/rymcu/forest/entity/UserExtend.java index a45962f..b4e339a 100644 --- a/src/main/java/com/rymcu/forest/entity/UserExtend.java +++ b/src/main/java/com/rymcu/forest/entity/UserExtend.java @@ -9,7 +9,7 @@ import javax.persistence.Table; * @author ronger */ @Data -@Table(name = "vertical_user_extend") +@Table(name = "forest_user_extend") public class UserExtend { @Id diff --git a/src/main/java/com/rymcu/forest/entity/Visit.java b/src/main/java/com/rymcu/forest/entity/Visit.java index 94e251a..f1f2aa1 100644 --- a/src/main/java/com/rymcu/forest/entity/Visit.java +++ b/src/main/java/com/rymcu/forest/entity/Visit.java @@ -15,7 +15,7 @@ import java.util.Date; * @author ronger */ @Data -@Table(name="vertical_visit") +@Table(name="forest_visit") public class Visit implements Serializable,Cloneable { /** 主键 */ diff --git a/src/main/java/com/rymcu/forest/entity/WxUser.java b/src/main/java/com/rymcu/forest/entity/WxUser.java index 2748754..81fdce4 100644 --- a/src/main/java/com/rymcu/forest/entity/WxUser.java +++ b/src/main/java/com/rymcu/forest/entity/WxUser.java @@ -11,7 +11,7 @@ import javax.persistence.Table; * @author ronger */ @Data -@Table(name = "vertical_wx_user") +@Table(name = "forest_wx_user") public class WxUser { @Id diff --git a/src/main/java/com/rymcu/forest/mapper/TagMapper.java b/src/main/java/com/rymcu/forest/mapper/TagMapper.java index bc53ff5..b4b1138 100644 --- a/src/main/java/com/rymcu/forest/mapper/TagMapper.java +++ b/src/main/java/com/rymcu/forest/mapper/TagMapper.java @@ -13,7 +13,7 @@ import java.util.List; public interface TagMapper extends Mapper { /** - * 插入标签文章表(vertical_tag_article)相关信息 + * 插入标签文章表(forest_tag_article)相关信息 * @param idTag * @param idArticle * @return diff --git a/src/main/java/com/rymcu/forest/util/Utils.java b/src/main/java/com/rymcu/forest/util/Utils.java index 2cd80da..99db051 100644 --- a/src/main/java/com/rymcu/forest/util/Utils.java +++ b/src/main/java/com/rymcu/forest/util/Utils.java @@ -130,10 +130,7 @@ public class Utils { } public static void main(String[] args){ - LocalDate localDate = LocalDate.parse("2019-11-15"); - ZoneId zone = ZoneId.systemDefault(); - Instant instant = localDate.atStartOfDay().atZone(zone).toInstant(); - String s = getTimeAgo(Date.from(instant)); + String s = entryptPassword("admin"); System.out.println(s); } diff --git a/src/main/java/mapper/ArticleMapper.xml b/src/main/java/mapper/ArticleMapper.xml index fc073e8..240f694 100644 --- a/src/main/java/mapper/ArticleMapper.xml +++ b/src/main/java/mapper/ArticleMapper.xml @@ -63,42 +63,42 @@ - - + + - insert into vertical_article_content (id_article,article_content,article_content_html,created_time,updated_time) + insert into forest_article_content (id_article,article_content,article_content_html,created_time,updated_time) values (#{idArticle},#{articleContent},#{articleContentHtml},sysdate(),sysdate()) - update vertical_article_content set article_content = #{articleContent},article_content_html = #{articleContentHtml},updated_time = sysdate() where id_article = #{idArticle} + update forest_article_content set article_content = #{articleContent},article_content_html = #{articleContentHtml},updated_time = sysdate() where id_article = #{idArticle} - update vertical_article set article_view_count = #{articleViewCount} where id = #{id} + update forest_article set article_view_count = #{articleViewCount} where id = #{id} - update vertical_article set article_tags = #{tags} where id = #{idArticle} + update forest_article set article_tags = #{tags} where id = #{idArticle} - update vertical_article set article_link = #{articleLink}, article_permalink = #{articlePermalink}, article_preview_content = #{articlePreviewContent} where id = #{idArticle} + update forest_article set article_link = #{articleLink}, article_permalink = #{articlePermalink}, article_preview_content = #{articlePreviewContent} where id = #{idArticle} - update vertical_article set article_perfect = #{articlePerfect} where id = #{idArticle} + update forest_article set article_perfect = #{articlePerfect} where id = #{idArticle} - delete from vertical_tag_article where id_article = #{id} + delete from forest_tag_article where id_article = #{id} - delete from vertical_tag_article where id = #{idArticleTag} + delete from forest_tag_article where id = #{idArticleTag} - delete from vertical_portfolio_article where id_vertical_article = #{id} + delete from forest_portfolio_article where id_article = #{id} \ No newline at end of file diff --git a/src/main/java/mapper/ArticleThumbsUpMapper.xml b/src/main/java/mapper/ArticleThumbsUpMapper.xml index 38f66a6..ea830cc 100644 --- a/src/main/java/mapper/ArticleThumbsUpMapper.xml +++ b/src/main/java/mapper/ArticleThumbsUpMapper.xml @@ -2,6 +2,6 @@ - update vertical_article set article_thumbs_up_count = article_thumbs_up_count + #{thumbsUpNumber} where id = #{idArticle} + update forest_article set article_thumbs_up_count = article_thumbs_up_count + #{thumbsUpNumber} where id = #{idArticle} \ No newline at end of file diff --git a/src/main/java/mapper/BankAccountMapper.xml b/src/main/java/mapper/BankAccountMapper.xml index cbc5ec3..2cc2765 100644 --- a/src/main/java/mapper/BankAccountMapper.xml +++ b/src/main/java/mapper/BankAccountMapper.xml @@ -12,9 +12,9 @@ \ No newline at end of file diff --git a/src/main/java/mapper/BankMapper.xml b/src/main/java/mapper/BankMapper.xml index 14faced..0cee4a1 100644 --- a/src/main/java/mapper/BankMapper.xml +++ b/src/main/java/mapper/BankMapper.xml @@ -13,7 +13,7 @@ \ No newline at end of file diff --git a/src/main/java/mapper/CommentMapper.xml b/src/main/java/mapper/CommentMapper.xml index ffb41a9..183286a 100644 --- a/src/main/java/mapper/CommentMapper.xml +++ b/src/main/java/mapper/CommentMapper.xml @@ -35,15 +35,15 @@ - update vertical_comment set comment_sharp_url = #{commentSharpUrl} where id = #{idComment} + update forest_comment set comment_sharp_url = #{commentSharpUrl} where id = #{idComment} \ No newline at end of file diff --git a/src/main/java/mapper/DashboardMapper.xml b/src/main/java/mapper/DashboardMapper.xml index 4db3f61..0be4881 100644 --- a/src/main/java/mapper/DashboardMapper.xml +++ b/src/main/java/mapper/DashboardMapper.xml @@ -6,45 +6,45 @@ \ No newline at end of file diff --git a/src/main/java/mapper/FollowMapper.xml b/src/main/java/mapper/FollowMapper.xml index 8e82fe5..73a663e 100644 --- a/src/main/java/mapper/FollowMapper.xml +++ b/src/main/java/mapper/FollowMapper.xml @@ -10,15 +10,15 @@ \ No newline at end of file diff --git a/src/main/java/mapper/NotificationMapper.xml b/src/main/java/mapper/NotificationMapper.xml index a6e8dc2..81fa9b0 100644 --- a/src/main/java/mapper/NotificationMapper.xml +++ b/src/main/java/mapper/NotificationMapper.xml @@ -11,18 +11,18 @@ - insert into vertical_notification (id_user, data_type, data_id, data_summary, created_time) values (#{idUser}, #{dataType}, #{dataId}, #{dataSummary}, sysdate()) + insert into forest_notification (id_user, data_type, data_id, data_summary, created_time) values (#{idUser}, #{dataType}, #{dataId}, #{dataSummary}, sysdate()) - update vertical_notification set has_read = '1' where id = #{id} + update forest_notification set has_read = '1' where id = #{id} \ No newline at end of file diff --git a/src/main/java/mapper/PermissionMapper.xml b/src/main/java/mapper/PermissionMapper.xml index d0a9d8f..99f061e 100644 --- a/src/main/java/mapper/PermissionMapper.xml +++ b/src/main/java/mapper/PermissionMapper.xml @@ -10,6 +10,6 @@ \ No newline at end of file diff --git a/src/main/java/mapper/PortfolioMapper.xml b/src/main/java/mapper/PortfolioMapper.xml index d6f24d8..58c6eb9 100644 --- a/src/main/java/mapper/PortfolioMapper.xml +++ b/src/main/java/mapper/PortfolioMapper.xml @@ -19,16 +19,16 @@ - insert into vertical_portfolio_article (id_vertical_portfolio, id_vertical_article, sort_no) values (#{idPortfolio}, #{idArticle}, #{maxSortNo}) + insert into forest_portfolio_article (id_portfolio, id_article, sort_no) values (#{idPortfolio}, #{idArticle}, #{maxSortNo}) - update vertical_portfolio_article set sort_no = #{sortNo} where id_vertical_portfolio = #{idPortfolio} and id_vertical_article = #{idArticle} + update forest_portfolio_article set sort_no = #{sortNo} where id_portfolio = #{idPortfolio} and id_article = #{idArticle} - delete from vertical_portfolio_article where id_vertical_portfolio = #{idPortfolio} and id_vertical_article = #{idArticle} + delete from forest_portfolio_article where id_portfolio = #{idPortfolio} and id_article = #{idArticle} \ No newline at end of file diff --git a/src/main/java/mapper/RoleMapper.xml b/src/main/java/mapper/RoleMapper.xml index 864639b..8b03041 100644 --- a/src/main/java/mapper/RoleMapper.xml +++ b/src/main/java/mapper/RoleMapper.xml @@ -14,17 +14,17 @@ - update vertical_role set status = #{status},updated_time = sysdate() where id = #{idRole} + update forest_role set status = #{status},updated_time = sysdate() where id = #{idRole} - update vertical_role set name = #{name}, input_code = #{inputCode}, weights = #{weights}, updated_time = sysdate() where id = #{idRole} + update forest_role set name = #{name}, input_code = #{inputCode}, weights = #{weights}, updated_time = sysdate() where id = #{idRole} \ No newline at end of file diff --git a/src/main/java/mapper/SearchMapper.xml b/src/main/java/mapper/SearchMapper.xml index 44047d0..f159899 100644 --- a/src/main/java/mapper/SearchMapper.xml +++ b/src/main/java/mapper/SearchMapper.xml @@ -7,12 +7,12 @@ \ No newline at end of file diff --git a/src/main/java/mapper/SponsorMapper.xml b/src/main/java/mapper/SponsorMapper.xml index 2437084..29e42c4 100644 --- a/src/main/java/mapper/SponsorMapper.xml +++ b/src/main/java/mapper/SponsorMapper.xml @@ -2,6 +2,6 @@ - update vertical_article set article_sponsor_count = article_sponsor_count + 1 where id = #{idArticle} + update forest_article set article_sponsor_count = article_sponsor_count + 1 where id = #{idArticle} \ No newline at end of file diff --git a/src/main/java/mapper/TagMapper.xml b/src/main/java/mapper/TagMapper.xml index 108f4db..63953f1 100644 --- a/src/main/java/mapper/TagMapper.xml +++ b/src/main/java/mapper/TagMapper.xml @@ -23,24 +23,24 @@ - insert into vertical_tag_article (id_tag,id_article,created_time,updated_time) values (#{idTag},#{idArticle},sysdate(),sysdate()) + insert into forest_tag_article (id_tag,id_article,created_time,updated_time) values (#{idTag},#{idArticle},sysdate(),sysdate()) - insert into vertical_user_tag (id_tag,id_user,type,created_time,updated_time) values (#{idTag},#{idUser},#{type},sysdate(),sysdate()) + insert into forest_user_tag (id_tag,id_user,type,created_time,updated_time) values (#{idTag},#{idUser},#{type},sysdate(),sysdate()) - update vertical_tag set tag_uri = #{tagUri}, tag_icon_path = #{tagIconPath}, tag_status = #{tagStatus}, tag_description = #{tagDescription}, tag_reservation = #{tagReservation} where id = #{idTag} + update forest_tag set tag_uri = #{tagUri}, tag_icon_path = #{tagIconPath}, tag_status = #{tagStatus}, tag_description = #{tagDescription}, tag_reservation = #{tagReservation} where id = #{idTag} - delete from vertical_tag where tag_reservation = 0 and id not in (select * from (select id_tag from vertical_tag_article vta left join vertical_article va on vta.id_article = va.id where va.id is not null) tmp); + delete from forest_tag where tag_reservation = 0 and id not in (select * from (select id_tag from forest_tag_article vta left join forest_article va on vta.id_article = va.id where va.id is not null) tmp); \ No newline at end of file diff --git a/src/main/java/mapper/TopicMapper.xml b/src/main/java/mapper/TopicMapper.xml index 6c859f4..cd27fc7 100644 --- a/src/main/java/mapper/TopicMapper.xml +++ b/src/main/java/mapper/TopicMapper.xml @@ -51,27 +51,27 @@ - insert into vertical_topic_tag (id_topic, id_tag, created_time, updated_time) values (#{idTopic}, #{idTag}, sysdate(), sysdate()) + insert into forest_topic_tag (id_topic, id_tag, created_time, updated_time) values (#{idTopic}, #{idTag}, sysdate(), sysdate()) - update vertical_topic set topic_title = #{topicTitle},topic_uri = #{topicUri},topic_icon_path = #{topicIconPath}, updated_time = sysdate(), + update forest_topic set topic_title = #{topicTitle},topic_uri = #{topicUri},topic_icon_path = #{topicIconPath}, updated_time = sysdate(), topic_nva = #{topicNva},topic_status = #{topicStatus},topic_sort = #{topicSort},topic_description = #{topicDescription},topic_description_html = #{topicDescriptionHtml} where id = #{idTopic} - delete from vertical_topic_tag where id_topic = #{idTopic} and id_tag = #{idTag} + delete from forest_topic_tag where id_topic = #{idTopic} and id_tag = #{idTag} - select * from vertical_transaction_record where form_bank_account = #{bankAccount} or to_bank_account = #{bankAccount} + select * from forest_transaction_record where form_bank_account = #{bankAccount} or to_bank_account = #{bankAccount} \ No newline at end of file diff --git a/src/main/java/mapper/UserExtendMapper.xml b/src/main/java/mapper/UserExtendMapper.xml index 565428b..953895f 100644 --- a/src/main/java/mapper/UserExtendMapper.xml +++ b/src/main/java/mapper/UserExtendMapper.xml @@ -10,7 +10,7 @@ \ No newline at end of file diff --git a/src/main/java/mapper/UserMapper.xml b/src/main/java/mapper/UserMapper.xml index 6c770b7..c0d14f9 100644 --- a/src/main/java/mapper/UserMapper.xml +++ b/src/main/java/mapper/UserMapper.xml @@ -47,57 +47,57 @@ - insert into vertical_user_role (id_user,id_role,created_time) values (#{idUser},#{idRole},sysdate()) + insert into forest_user_role (id_user,id_role,created_time) values (#{idUser},#{idRole},sysdate()) - update vertical_user set password = #{password} where account = #{account} + update forest_user set password = #{password} where account = #{account} - update vertical_user_role set id_role = #{idRole},created_time = sysdate() where id_user = #{idUser} + update forest_user_role set id_role = #{idRole},created_time = sysdate() where id_user = #{idUser} - update vertical_user set status = #{status} where id = #{idUser} + update forest_user set status = #{status} where id = #{idUser} - update vertical_user set nickname = #{nickname},email = #{email},signature = #{signature},avatar_type = #{avatarType},avatar_url = #{avatarUrl},sex = #{sex} + update forest_user set nickname = #{nickname},email = #{email},signature = #{signature},avatar_type = #{avatarType},avatar_url = #{avatarUrl},sex = #{sex} ,phone = #{phone} where id = #{idUser} - update vertical_user set last_login_time = sysdate() where id = #{idUser} + update forest_user set last_login_time = sysdate() where id = #{idUser} - update vertical_user set email = #{email} where id = #{idUser} + update forest_user set email = #{email} where id = #{idUser} - update vertical_user set password = #{password} where id = #{idUser} + update forest_user set password = #{password} where id = #{idUser} \ No newline at end of file