update:
订单列表增加筛选项
This commit is contained in:
parent
5e54011371
commit
6ed7a735ed
@ -32,5 +32,11 @@ public class OrderInfoBasePageParam extends BasePageParam {
|
||||
@ApiModelProperty(value = "标识卡号", required = true)
|
||||
private String idenCardNum;
|
||||
|
||||
/**
|
||||
* 客户名称,APMS系统获取
|
||||
*/
|
||||
@ApiModelProperty(value = "客户名称", required = true)
|
||||
private String customerName;
|
||||
|
||||
|
||||
}
|
||||
|
@ -117,6 +117,7 @@ public class OrderInfoServiceImpl extends BaseService implements OrderInfoServic
|
||||
QueryWrapper<OrderInfo> wrapper = new QueryWrapper<>();
|
||||
wrapper.like(StringUtils.isNotBlank(param.getIdenCardNum()), OrderInfo.IDEN_CARD_NUM, param.getIdenCardNum())
|
||||
.like(StringUtils.isNotBlank(param.getOrderNo()), OrderInfo.ORDER_NO, param.getOrderNo())
|
||||
.like(StringUtils.isNotBlank(param.getCustomerName()),OrderInfo.CUSTOMER_NAME,param.getCustomerName())
|
||||
.in(OrderInfo.STATUS,0,1)
|
||||
.orderByDesc(OrderInfo.CREATE_TIME);
|
||||
Page<OrderInfo> page = orderInfoService.page(new Page<>(param.getCurrent(), param.getSize()), wrapper);
|
||||
|
Loading…
Reference in New Issue
Block a user