|
|
@@ -113,9 +113,10 @@
|
|
|
and aid = #{aid,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="selectByUidAndAid" resultType="com.goafanti.business.bo.OutRestrictProject">
|
|
|
- select a.id,a.bname ,b.type,b.lock_time ,b.release_time ,c.nickname userName ,d.name adminName,b.create_time
|
|
|
+ select a.id pid ,b.id,a.bname projectName,b.type,b.lock_time lockTime,b.release_time releaseTime ,
|
|
|
+ c.nickname userName ,d.name adminName,b.create_time createTime,b.uid,b.aid
|
|
|
from business_project a
|
|
|
- left join restrict_project b on a.id =b.pid and b.uid =#{uid} and b.aid= #{aid}
|
|
|
+ left join restrict_project b on a.id =b.pid and b.uid =#{uid,jdbcType=VARCHAR} and b.aid= #{aid,jdbcType=VARCHAR}
|
|
|
left join user c on b.uid=c.id left join admin d on b.aid=d.id
|
|
|
where a.restrict_status =1
|
|
|
</select>
|