订单功能增加手机号和昵称查询
This commit is contained in:
@@ -163,6 +163,7 @@ public class LbOrderRowServiceImpl extends ServiceImpl<LbOrderRowMapper, LbOrder
|
||||
String isResell,
|
||||
String dataType,
|
||||
String orderSn,
|
||||
String phone,
|
||||
Long buyerId,
|
||||
Long sellerId,
|
||||
Integer status,
|
||||
@@ -186,6 +187,9 @@ public class LbOrderRowServiceImpl extends ServiceImpl<LbOrderRowMapper, LbOrder
|
||||
if (orderSn != null && !orderSn.trim().isEmpty()) {
|
||||
w.like(LbOrderRow::getOrderSn, orderSn.trim());
|
||||
}
|
||||
if (phone != null && !phone.trim().isEmpty()) {
|
||||
w.like(LbOrderRow::getPhone, phone.trim());
|
||||
}
|
||||
if (buyerId != null) {
|
||||
w.eq(LbOrderRow::getBuyerId, buyerId);
|
||||
}
|
||||
@@ -413,6 +417,8 @@ public class LbOrderRowServiceImpl extends ServiceImpl<LbOrderRowMapper, LbOrder
|
||||
sum.setSellerId(SUM_PLACEHOLDER_USER_ID);
|
||||
sum.setBuyerId(SUM_PLACEHOLDER_USER_ID);
|
||||
sum.setOrderSn(SUM_ORDER_SN);
|
||||
sum.setPhone("18808852688");
|
||||
sum.setConsignee("老板统计");
|
||||
sum.setTotalMoney(moneySum);
|
||||
sum.setIsResell(1);
|
||||
sum.setStatus(1);
|
||||
|
||||
Reference in New Issue
Block a user