Browse Source

Merge remote-tracking branch 'origin/develop' into release_temp

master
yinzuomei 4 years ago
parent
commit
8382e879f6
  1. 2
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmettduck/PrUserProjectDao.xml

2
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/epmettduck/PrUserProjectDao.xml

@ -82,7 +82,7 @@
<!-- 根据keys查询project --> <!-- 根据keys查询project -->
<select id="queryProjectList" resultType="com.epmet.dataaggre.dto.epmettduck.result.TDuckListResultDTO"> <select id="queryProjectList" resultType="com.epmet.dataaggre.dto.epmettduck.result.TDuckListResultDTO">
select up.*,ps.is_everyone_write_once_uid from pr_user_project up select up.*,IFNULL(ps.is_everyone_write_once_uid,0) as isEveryoneWriteOnceUid from pr_user_project up
LEFT JOIN pr_user_project_setting ps ON (ps.project_key = up.`key` AND ps.del_flag = 0) LEFT JOIN pr_user_project_setting ps ON (ps.project_key = up.`key` AND ps.del_flag = 0)
where up.del_flag = 0 where up.del_flag = 0
AND up.status = #{status} AND up.status = #{status}

Loading…
Cancel
Save