You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: server/src/main/java/edp/davinci/dao/StarMapper.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -55,14 +55,14 @@ public interface StarMapper {
55
55
56
56
57
57
@Select({
58
-
"select p.*, u.id as 'createBy.id', IF(u.`name` is NULL,u.username,u.`name`) as 'createBy.username', u.avatar as 'createBy.avatar' from visualis_project p left join linkis_user u on u.id = p.user_id ",
58
+
"select p.*, u.id as 'createBy.id', IF(u.`name` is NULL,u.username,u.`name`) as 'createBy.username'from visualis_project p left join dss_user u on u.id = p.user_id ",
59
59
"where p.id in (select target_id from star where target = #{target} and user_id = #{userId})"
"select u.id, IF(u.`name` is NULL,u.username,u.`name`) as username, u.email, u.avatar, s.star_time from star s left join linkis_user u on u.id = s.user_id",
65
+
"select u.id, IF(u.`name` is NULL,u.username,u.`name`) as username, u.email, u.avatar, s.star_time from star s left join visualis_user u on u.id = s.user_id",
66
66
"where s.target = #{target} and s.target_id = #{targetId}"
@Update({"update `linkis_user` set `name` = #{name}, description = #{description}, department = #{department}, update_time = #{updateTime}",
50
+
@Update({"update `visualis_user` set `name` = #{name}, description = #{description}, department = #{department}, update_time = #{updateTime}",
51
51
"where id = #{id}"})
52
52
intupdateBaseInfo(Useruser);
53
53
54
-
@Update({"update linkis_user set `avatar` = #{avatar}, update_time = #{updateTime} where id = #{id}"})
54
+
@Update({"update visualis_user set `avatar` = #{avatar}, update_time = #{updateTime} where id = #{id}"})
55
55
intupdateAvatar(Useruser);
56
56
57
-
@Select({"select id from linkis_user where (LOWER(`username`) = LOWER(#{name}) or LOWER(`email`) = LOWER(#{name}) or LOWER(`name`) = LOWER(#{name}))"})
57
+
@Select({"select id from visualis_user where (LOWER(`username`) = LOWER(#{name}) or LOWER(`email`) = LOWER(#{name}) or LOWER(`name`) = LOWER(#{name}))"})
58
58
LonggetIdByName(@Param("name") Stringname);
59
59
60
-
@Update({"update `linkis_user` set `active` = #{active}, `update_time` = #{updateTime} where id = #{id}"})
60
+
@Update({"update `visualis_user` set `active` = #{active}, `update_time` = #{updateTime} where id = #{id}"})
61
61
intactiveUser(Useruser);
62
62
63
-
@Update({"update `linkis_user` set `password` = #{password}, `update_time` = #{updateTime} where id = #{id}"})
63
+
@Update({"update `visualis_user` set `password` = #{password}, `update_time` = #{updateTime} where id = #{id}"})
0 commit comments