Compare commits
2 Commits
5b0cb4220d
...
619a6de84f
Author | SHA1 | Date |
---|---|---|
|
619a6de84f | 1 week ago |
|
1d090f3575 | 1 week ago |
38 changed files with 1200 additions and 81 deletions
@ -0,0 +1,24 @@ |
|||||
|
package org.nl.wms.st.inbill.service.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 出库冲销分页参数 |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/10 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutChargePageParam implements Serializable { |
||||
|
private String bill_code; |
||||
|
private String stor_id; |
||||
|
private List<String> in_stor_id; |
||||
|
private String begin_time; |
||||
|
private String end_time; |
||||
|
private String create_mode; |
||||
|
private String bill_type; |
||||
|
private String pcsn; |
||||
|
private String sap_pcsn; |
||||
|
} |
@ -0,0 +1,75 @@ |
|||||
|
package org.nl.wms.st.inbill.service.vo; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/10 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutWriteOffVo { |
||||
|
private String trans_code; |
||||
|
private String is_writeoff; |
||||
|
private String input_optname; |
||||
|
private String input_time; |
||||
|
private String stor_id; |
||||
|
private String syscompanyid; |
||||
|
private String writeoff_time; |
||||
|
private String car_type; |
||||
|
private String create_mode; |
||||
|
private String bill_type; |
||||
|
private String is_upload; |
||||
|
private String upload_mes; |
||||
|
private String consignee; |
||||
|
private String receiver; |
||||
|
private String total_qty; |
||||
|
private String receiptphone; |
||||
|
private String source_type; |
||||
|
private String other_freight; |
||||
|
private String sysdeptid; |
||||
|
private String upload_sap; |
||||
|
private String receiptaddress; |
||||
|
private String input_optid; |
||||
|
private String buss_type; |
||||
|
private String upload_time; |
||||
|
private String estimated_freight; |
||||
|
private String detail_count; |
||||
|
private String carno; |
||||
|
private String out_stor_id; |
||||
|
private String deliveryaddress; |
||||
|
private String update_optid; |
||||
|
private String stor_code; |
||||
|
private String drivername; |
||||
|
private String upload_optid; |
||||
|
private String bill_code; |
||||
|
private String dis_optname; |
||||
|
private String order_number; |
||||
|
private String confirm_optid; |
||||
|
private String remark; |
||||
|
private String writeoff_optid; |
||||
|
private String dis_time; |
||||
|
private String deliveryunit; |
||||
|
private String total_weight; |
||||
|
private String deliveryname; |
||||
|
private String update_time; |
||||
|
private String update_optname; |
||||
|
private String driverphone; |
||||
|
private String source_name; |
||||
|
private String biz_date; |
||||
|
private String contractno; |
||||
|
private String deliveryphone; |
||||
|
private String confirm_optname; |
||||
|
private String is_overdue; |
||||
|
private String run_freight; |
||||
|
private String unload_freight; |
||||
|
private String bill_status; |
||||
|
private String dis_optid; |
||||
|
private String confirm_time; |
||||
|
private String is_delete; |
||||
|
private String cust_code; |
||||
|
private String iostorinv_id; |
||||
|
private String logisticscompany; |
||||
|
private String stor_name; |
||||
|
private String io_type; |
||||
|
private String source_id; |
||||
|
} |
@ -0,0 +1,6 @@ |
|||||
|
/** |
||||
|
* 前端显示实体包 |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/10 |
||||
|
*/ |
||||
|
package org.nl.wms.st.inbill.service.vo; |
@ -0,0 +1,35 @@ |
|||||
|
package org.nl.wms.st.outbill.rest; |
||||
|
|
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import org.nl.modules.logging.annotation.Log; |
||||
|
import org.nl.wms.st.outbill.service.CheckOutBillService; |
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillDtlQueryParam; |
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillTaskParam; |
||||
|
import org.springframework.http.HttpStatus; |
||||
|
import org.springframework.http.ResponseEntity; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import javax.annotation.Resource; |
||||
|
import java.util.Map; |
||||
|
|
||||
|
/** |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@RestController |
||||
|
@RequestMapping("/api/checkoutbill") |
||||
|
@Slf4j |
||||
|
public class CheckOutBillController { |
||||
|
@Resource |
||||
|
private CheckOutBillService checkOutBillService; |
||||
|
@GetMapping("/getOutBillDtl") |
||||
|
@Log("查询出库明细") |
||||
|
public ResponseEntity<Object> getOutBillDtl(OutBillDtlQueryParam param) { |
||||
|
return new ResponseEntity<>(checkOutBillService.getOutBillDtl(param), HttpStatus.OK); |
||||
|
} |
||||
|
@PostMapping("/getOutBillTask2") |
||||
|
@Log("详情查询出库单分配任务2") |
||||
|
public ResponseEntity<Object> getOutBillTask2(@RequestBody OutBillTaskParam param) { |
||||
|
return new ResponseEntity<>(checkOutBillService.getOutBillTask2(param), HttpStatus.OK); |
||||
|
} |
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package org.nl.wms.st.outbill.service; |
||||
|
|
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillDtlQueryParam; |
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillTaskParam; |
||||
|
import org.nl.wms.st.outbill.service.vo.OutBillDtlVo; |
||||
|
import org.nl.wms.st.outbill.service.vo.OutBillTaskVo; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
public interface CheckOutBillService { |
||||
|
/** |
||||
|
* 查询出库明细 |
||||
|
* @param param |
||||
|
* @return |
||||
|
*/ |
||||
|
List<OutBillDtlVo> getOutBillDtl(OutBillDtlQueryParam param); |
||||
|
|
||||
|
/** |
||||
|
* 详情查询出库单分配任务2 |
||||
|
* @param param |
||||
|
* @return |
||||
|
*/ |
||||
|
List<OutBillTaskVo> getOutBillTask2(OutBillTaskParam param); |
||||
|
} |
@ -0,0 +1,19 @@ |
|||||
|
package org.nl.wms.st.outbill.service.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 出库单明细查询参数类 |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutBillDtlQueryParam implements Serializable { |
||||
|
private String iostorinv_id; |
||||
|
private String iostorinvdtl_id; |
||||
|
private String bill_status; |
||||
|
private String unassign_flag; |
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package org.nl.wms.st.outbill.service.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
|
||||
|
/** |
||||
|
* 出库单任务查询参数 |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutBillTaskParam implements Serializable { |
||||
|
private String iostorinvdtl_id; |
||||
|
private String iostorinv_id; |
||||
|
private String is_issued; |
||||
|
private String struct_id; |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
package org.nl.wms.st.outbill.service.impl; |
||||
|
|
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import org.nl.b_lms.storage_manage.ios.service.iostorInv.IStIvtIostorinvdisService; |
||||
|
import org.nl.b_lms.storage_manage.ios.service.iostorInv.IStIvtIostorinvdtlService; |
||||
|
import org.nl.wms.st.outbill.service.CheckOutBillService; |
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillDtlQueryParam; |
||||
|
import org.nl.wms.st.outbill.service.dto.OutBillTaskParam; |
||||
|
import org.nl.wms.st.outbill.service.vo.OutBillDtlVo; |
||||
|
import org.nl.wms.st.outbill.service.vo.OutBillTaskVo; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@Service |
||||
|
@Slf4j |
||||
|
public class CheckOutBillServiceImpl implements CheckOutBillService { |
||||
|
@Autowired |
||||
|
private IStIvtIostorinvdtlService iostorinvdtlService; |
||||
|
@Autowired |
||||
|
private IStIvtIostorinvdisService iostorinvdisService; |
||||
|
@Override |
||||
|
public List<OutBillDtlVo> getOutBillDtl(OutBillDtlQueryParam param) { |
||||
|
return iostorinvdtlService.getOutBillDtl(param); |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public List<OutBillTaskVo> getOutBillTask2(OutBillTaskParam param) { |
||||
|
return iostorinvdisService.getOutBillTask2(param); |
||||
|
} |
||||
|
} |
@ -0,0 +1,150 @@ |
|||||
|
package org.nl.wms.st.outbill.service.vo; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* 出库单明细vo实体 |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutBillDtlVo implements Serializable { |
||||
|
/** |
||||
|
* 出入单明细标识 |
||||
|
*/ |
||||
|
private String iostorinvdtl_id; |
||||
|
|
||||
|
/** |
||||
|
* 出入单标识 |
||||
|
*/ |
||||
|
private String iostorinv_id; |
||||
|
|
||||
|
/** |
||||
|
* 明细序号 |
||||
|
*/ |
||||
|
private BigDecimal seq_no; |
||||
|
|
||||
|
/** |
||||
|
* 物料标识 |
||||
|
*/ |
||||
|
private Long material_id; |
||||
|
|
||||
|
/** |
||||
|
* 批次 |
||||
|
*/ |
||||
|
private String pcsn; |
||||
|
|
||||
|
/** |
||||
|
* 品质类型 |
||||
|
*/ |
||||
|
private String quality_scode; |
||||
|
|
||||
|
/** |
||||
|
* 单据明细状态 |
||||
|
*/ |
||||
|
private String bill_status; |
||||
|
|
||||
|
/** |
||||
|
* 数量计量单位标识 |
||||
|
*/ |
||||
|
private Long qty_unit_id; |
||||
|
|
||||
|
/** |
||||
|
* 数量计量单位名称 |
||||
|
*/ |
||||
|
private String qty_unit_name; |
||||
|
|
||||
|
/** |
||||
|
* 计划数量 |
||||
|
*/ |
||||
|
private BigDecimal plan_qty; |
||||
|
|
||||
|
/** |
||||
|
* 实际数量 |
||||
|
*/ |
||||
|
private BigDecimal real_qty; |
||||
|
|
||||
|
/** |
||||
|
* 来源单据明细标识 |
||||
|
*/ |
||||
|
private Long source_billdtl_id; |
||||
|
|
||||
|
/** |
||||
|
* 来源单据类型 |
||||
|
*/ |
||||
|
private String source_bill_type; |
||||
|
|
||||
|
/** |
||||
|
* 来源单编号 |
||||
|
*/ |
||||
|
private String source_bill_code; |
||||
|
|
||||
|
/** |
||||
|
* 来源单表名 |
||||
|
*/ |
||||
|
private String source_bill_table; |
||||
|
|
||||
|
/** |
||||
|
* 基础单据明细标识 |
||||
|
*/ |
||||
|
private Long base_billdtl_id; |
||||
|
|
||||
|
/** |
||||
|
* 基础单据类型 |
||||
|
*/ |
||||
|
private String base_bill_type; |
||||
|
|
||||
|
/** |
||||
|
* 基础单编号 |
||||
|
*/ |
||||
|
private String base_bill_code; |
||||
|
|
||||
|
/** |
||||
|
* 基础单表名 |
||||
|
*/ |
||||
|
private String base_bill_table; |
||||
|
|
||||
|
/** |
||||
|
* 备注 |
||||
|
*/ |
||||
|
private String remark; |
||||
|
|
||||
|
/** |
||||
|
* 已分配数量 |
||||
|
*/ |
||||
|
private BigDecimal assign_qty; |
||||
|
|
||||
|
/** |
||||
|
* 未分配数量 |
||||
|
*/ |
||||
|
private BigDecimal unassign_qty; |
||||
|
|
||||
|
/** |
||||
|
* 箱号 |
||||
|
*/ |
||||
|
private String box_no; |
||||
|
|
||||
|
/** |
||||
|
* 来源交货单 |
||||
|
*/ |
||||
|
private String vbeln; |
||||
|
|
||||
|
/** |
||||
|
* 来源交货单行 |
||||
|
*/ |
||||
|
private String posnr; |
||||
|
|
||||
|
/** |
||||
|
* 发货幅宽 |
||||
|
*/ |
||||
|
private String width; |
||||
|
private String bill_code; |
||||
|
private String material_code; |
||||
|
private String material_name; |
||||
|
private String material_spec; |
||||
|
private String material_model; |
||||
|
private String sap_pcsn; |
||||
|
} |
@ -0,0 +1,155 @@ |
|||||
|
package org.nl.wms.st.outbill.service.vo; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.io.Serializable; |
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* 出库单任务vo |
||||
|
* @Author: lyd |
||||
|
* @Date: 2025/6/11 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class OutBillTaskVo implements Serializable { |
||||
|
/** |
||||
|
* 出入单分配标识 |
||||
|
*/ |
||||
|
private String iostorinvdis_id; |
||||
|
|
||||
|
/** |
||||
|
* 出入单标识 |
||||
|
*/ |
||||
|
private String iostorinv_id; |
||||
|
|
||||
|
/** |
||||
|
* 出入单明细标识 |
||||
|
*/ |
||||
|
private String iostorinvdtl_id; |
||||
|
|
||||
|
/** |
||||
|
* 明细序号 |
||||
|
*/ |
||||
|
private BigDecimal seq_no; |
||||
|
|
||||
|
/** |
||||
|
* 库区标识 |
||||
|
*/ |
||||
|
private String sect_id; |
||||
|
|
||||
|
/** |
||||
|
* 库区编码 |
||||
|
*/ |
||||
|
private String sect_code; |
||||
|
|
||||
|
/** |
||||
|
* 库区名称 |
||||
|
*/ |
||||
|
private String sect_name; |
||||
|
|
||||
|
/** |
||||
|
* 仓位标识 |
||||
|
*/ |
||||
|
private String struct_id; |
||||
|
|
||||
|
/** |
||||
|
* 仓位编码 |
||||
|
*/ |
||||
|
private String struct_code; |
||||
|
|
||||
|
/** |
||||
|
* 仓位名称 |
||||
|
*/ |
||||
|
private String struct_name; |
||||
|
|
||||
|
/** |
||||
|
* 物料标识 |
||||
|
*/ |
||||
|
private String material_id; |
||||
|
|
||||
|
/** |
||||
|
* 批次 |
||||
|
*/ |
||||
|
private String pcsn; |
||||
|
|
||||
|
/** |
||||
|
* 品质类型 |
||||
|
*/ |
||||
|
private String quality_scode; |
||||
|
|
||||
|
/** |
||||
|
* 执行状态 |
||||
|
*/ |
||||
|
private String work_status; |
||||
|
|
||||
|
/** |
||||
|
* 任务标识 |
||||
|
*/ |
||||
|
private String task_id; |
||||
|
|
||||
|
/** |
||||
|
* 存储载具标识 |
||||
|
*/ |
||||
|
private String storagevehicle_id; |
||||
|
|
||||
|
/** |
||||
|
* 存储载具编码 |
||||
|
*/ |
||||
|
private String storagevehicle_code; |
||||
|
|
||||
|
/** |
||||
|
* 是否已下发 |
||||
|
*/ |
||||
|
private String is_issued; |
||||
|
|
||||
|
/** |
||||
|
* 数量计量单位标识 |
||||
|
*/ |
||||
|
private String qty_unit_id; |
||||
|
|
||||
|
/** |
||||
|
* 数量计量单位名称 |
||||
|
*/ |
||||
|
private String qty_unit_name; |
||||
|
|
||||
|
/** |
||||
|
* 计划数量 |
||||
|
*/ |
||||
|
private BigDecimal plan_qty; |
||||
|
|
||||
|
/** |
||||
|
* 实际数量 |
||||
|
*/ |
||||
|
private BigDecimal real_qty; |
||||
|
|
||||
|
/** |
||||
|
* 出入点位标识 |
||||
|
*/ |
||||
|
private String point_id; |
||||
|
|
||||
|
/** |
||||
|
* 箱号 |
||||
|
*/ |
||||
|
private String box_no; |
||||
|
|
||||
|
/** |
||||
|
* 是否超期 |
||||
|
*/ |
||||
|
private String is_overdue; |
||||
|
|
||||
|
/** |
||||
|
* 入库时间 |
||||
|
*/ |
||||
|
private String instorage_time; |
||||
|
|
||||
|
/** |
||||
|
* 是否回传 |
||||
|
*/ |
||||
|
private String is_upload; |
||||
|
private String task_code; |
||||
|
private String task_type; |
||||
|
private String task_status; |
||||
|
private String sap_pcsn; |
||||
|
private String width_standard; |
||||
|
private String task_type_name; |
||||
|
} |
Loading…
Reference in new issue