| | |
| | | <result property="voteRestrictions" column="vote_restrictions" /> |
| | | <result property="userRestrictions" column="user_restrictions" /> |
| | | <result property="endTime" column="end_time" /> |
| | | <result property="startTime" column="start_time" /> |
| | | <result property="articleId" column="article_id" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateTime" column="update_time" /> |
| | |
| | | vote_restrictions, |
| | | user_restrictions, |
| | | end_time, |
| | | start_time, |
| | | article_id, |
| | | create_time, |
| | | update_time, |
| | |
| | | jpd.vote_restrictions, |
| | | jpd.user_restrictions, |
| | | jpd.end_time, |
| | | jpd.start_time, |
| | | jpd.article_id, |
| | | jpd.create_time, |
| | | jpd.update_time, |
| | |
| | | jpd.signature_flag, |
| | | GROUP_CONCAT(jh.name) userName |
| | | from jczz_public_discuss jpd |
| | | LEFT JOIN jczz_household jh on jpd.user_ids like CONCAT('%',jh.associated_user_id,'%') |
| | | LEFT JOIN jczz_household jh ON FIND_IN_SET ( jh.id, jpd.user_ids ) |
| | | <where> |
| | | <if test="publicDiscuss.id != null "> and id = #{publicDiscuss.id}</if> |
| | | <if test="publicDiscuss.title != null and publicDiscuss.title != ''"> and title = #{publicDiscuss.title}</if> |
| | |
| | | jpd.vote_restrictions, |
| | | jpd.user_restrictions, |
| | | jpd.end_time, |
| | | jpd.start_time, |
| | | jpd.article_id, |
| | | jpd.create_time, |
| | | jpd.update_time, |
| | |
| | | jpd.user_ids, |
| | | jpd.event_type, |
| | | jpd.signature_flag, |
| | | (SELECT user_id from jczz_user_public_enroll where user_id = #{userId} and article_id = jpd.article_id)userId |
| | | (SELECT household_id from jczz_user_public_enroll where household_id = #{householdId} and article_id = jpd.article_id)householdId |
| | | from |
| | | jczz_public_discuss jpd |
| | | <where> |