Files
xgy-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsCoilPackingDetailBo.java
Joshi 3ed5b6a6ab feat(wms): 添加钢卷打包功能
- 在IWmsCoilPackingRecordService中新增packing方法接口
- 为WmsCoilPackingDetailBo添加saleName字段
- 为WmsCoilPackingRecordBo添加details列表字段
- 在WmsCoilPackingRecordController中新增executePacking接口
- 实现WmsCoilPackingRecordServiceImpl的packing方法,包含事务处理
- 添加钢卷打包的核心业务逻辑,包括重量计算、库存转移等
- 集成日志记录和重复提交防护功能
2026-03-23 10:39:50 +08:00

66 lines
1.2 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.bo;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import java.math.BigDecimal;
/**
* 钢卷打包明细(存储每个钢卷的库区/重量信息)业务对象 wms_coil_packing_detail
*
* @author klp
* @date 2026-03-23
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsCoilPackingDetailBo extends BaseEntity {
/**
* 明细主键ID
*/
private Long detailId;
/**
* 关联打包主表ID
*/
private Long packingId;
/**
* 关联钢卷IDwms_material_coil.coil_id
*/
private Long coilId;
/**
* 该钢卷打包前的库区ID
*/
private Long fromWarehouseId;
/**
* 该钢卷打包后的库区ID打包待发区
*/
private Long toWarehouseId;
/**
* 该钢卷的毛重
*/
private BigDecimal coilGrossWeight;
/**
* 该钢卷的净重
*/
private BigDecimal coilNetWeight;
/**
* 该钢卷的打包备注库区A-钢卷1001
*/
private String remark;
private String saleName;
}