|  |  | 
 |  |  |       replier_id = #{replierId,jdbcType=BIGINT} | 
 |  |  |     where id = #{id,jdbcType=BIGINT} | 
 |  |  |   </update> | 
 |  |  |  | 
 |  |  |   <select id="getRecordCount" resultType="java.lang.Long"> | 
 |  |  |     select count(*) from ope_feedback_reply ofbr | 
 |  |  |     inner join ope_feedback ofb on ofbr.feedback_id = ofb.id | 
 |  |  |     <where> | 
 |  |  |       <if test="feedbackId != null and feedbackId != '' "> | 
 |  |  |         and ofbr.feedback_id = #{feedbackId,jdbcType=BIGINT} | 
 |  |  |       </if> | 
 |  |  |       <if test="replierId != null and replierId != '' "> | 
 |  |  |         and ofbr.replier_id = #{replierId,jdbcType=BIGINT} | 
 |  |  |       </if> | 
 |  |  |       <if test="replyTimeStart != null"> | 
 |  |  |         and ofbr.reply_time >= #{replyTimeStart} | 
 |  |  |       </if> | 
 |  |  |       <if test="replyTimeStop != null"> | 
 |  |  |         and ofbr.reply_time <= #{replyTimeStop} | 
 |  |  |       </if> | 
 |  |  |     </where> | 
 |  |  |     </select> | 
 |  |  |  | 
 |  |  |   <select id="getFeedbackReply" resultType="com.dy.pipIrrGlobal.voOp.VofeedbackReply"> | 
 |  |  |     select | 
 |  |  |     CAST(ofbr.id as char) AS id, | 
 |  |  |     CAST(ofbr.feedback_id as char) AS feedbackId, | 
 |  |  |     ofbr.reply_content as replyContent, | 
 |  |  |     ofbr.reply_time as replyTime, | 
 |  |  |     CAST(ofbr.replier_id as char) AS replierId | 
 |  |  |     from ope_feedback_reply ofbr | 
 |  |  |     inner join ope_feedback ofb on ofbr.feedback_id = ofb.id | 
 |  |  |     <where> | 
 |  |  |       <if test="feedbackId != null and feedbackId != '' "> | 
 |  |  |         and ofbr.feedback_id = #{feedbackId,jdbcType=BIGINT} | 
 |  |  |       </if> | 
 |  |  |       <if test="replierId != null and replierId != '' "> | 
 |  |  |         and ofbr.replier_id = #{replierId,jdbcType=BIGINT} | 
 |  |  |       </if> | 
 |  |  |       <if test="replyTimeStart != null"> | 
 |  |  |         and ofbr.reply_time >= #{replyTimeStart} | 
 |  |  |       </if> | 
 |  |  |       <if test="replyTimeStop != null"> | 
 |  |  |         and ofbr.reply_time <= #{replyTimeStop} | 
 |  |  |       </if> | 
 |  |  |     </where> | 
 |  |  |     order by ofbr.id desc | 
 |  |  |     <if test="pageCurr != null and pageSize != null"> | 
 |  |  |       LIMIT ${(pageCurr-1)*pageSize}, ${pageSize} | 
 |  |  |     </if> | 
 |  |  |   </select> | 
 |  |  | </mapper> |