预验收入库单区分带回与不带回

test
anthonywj 1 year ago
parent 8bde8b365c
commit 7de61eb509

@ -191,7 +191,10 @@ public class IoOrderController extends BaseController {
public BaseResponse filterPreInorder(FilterOrderRequest filterOrderRequest) {
filterOrderRequest.setVueType(Constant.ORDER_ACTION_SUP_PREIN);
orderService.setActions(filterOrderRequest);
List<IoOrderResponse> list = orderService.filterList(filterOrderRequest);
List<IoOrderResponse> list = new ArrayList<>();
if (CollUtil.isEmpty(filterOrderRequest.getActions()))
return ResultVOUtils.page(new PageInfo<>(list));
list = orderService.filterList(filterOrderRequest);
PageInfo<IoOrderResponse> pageInfo = new PageInfo<>(list);
return ResultVOUtils.page(pageInfo);
}

@ -447,4 +447,11 @@ public class BasicBussinessTypeEntity {
@TableField(value = "editType")
private Integer editType;
/**
* , 12
*/
@TableField(value = "inPreInBack")
private Integer inPreInBack;
}

@ -308,6 +308,6 @@ public class BussinessTypeSaveRequest {
private Boolean advancePreIn;
private int spaceOut;
private Integer inPreInBack;
}

@ -123,4 +123,6 @@ public class FilterBussinessTypeRequest extends ListPageRequest {
*/
private Integer editType;
private String deptCode;
private Integer inPreInBack;
}

@ -205,4 +205,6 @@ public class FilterOrderRequest extends ListPageRequest {
private List<String> inOrders;
private String keyWord;
private Integer inPreInBack;
}

@ -182,4 +182,6 @@ public class BasicBussinessTypeResponse {
* , 12
*/
private Integer editType;
private Integer inPreInBack;
}

@ -759,6 +759,11 @@ public class IoOrderServiceImpl implements IoOrderService {
if (CollectionUtils.isEmpty(bussinessTypeEntities)) {
return null;
}
if (filterOrderRequest.getInPreInBack() != null) {
bussinessTypeEntities = bussinessTypeEntities.stream()
.filter(item -> item.getInPreInBack().equals(filterOrderRequest.getInPreInBack()))
.collect(Collectors.toList());
}
actions = bussinessTypeEntities.stream().map(BasicBussinessTypeEntity::getAction).collect(Collectors.toList());
filterOrderRequest.setActions(actions);
return actions;

@ -898,6 +898,7 @@ CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'secCheckReview', 'tinyint', 1)
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'thrCheckReview', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'editType', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('auth_user', 'lastUpdatePwdTime', 'datetime', 1);

@ -82,3 +82,4 @@ VALUES (1, 'udi_wms_new', '3.0.6', 306, 'UDI扫码终端', '2023-10-30 18:42:24'
CALL Pro_Temp_ColumnWork('basic_product_category', 'deptCode', 'varchar(255)', 1);
CALL Pro_Temp_ColumnWork('basic_product_category', 'invCode', 'varchar(255)', 1);
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'inPreInBack', 'tinyint', 1);

Loading…
Cancel
Save