JiangChongBo 2 rokov pred
rodič
commit
67601c4595

+ 4 - 0
src/main/java/com/caimei/model/vo/RossChallengeRoundVo.java

@@ -48,4 +48,8 @@ public class RossChallengeRoundVo {
      * 参赛时间(用于前端展示)
      */
     private String contestDate;
+    /**
+     * 机构名称
+     */
+    private String authParty;
 }

+ 3 - 1
src/main/resources/mapper/AuthMapper.xml

@@ -828,7 +828,9 @@
         select * from cm_ross_challenge_round where userName=#{userName} and contestStatus=1
     </select>
     <select id="getcontestedInfo" resultType="com.caimei.model.vo.RossChallengeRoundVo">
-        select * from cm_ross_challenge_round where  contestStatus=1
+        select cr.*,cba.authParty from cm_ross_challenge_round cr
+        left join cm_brand_auth cba on cr.authId=cba.id
+        where  contestStatus=1
     </select>
     <select id="getVideoAll" resultType="com.caimei.model.vo.RossChallengeVideo">
         select cr.*,cba.authParty from cm_ross_challenge_video cr