From 79c50faf0fe63640652da7f0c6fe5cae42018872 Mon Sep 17 00:00:00 2001
From: 罗元桥 <2376770955@qq.com>
Date: 星期四, 09 九月 2021 09:37:36 +0800
Subject: [PATCH] Merge branch 'test' into 'master'

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMicroWishOperationRecordServiceImpl.java |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMicroWishOperationRecordServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMicroWishOperationRecordServiceImpl.java
index 961af02..601b48e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMicroWishOperationRecordServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActMicroWishOperationRecordServiceImpl.java
@@ -1,6 +1,7 @@
 package com.panzhihua.service_community.service.impl;
 
 import com.panzhihua.common.model.vos.R;
+import com.panzhihua.common.utlis.StringUtils;
 import com.panzhihua.service_community.model.dos.ComActMicroWishOperationRecordDO;
 import com.panzhihua.service_community.dao.ComActMicroWishOperationRecordMapper;
 import com.panzhihua.service_community.service.ComActMicroWishOperationRecordService;
@@ -33,9 +34,10 @@
      * @param wishId    微心愿id
      * @param type      操作类型
      * @param remark    操作备注
+     * @param imgUrl    反馈图片
      */
     @Override
-    public void addOperationRecord(String content,Long userId,Long wishId,Integer type,String remark){
+    public void addOperationRecord(String content,Long userId,Long wishId,Integer type,String remark,String imgUrl){
         ComActMicroWishOperationRecordDO wishOperationRecordDO = new ComActMicroWishOperationRecordDO();
         wishOperationRecordDO.setWishId(wishId);
         wishOperationRecordDO.setUserId(userId);
@@ -43,6 +45,9 @@
         wishOperationRecordDO.setRemark(remark);
         wishOperationRecordDO.setContent(content);
         wishOperationRecordDO.setCreateTime(new Date());
+        if(StringUtils.isNotEmpty(imgUrl)){
+            wishOperationRecordDO.setImgUrl(imgUrl);
+        }
         this.baseMapper.insert(wishOperationRecordDO);
     }
 }

--
Gitblit v1.7.1