Exemplo n.º 1
0
  public void onFind() {
    log.debug("changeOn : {}, findKeyItemDescription : {}", statusOnShow, findKeyItemDescription);
    log.debug("{},{},{}", warehouseMode.getId(), workingAreaModel.getId(), msLocationModel.getId());
    int warehouseId = 0;
    int waokingAreaId = 0;
    int locationId = 0;
    int combine = 0;
    int foil = 0;
    palletMeanegementView = new PalletManagementView();

    if (!Utils.isNull(warehouseMode.getId())) {
      msLocationModelList = locationService.getLocationByWarehouse(warehouseMode.getId());
      warehouseId = warehouseMode.getId();
    }

    if (!Utils.isNull(workingAreaModel.getId())) {
      waokingAreaId = workingAreaModel.getId();
    }

    if (!Utils.isNull(msLocationModel.getId())) {
      locationId = msLocationModel.getId();
    }

    log.debug("isCombine : {}", isCombine);

    if (isCombine == true) {
      combine = 1;
    }

    if (isFoil == true) {
      foil = 1;
    }

    palletManegamentViewList =
        palletService.findByChang(
            statusOnShow,
            warehouseId,
            waokingAreaId,
            locationId,
            findKeyItemDescription,
            combine,
            foil);
  }
Exemplo n.º 2
0
 public void filterConveyorLine() {
   workingAreaModelList = palletService.getByWarehouseId(warehouseMode.getId());
   workingAreaModel.setId(0);
 }