| | |
| | | /** |
| | | * 反馈时间 |
| | | */ |
| | | private Date creatTime; |
| | | private Date createTime; |
| | | |
| | | @Override |
| | | public String toString() { |
| | |
| | | ", userId=" + userId + |
| | | ", content=" + content + |
| | | ", imgUrl=" + imgUrl + |
| | | ", creatTime=" + creatTime + |
| | | ", createTime=" + createTime + |
| | | "}"; |
| | | } |
| | | } |
| | |
| | | } |
| | | //新增反馈记录 |
| | | ComActMicroWishFeedbackDO comActMicroWishFeedbackDO=new ComActMicroWishFeedbackDO(); |
| | | comActMicroWishFeedbackDO.setCreatTime(date); |
| | | comActMicroWishFeedbackDO.setCreateTime(date); |
| | | comActMicroWishFeedbackDO.setContent(feedback); |
| | | comActMicroWishFeedbackDO.setImgUrl(feedbackPhotoPathList); |
| | | comActMicroWishFeedbackDO.setMicroId(comActMicroWishVO.getId()); |
| | |
| | | <result column="user_id" property="userId"/> |
| | | <result column="content" property="content"/> |
| | | <result column="img_url" property="imgUrl"/> |
| | | <result column="creat_time" property="creatTime"/> |
| | | <result column="create_time" property="createTime"/> |
| | | </resultMap> |
| | | |
| | | <!-- 通用查询结果列 --> |
| | |
| | | </sql> |
| | | |
| | | <select id="selectByWishId" resultType="com.panzhihua.common.model.vos.community.ComActMicroWishFeedbackVO"> |
| | | select t.*,t1.name from com_act_micro_wish_feedback t left join sys_user t1 on t.user_id =t1.user_id where t.wish_id =#{id} order_by t.create_time desc |
| | | select t.*,t1.name from com_act_micro_wish_feedback t left join sys_user t1 on t.user_id =t1.user_id where t.micro_id =#{id} order by t.create_time desc |
| | | </select> |
| | | </mapper> |
| | |
| | | select t.*,t1.name from com_act_micro_wish_operation_record t left join sys_user t1 on t.user_id =t1.user_id where t.wish_id =#{id} order by t.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectId" resultType="Integer"> |
| | | select id from com_act_mirco_wish |
| | | <select id="selectId" resultType="Long"> |
| | | select id from com_act_micro_wish |
| | | <where> |
| | | 1=1 |
| | | <if test="status !=null"> |