Commit a24860c5 by huluobin

update

parent 870319c2
...@@ -17,6 +17,7 @@ import com.gogirl.infrastructure.common.annotation.GogirlShop; ...@@ -17,6 +17,7 @@ import com.gogirl.infrastructure.common.annotation.GogirlShop;
import com.gogirl.infrastructure.common.base.JsonResult; import com.gogirl.infrastructure.common.base.JsonResult;
import com.gogirl.infrastructure.common.exception.RRException; import com.gogirl.infrastructure.common.exception.RRException;
import com.gogirl.infrastructure.common.util.ListUtil; import com.gogirl.infrastructure.common.util.ListUtil;
import com.gogirl.infrastructure.common.util.StringUtils;
import com.gogirl.infrastructure.mapper.order.serve.OrderCommentMapper; import com.gogirl.infrastructure.mapper.order.serve.OrderCommentMapper;
import com.gogirl.infrastructure.mapper.order.serve.OrderServeDescribeMapper; import com.gogirl.infrastructure.mapper.order.serve.OrderServeDescribeMapper;
import com.gogirl.infrastructure.mapper.product.purchase.PurchaseSkuMapper; import com.gogirl.infrastructure.mapper.product.purchase.PurchaseSkuMapper;
...@@ -239,6 +240,11 @@ public class OrderManageController { ...@@ -239,6 +240,11 @@ public class OrderManageController {
Integer technicianId = SessionUtils.getTechnicianId(); Integer technicianId = SessionUtils.getTechnicianId();
Page<OrderComment> page = new Page<>(pageNum, pageSize); Page<OrderComment> page = new Page<>(pageNum, pageSize);
IPage<OrderComment> orderCommentIPage = orderCommentMapper.queryMyCommentForPage(page, technicianId); IPage<OrderComment> orderCommentIPage = orderCommentMapper.queryMyCommentForPage(page, technicianId);
orderCommentIPage.getRecords().forEach(orderComment -> {
if (StringUtils.isEmpty(orderComment.getRemark())) {
orderComment.setRemark("");
}
});
return JsonResult.success(orderCommentIPage); return JsonResult.success(orderCommentIPage);
} }
} }
\ No newline at end of file
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