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