Commit 2026dc3e784098b82a92b015b4603c3779c1d9f7

Authored by 王言钊
1 parent c43ab54c

update

src/main/java/com/cnlive/shenhe/serviceImpl/ChannelServiceImpl.java
1 1 package com.cnlive.shenhe.serviceImpl;
2 2  
  3 +import com.alibaba.fastjson.JSON;
3 4 import com.alibaba.fastjson.JSONObject;
4 5 import com.cnlive.shenhe.dto.ChannelDTO;
5 6 import com.cnlive.shenhe.entity.ShyChannel;
... ... @@ -61,7 +62,7 @@ public class ChannelServiceImpl {
61 62 }
62 63  
63 64 public PageInfo<ShyChannel> getPage(ChannelDTO channelDTO) {
64   - logger.info("接受参数对象为,ChannelDTO:{}", channelDTO.toString());
  65 + logger.info("接受参数对象为,ChannelDTO:{}", JSON.toJSONString(channelDTO));
65 66 Example example = new Example(ShyChannel.class);
66 67 Example.Criteria criteria = example.createCriteria();
67 68 if (CommonUtils.isNotEmpty(channelDTO.getOrderByClause())) {
... ...