|
@@ -87,8 +87,11 @@ public class SyPackingListFabricController {
|
|
|
@GetMapping(value = "/getShippingDetails")
|
|
|
public Result<IPage<SyShippingDetailsVo>> getShippingDetails(
|
|
|
String documentNo,
|
|
|
- String chineseName,
|
|
|
- String orderNumber,
|
|
|
+ String customer,
|
|
|
+ String distributionPoint,
|
|
|
+ String startDate,
|
|
|
+ String smallPo,
|
|
|
+ String endDate,
|
|
|
@RequestParam(name="status", defaultValue="y") String status,
|
|
|
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
|
|
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
|
@@ -99,12 +102,23 @@ public class SyPackingListFabricController {
|
|
|
if(oConvertUtils.isNotEmpty(documentNo)) {
|
|
|
queryWrapper.eq("t.documentNo", documentNo);
|
|
|
}
|
|
|
- if(oConvertUtils.isNotEmpty(chineseName)){
|
|
|
- queryWrapper.eq("t.chineseName",chineseName);
|
|
|
+ if(oConvertUtils.isNotEmpty(customer)){
|
|
|
+ queryWrapper.eq("t.customer",customer).or().eq("t.customerAbbreviation",customer);
|
|
|
}
|
|
|
- if(oConvertUtils.isNotEmpty(orderNumber)){
|
|
|
- queryWrapper.eq("t.orderNumber",orderNumber);
|
|
|
+ if(oConvertUtils.isNotEmpty(distributionPoint)){
|
|
|
+ queryWrapper.eq("t.distributionPoint",distributionPoint);
|
|
|
}
|
|
|
+ if(oConvertUtils.isNotEmpty(smallPo)){
|
|
|
+ queryWrapper.eq("t.smallPo",smallPo);
|
|
|
+ }
|
|
|
+
|
|
|
+ if(oConvertUtils.isNotEmpty(startDate)){
|
|
|
+ queryWrapper.ge("t.preDeliveryDate",startDate);
|
|
|
+ }
|
|
|
+ if(oConvertUtils.isNotEmpty(endDate)){
|
|
|
+ queryWrapper.le("t.preDeliveryDate",endDate);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
if(status.equals("n")){
|
|
|
queryWrapper.ge("t.excess_quantity",0);
|