|
|
|
@ -26,8 +26,8 @@ public interface ProjectInfoMapper extends BaseMapper<ProjectInfoEntity> {
|
|
|
|
|
@Select("<script>" + |
|
|
|
|
"select * from project_info pi " + |
|
|
|
|
"<if test='account != null and account != \"\"'>" + |
|
|
|
|
" left join sys_user_pro sup on sup.pro_id = pi.id" + |
|
|
|
|
" left join (select * from sys_user where user_name = #{account}) su on sup.user_id = su.id " + |
|
|
|
|
" right join sys_user_pro sup on sup.pro_id = pi.id" + |
|
|
|
|
" right join (select * from sys_user where user_name = #{account}) su on sup.user_id = su.id " + |
|
|
|
|
"</if>" + |
|
|
|
|
"where 1=1 " + |
|
|
|
|
"<if test='systemId != null and systemId != \"\"'>" + |
|
|
|
|