jyy
2021-01-22 e8caeec823c4ef4f71e4f82db417bf61d2f72234
zq-erp/src/main/java/com/matrix/system/app/action/ApiFollowupAction.java
@@ -116,7 +116,7 @@
        if(StringUtils.isBlank(zans)){
            List<Long> zanIds = StringUtils.strToCollToLong(zans, ",");
            List<Long> zaned = zanIds.stream().filter(zanid -> zanid.equals(user.getSuId())).collect(Collectors.toList());
            if(CollectionUtils.isNotEmpty(zaned)){
            if(CollectionUtils.isEmpty(zaned)){
                //取消赞
                List<Long> newZaned = zanIds.stream().filter(zanid -> !zanid.equals(user.getSuId())).collect(Collectors.toList());
                zans=StringUtils.collToStr(newZaned,",");
@@ -166,4 +166,15 @@
    }
}