|
|
@ -180,7 +180,7 @@ |
|
|
delete from AccessBu where site=#{site} and bu_no=#{buNo} |
|
|
delete from AccessBu where site=#{site} and bu_no=#{buNo} |
|
|
</delete> |
|
|
</delete> |
|
|
<select id="searchAccessProjectForUser" resultType="PlmUserRoleData"> |
|
|
<select id="searchAccessProjectForUser" resultType="PlmUserRoleData"> |
|
|
select a.project_id,a.project_desc,a.site,isnull(c.searchFlag,'N') searchFlag |
|
|
|
|
|
|
|
|
select a.project_id,a.project_name,a.project_desc,a.site,isnull(c.searchFlag,'N') searchFlag |
|
|
,isnull(c.updateFlag,'N') updateFlag,isnull(c.downFlag,'N') downFlag,isnull(c.deleteFlag,'N') deleteFlag,#{username} as username |
|
|
,isnull(c.updateFlag,'N') updateFlag,isnull(c.downFlag,'N') downFlag,isnull(c.deleteFlag,'N') deleteFlag,#{username} as username |
|
|
from plm_project_info a left join AccessSite b on a.site=b.site |
|
|
from plm_project_info a left join AccessSite b on a.site=b.site |
|
|
left join AccessProject c on a.project_id=c.project_id and c.site=#{site} and c.username=#{username} |
|
|
left join AccessProject c on a.project_id=c.project_id and c.site=#{site} and c.username=#{username} |
|
|
|