Commit 7612b46e by huluobin

fix

parent 1d8e507a
...@@ -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
...@@ -107,9 +107,9 @@ ...@@ -107,9 +107,9 @@
cus.id cus_id, cus.id cus_id,
cus.phone cus_phone, cus.phone cus_phone,
cus.nickname cus_nickname, cus.nickname cus_nickname,
cus.realName cus_real_name, cus.real_name cus_real_name,
cus.storeRecordRealName cus_store_record_real_name, cus.store_record_real_name cus_store_record_real_name,
cus.customerSource cus_customer_source, cus.customer_source cus_customer_source,
cus.headimgurl cus_headimgurl cus.headimgurl cus_headimgurl
</sql> </sql>
......
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