|
|
@@ -421,7 +421,15 @@ where 1=1
|
|
|
</if>
|
|
|
<if test="ifTop != null">
|
|
|
and ap.if_top=#{ifTop,jdbcType=INTEGER}
|
|
|
-
|
|
|
</if>
|
|
|
</select>
|
|
|
+ <select id="checkExisting" resultType="java.lang.Integer">
|
|
|
+ select count(1)
|
|
|
+ from achievement_publish
|
|
|
+ where 1=1
|
|
|
+ and achievement_id= #{achievementId,jdbcType=VARCHAR}
|
|
|
+ and publish_platform= #{publishPlatform,jdbcType=VARCHAR}
|
|
|
+ and publish_client= #{publishClient,jdbcType=INTEGER}
|
|
|
+ and publish_page= #{publishPage,jdbcType=VARCHAR}
|
|
|
+ </select>
|
|
|
</mapper>
|