张天森
2023-02-07 f3e7ecf643ec517ad93b80a50e63eaab90b6461b
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActDynServiceImpl.java
@@ -5,6 +5,7 @@
import javax.annotation.Resource;
import com.panzhihua.common.model.vos.community.DataCount;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import org.springframework.util.ObjectUtils;
@@ -69,7 +70,7 @@
        if (!ObjectUtils.isEmpty(records)) {
            records.forEach(comActDynVO1 -> {
                if(comActDynVO1.getCategory()!=null&&comActDynVO1.getCategory()==4){
                    comActDynVO.setContent(null);
                    comActDynVO1.setContent(null);
                }else {
                    String content = comActDynVO1.getContent();
                    if (!ObjectUtils.isEmpty(content)) {
@@ -199,4 +200,5 @@
        return R.ok(iPage);
    }
}