|
@@ -19,6 +19,7 @@
|
|
<result property="isSecret" column="is_secret"/>
|
|
<result property="isSecret" column="is_secret"/>
|
|
<result property="unit" column="unit"/>
|
|
<result property="unit" column="unit"/>
|
|
<result property="isRecord" column="is_record"/>
|
|
<result property="isRecord" column="is_record"/>
|
|
|
|
+ <result property="isRead" column="is_read"/>
|
|
<result property="sqmyProgress" column="sqmy_progress"/>
|
|
<result property="sqmyProgress" column="sqmy_progress"/>
|
|
<result property="backReason" column="back_reason"/>
|
|
<result property="backReason" column="back_reason"/>
|
|
<result property="rollingProcess" column="rolling_process"/>
|
|
<result property="rollingProcess" column="rolling_process"/>
|
|
@@ -60,6 +61,7 @@
|
|
is_secret,
|
|
is_secret,
|
|
unit,
|
|
unit,
|
|
is_record,
|
|
is_record,
|
|
|
|
+ is_read,
|
|
sqmy_progress,
|
|
sqmy_progress,
|
|
back_reason,
|
|
back_reason,
|
|
rolling_process,
|
|
rolling_process,
|
|
@@ -87,6 +89,7 @@
|
|
<include refid="selectSqmyInfoVo"/>
|
|
<include refid="selectSqmyInfoVo"/>
|
|
<where>
|
|
<where>
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
|
|
+ <if test="isRead != null ">and is_read = #{isRead}</if>
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
<if test="title != null and title != ''">and title = #{title}</if>
|
|
<if test="title != null and title != ''">and title = #{title}</if>
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
@@ -189,6 +192,7 @@
|
|
<where>
|
|
<where>
|
|
sqmy_progress>3
|
|
sqmy_progress>3
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
<if test="sqmyUserId != null ">and sqmy_user_id = #{sqmyUserId}</if>
|
|
|
|
+ <if test="isRead != null ">and is_read = #{isRead}</if>
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
<if test="sqmyNumber != null and sqmyNumber != ''">and sqmy_number = #{sqmyNumber}</if>
|
|
<if test="title != null and title != ''">and title = #{title}</if>
|
|
<if test="title != null and title != ''">and title = #{title}</if>
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
<if test="topicType != null and topicType != ''">and topic_type = #{topicType}</if>
|
|
@@ -249,6 +253,7 @@
|
|
<if test="isSecret != null">is_secret,</if>
|
|
<if test="isSecret != null">is_secret,</if>
|
|
<if test="unit != null">unit,</if>
|
|
<if test="unit != null">unit,</if>
|
|
<if test="isRecord != null">is_record,</if>
|
|
<if test="isRecord != null">is_record,</if>
|
|
|
|
+ <if test="isRead != null ">is_read,</if>
|
|
<if test="sqmyProgress != null">sqmy_progress,</if>
|
|
<if test="sqmyProgress != null">sqmy_progress,</if>
|
|
<if test="backReason != null">back_reason,</if>
|
|
<if test="backReason != null">back_reason,</if>
|
|
<if test="rollingProcess != null">rolling_process,</if>
|
|
<if test="rollingProcess != null">rolling_process,</if>
|
|
@@ -284,6 +289,7 @@
|
|
<if test="isSecret != null">#{isSecret},</if>
|
|
<if test="isSecret != null">#{isSecret},</if>
|
|
<if test="unit != null">#{unit},</if>
|
|
<if test="unit != null">#{unit},</if>
|
|
<if test="isRecord != null">#{isRecord},</if>
|
|
<if test="isRecord != null">#{isRecord},</if>
|
|
|
|
+ <if test="isRead != null ">#{isRead},</if>
|
|
<if test="sqmyProgress != null">#{sqmyProgress},</if>
|
|
<if test="sqmyProgress != null">#{sqmyProgress},</if>
|
|
<if test="backReason != null">#{backReason},</if>
|
|
<if test="backReason != null">#{backReason},</if>
|
|
<if test="rollingProcess != null">#{rollingProcess},</if>
|
|
<if test="rollingProcess != null">#{rollingProcess},</if>
|
|
@@ -323,6 +329,7 @@
|
|
<if test="isSecret != null">is_secret = #{isSecret},</if>
|
|
<if test="isSecret != null">is_secret = #{isSecret},</if>
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
<if test="unit != null">unit = #{unit},</if>
|
|
<if test="isRecord != null">is_record = #{isRecord},</if>
|
|
<if test="isRecord != null">is_record = #{isRecord},</if>
|
|
|
|
+ <if test="isRead != null ">is_read = #{isRead},</if>
|
|
<if test="sqmyProgress != null">sqmy_progress = #{sqmyProgress},</if>
|
|
<if test="sqmyProgress != null">sqmy_progress = #{sqmyProgress},</if>
|
|
<if test="backReason != null">back_reason = #{backReason},</if>
|
|
<if test="backReason != null">back_reason = #{backReason},</if>
|
|
<if test="rollingProcess != null">rolling_process = #{rollingProcess},</if>
|
|
<if test="rollingProcess != null">rolling_process = #{rollingProcess},</if>
|