add:新增表

This commit is contained in:
2024-07-19 10:33:13 +08:00
parent c87492af54
commit d59e5d22a1
12 changed files with 463 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package org.nl.b_lms.pdm.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 子卷下线记录表 前端控制器
* </p>
*
* @author author
* @since 2024-07-19
*/
@RestController
@RequestMapping("/pdm-bi-containerinfo")
public class PdmBiContainerinfoController {
}

View File

@@ -0,0 +1,20 @@
package org.nl.b_lms.pdm.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 订单BOM信息 前端控制器
* </p>
*
* @author author
* @since 2024-07-19
*/
@RestController
@RequestMapping("/pdm-bi-orderbominfo")
public class PdmBiOrderbominfoController {
}

View File

@@ -0,0 +1,170 @@
package org.nl.b_lms.pdm.dao;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
* 子卷下线记录表
* </p>
*
* @author author
* @since 2024-07-19
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pdm_bi_containerinfo")
public class PdmBiContainerinfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 子卷包装标识
*/
@TableId(value = "workorder_id", type = IdType.AUTO)
private Long workorderId;
/**
* 子卷号
*/
private String containerName;
/**
* SAP批次
*/
private String sapPcsn;
/**
* 销售订单及行号
*/
private String saleOrderName;
/**
* 客户编号
*/
private String customerName;
/**
* 客户名称
*/
private String customerDescription;
/**
* 产品规格(幅宽)
*/
private String width;
/**
* 产品厚度
*/
private String thickness;
/**
* 单位面积质量
*/
private BigDecimal massPerUnitArea;
/**
* 净重
*/
private BigDecimal netWeight;
/**
* 长度
*/
private BigDecimal length;
/**
* 制造完成日期
*/
private String dateOfProduction;
/**
* 计划外分切的子卷
*/
private String isUnPlanProduction;
/**
* 子卷的物性值1
*/
private String unPlanProductProperty1;
/**
* 子卷的物性值2
*/
private String unPlanProductProperty2;
/**
* 子卷的物性值3
*/
private String unPlanProductProperty3;
/**
* 备注
*/
private String remark;
/**
* 创建人
*/
private Long createId;
/**
* 创建人姓名
*/
private String createName;
/**
* 创建时间
*/
private String createTime;
/**
* 销售订单描述
*/
private String saleOrderDescription;
/**
* 客户要求规格幅宽
*/
private String widthStandard;
/**
* 物料标准厚度
*/
private String thicknessRequest;
/**
* 实际木箱自身重量
*/
private BigDecimal realWeight;
/**
* 包装关系类型
*/
private String subType;
/**
* 客户需求抗拉下限
*/
private String demandLimit;
/**
* 内控标准抗拉下限
*/
private String standardLimit;
/**
* 生产实际抗拉值
*/
private String actualValue;
}

View File

@@ -0,0 +1,139 @@
package org.nl.b_lms.pdm.dao;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
* 订单BOM信息
* </p>
*
* @author author
* @since 2024-07-19
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pdm_bi_orderbominfo")
public class PdmBiOrderbominfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 订单BOM标识
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 设备级工单号
*/
private String mfgOrder;
/**
* 木箱物料编码
*/
private String productName;
/**
* 木箱描述
*/
private String description;
/**
* 管芯编码
*/
private String carrierName;
/**
* 管芯描述
*/
private String carrierDescription;
/**
* 类型
*/
private String type;
/**
* 等级
*/
private String level;
/**
* 幅宽
*/
private String thickness;
/**
* 单卷长度下限
*/
private String lengthFloor;
/**
* 单卷长度上限
*/
private String lengthCeiling;
/**
* 单卷重量下限
*/
private String weightFloor;
/**
* 单卷重量上限
*/
private String weightCeiling;
/**
* 订单重量
*/
private String orderWeight;
/**
* 包装方案
*/
private String packageType;
/**
* 单箱装卷数
*/
private String packageNum;
/**
* 管芯选配
*/
private String paperType;
/**
* 客户要求管芯长度
*/
private String needPaperLength;
/**
* 收卷方式
*/
private String rollingType;
/**
* 客户特殊包装要求
*/
private String packageRequest;
/**
* 客户指定生箔机台
*/
private String requestMachine;
/**
* 制单时间
*/
private String inputTime;
}

View File

@@ -0,0 +1,16 @@
package org.nl.b_lms.pdm.mapper;
import org.nl.b_lms.pdm.dao.PdmBiContainerinfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 子卷下线记录表 Mapper 接口
* </p>
*
* @author author
* @since 2024-07-19
*/
public interface PdmBiContainerinfoMapper extends BaseMapper<PdmBiContainerinfo> {
}

View File

@@ -0,0 +1,16 @@
package org.nl.b_lms.pdm.mapper;
import org.nl.b_lms.pdm.dao.PdmBiOrderbominfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 订单BOM信息 Mapper 接口
* </p>
*
* @author author
* @since 2024-07-19
*/
public interface PdmBiOrderbominfoMapper extends BaseMapper<PdmBiOrderbominfo> {
}

View File

@@ -0,0 +1,16 @@
package org.nl.b_lms.pdm.service;
import org.nl.b_lms.pdm.dao.PdmBiContainerinfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 子卷下线记录表 服务类
* </p>
*
* @author author
* @since 2024-07-19
*/
public interface IPdmBiContainerinfoService extends IService<PdmBiContainerinfo> {
}

View File

@@ -0,0 +1,16 @@
package org.nl.b_lms.pdm.service;
import org.nl.b_lms.pdm.dao.PdmBiOrderbominfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 订单BOM信息 服务类
* </p>
*
* @author author
* @since 2024-07-19
*/
public interface IPdmBiOrderbominfoService extends IService<PdmBiOrderbominfo> {
}

View File

@@ -0,0 +1,20 @@
package org.nl.b_lms.pdm.service.impl;
import org.nl.b_lms.pdm.dao.PdmBiContainerinfo;
import org.nl.b_lms.pdm.mapper.PdmBiContainerinfoMapper;
import org.nl.b_lms.pdm.service.IPdmBiContainerinfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 子卷下线记录表 服务实现类
* </p>
*
* @author author
* @since 2024-07-19
*/
@Service
public class PdmBiContainerinfoServiceImpl extends ServiceImpl<PdmBiContainerinfoMapper, PdmBiContainerinfo> implements IPdmBiContainerinfoService {
}

View File

@@ -0,0 +1,20 @@
package org.nl.b_lms.pdm.service.impl;
import org.nl.b_lms.pdm.dao.PdmBiOrderbominfo;
import org.nl.b_lms.pdm.mapper.PdmBiOrderbominfoMapper;
import org.nl.b_lms.pdm.service.IPdmBiOrderbominfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 订单BOM信息 服务实现类
* </p>
*
* @author author
* @since 2024-07-19
*/
@Service
public class PdmBiOrderbominfoServiceImpl extends ServiceImpl<PdmBiOrderbominfoMapper, PdmBiOrderbominfo> implements IPdmBiOrderbominfoService {
}

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.nl.b_lms.pdm.mapper.PdmBiContainerinfoMapper">
</mapper>

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.nl.b_lms.pdm.mapper.PdmBiOrderbominfoMapper">
</mapper>