Commit 2924fd5c authored by shiyu's avatar shiyu

分享藏品或藏馆链接,逻辑修改

parent 340f096b
...@@ -163,7 +163,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao { ...@@ -163,7 +163,7 @@ public class SupplierItemDaoImpl implements SupplierItemDao {
criteria.andCreatorIdEqualTo(creatorId); criteria.andCreatorIdEqualTo(creatorId);
criteria.andTypeEqualTo(3); criteria.andTypeEqualTo(3);
criteria.andIsDeletedEqualTo(false); criteria.andIsDeletedEqualTo(false);
criteria.andIsOnSaleEqualTo(true); // criteria.andIsOnSaleEqualTo(true);
supplierItemExample.setOrderByClause(" distribution_price desc"); supplierItemExample.setOrderByClause(" distribution_price desc");
PageHelper.startPage(1, 8); PageHelper.startPage(1, 8);
return supplierItemMapper.selectByExampleWithBLOBs(supplierItemExample); return supplierItemMapper.selectByExampleWithBLOBs(supplierItemExample);
......
...@@ -11,6 +11,7 @@ import com.wwdz.ch.db.domain.distribution.SupplierItem; ...@@ -11,6 +11,7 @@ import com.wwdz.ch.db.domain.distribution.SupplierItem;
import com.wwdz.ch.db.dto.request.distribution.CollectionShareRecordRequestDto; import com.wwdz.ch.db.dto.request.distribution.CollectionShareRecordRequestDto;
import com.wwdz.ch.wx.service.distribution.CollectionShareRecordService; import com.wwdz.ch.wx.service.distribution.CollectionShareRecordService;
import com.xxdxxs.utils.EntityMapper; import com.xxdxxs.utils.EntityMapper;
import com.xxdxxs.utils.JsonUtils;
import com.xxdxxs.utils.StringUtils; import com.xxdxxs.utils.StringUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
...@@ -60,6 +61,7 @@ public class CollectionShareRecordServiceImpl implements CollectionShareRecordSe ...@@ -60,6 +61,7 @@ public class CollectionShareRecordServiceImpl implements CollectionShareRecordSe
map.put("imageList", imageList); map.put("imageList", imageList);
map.put("count", pageInfo.getTotal()); map.put("count", pageInfo.getTotal());
} }
logger.info("创建藏品或藏馆分享链接返回结果:{}", JsonUtils.from(map));
return Result.success(map); return Result.success(map);
} catch (Exception e) { } catch (Exception e) {
logger.error("创建藏品或藏馆分享链接失败 error: {}", e); logger.error("创建藏品或藏馆分享链接失败 error: {}", e);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment