瀏覽代碼

我的客户信息和公出列表修改

anderx 1 年之前
父節點
當前提交
e33d5f90f9

+ 1 - 2
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -854,7 +854,6 @@
         select  a.id ,c.name  aname,a.release_start as releaseStart
         from public_release a  left join admin c on a.aid =c.id
         where  a.status in  (2) and a.type in (0,1,2)
-          and a.id in (select DISTINCT prid from public_release_details where uid = #{id}
-            and main_status =1)
+          and a.id in (select DISTINCT prid from public_release_details where uid = #{id})
     </select>
 </mapper>

+ 1 - 1
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -2426,7 +2426,7 @@ inner join(
 	  left join admin c on b.aid =c.id left join `user` d on a.uid =d.id
 	  left join user_follow e on a.ufid =e.id
 		where b.status =2 and b.`type` in (0,1,2)
-		  and  a.main_status =1 and a.uid = #{id}
+		and a.uid = #{id}
 	</select>
 
 	<select id="selectMyUserList" resultType="com.goafanti.customer.bo.SelectMyUserOut">