north-glass-erp/.idea/.gitignore
New file @@ -0,0 +1,8 @@ # 默认忽略的文件 /shelf/ /workspace.xml # 基于编辑器的 HTTP 客户端请求 /httpRequests/ # Datasource local storage ignored files /dataSources/ /dataSources.local.xml north-glass-erp/src/main/java/com/example/erp/entity/mm/FinishedGoodsInventory.java
New file @@ -0,0 +1,40 @@ package com.example.erp.entity.mm; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.example.erp.entity.sd.Customer; import com.example.erp.entity.sd.Order; import lombok.Data; import java.time.LocalDate; @Data public class FinishedGoodsInventory { @TableId(type = IdType.AUTO) private Long id; private Integer deliveryState; private Integer stockState; private String deliveryId; private String project; private String customerName; private LocalDate deliveryDate; private String payMethod; private LocalDate payDate; private String salaManId; private String salaMan; private String createrId; private String creator; private String contacts; private String contactNumber; private String deliveryAddress; private Double area; private Integer quantity; private Double money; private String remarks; private LocalDate createTime; private LocalDate updateTime; private Order order; private Customer customer; } north-glass-erp/src/main/java/com/example/erp/entity/pp/BaseBom.java
New file @@ -0,0 +1,47 @@ package com.example.erp.entity.pp; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDate; public class BaseBom { @TableId(type = IdType.AUTO) //自增id private Integer id; //产品大类编号 private String productCategoriesId; //大类名称 private String productCategories; //基数 private Integer base; //物料编码 private String materialId; //物料名称 private String materialName; //主单位 private String mainUnit; //换算率 private String conversion; //副单位 private String deputyUnit; //数量 private String number; //工序 private String process; //产地 private String producingArea; //审核状态 private Integer reviewStatus; //创建人 private String founder; //审核人 private String reviewer; //使用状态 private Integer state; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/pp/Device.java
New file @@ -0,0 +1,31 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class Device { //自增ID private Integer id; //设备编号 private String deviceId; //标准名称 private String standardName; //设备名称 private String deviceName; //购买时间 private LocalDate purchaseTime; //安装时间 private LocalDate installTime; //使用周期(年) private Integer lifeCycle; //使用状态 private Integer useState; //所在工艺 private String process; //作废状态 private String cancelState; //创建时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/pp/DeviceMaintenance.java
New file @@ -0,0 +1,36 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class DeviceMaintenance { //自增id private Integer id; //设备编号 private String deviceId; //类型 private Integer type; //故障日期 private LocalDate faultTime; //故障原因 private String faultReason; //保养日期 private LocalDate maintenanceTime; //保养说明 private String maintenanceIllustrate; //维修/保养开始时间 private LocalDate startTime; //维修/保养结束时间 private LocalDate stopTime; //维修/保养人员 private String personnel; //费用 private String cost; //创建时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; //外键设备表 private Device device; } north-glass-erp/src/main/java/com/example/erp/entity/pp/FlowCard.java
New file @@ -0,0 +1,61 @@ package com.example.erp.entity.pp; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDate; public class FlowCard { @TableId(type = IdType.AUTO) //自增id private Integer id; //销售单号 private String orderId; //生产订单号 private String productionId; //流程卡号 private String processId; //序号 private Integer orderNumber; //工艺确认序号 private Integer technologyNumber; //已优化数量 private Integer optimizeQuantity; //排版状态 private Integer layoutStatus; //补片数量 private Integer numberPatches; //库存数量 private Integer inventoryQuantity; //已入数量 private Integer receivedQuantity; //补片编号 private String patchId; //工程占用 private Integer engineeringOccupancy; //库存数量 private Integer inventoryNumber; //入库时间 private LocalDate storageTime; //生产终止状态 private Integer terminationStatus; //打印状态 private Integer printStatus; //备用键 private String alternateKey; //分架员 private String founder; //分架时间 private LocalDate splitFrameTime; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; //外键订单表 // private Order order; // //外键订单明细表 // private OrderDetail orderDetail; // //外键订单工艺审核表 // private orderGlassDetail orderGlassDetail; } north-glass-erp/src/main/java/com/example/erp/entity/pp/OrderBom.java
New file @@ -0,0 +1,45 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class OrderBom { //自增ID private Integer id; //销售单号 private String orderId; //产品编号 private String prodId; //产品名称 private String productName; //产品数量 private Integer number; //工序 private String process; //物料编码 private String materialId; //物料名称 private String materialName; //物料数量 private Integer materialNumber; //产地 private String producingArea; //采购数量 private Integer purchaseQuantity; //审核状态 private Integer reviewStatus; //采购状态 private Integer procureStatus; //采购单号 private String procureId; //单价 private String unitPrice; //供应商状态 private Integer supplierStatus; //计划日期 private LocalDate scheduleDate; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java
New file @@ -0,0 +1,69 @@ package com.example.erp.entity.pp; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import java.time.LocalDate; public class ReportingWork { @TableId(type = IdType.AUTO) //自增id private Integer id; //报工编号 private String reportingWorkId; //销售单号 private String orderId; //生产订单号 private String productionId; //流程卡号 private String processId; //设备编号 private String deviceId; //设备名称 private String deviceName; //上工序 private String previousProcess; //上工序数量 private Integer previousProcessQuantity; //本工序 private String thisProcess; //上工序数量 private Integer thisProcessQuantity; //本工序完工数量 private Integer thisCompletedQuantity; //本工序次破数量 private Integer thisWornQuantity; //下工序 private String nextProcess; //班次 private String classes; //班组编号 private String teamsgroupsId; //班组名称 private String teamsgroupsName; //报工状态 private Integer reportingWorkState; //审核人 private String reviewed; //审核状态 private Integer reviewedState; //备注 private String notes; //质检员 private String qualityInsPector; //包装方式 private String packagingMethod; //报工时间 private LocalDate reportingWorkTime; //审核时间 private LocalDate examineTime; //质检时间 private LocalDate qualityInsTime; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; //外键流程卡表 private FlowCard flowCard; } north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWorkDetail.java
New file @@ -0,0 +1,44 @@ package com.example.erp.entity.pp; public class ReportingWorkDetail { //自增ID private Integer id; //报工编号 private String reportingWorkId; //产品序号 private String orderNumber; //工艺确认序号 private String technologyNumber; //完工数量 private Integer completedQuantity; //次破数量 private Integer breakageNumber; //次破原因 private String breakageReason; //可利用 private Integer available; //退回工序 private String returnProcess; //责任工序 private String responsibleProcess; //责任人员 private String responsiblePersonnel; //责任班组 private String responsibleTeam; //责任设备 private String responsibleEquipment; //质检员 private String qualityInspector; //补片状态 private Integer patchStatus; //在制品名称 private String workProgress; //质检状态 private Integer qualityInsStatus; //报工类型 private Integer type; //外键报工主表 private ReportingWork reportingWork; } north-glass-erp/src/main/java/com/example/erp/entity/pp/Rework.java
New file @@ -0,0 +1,35 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class Rework { //自增id private Integer id; //返工编号 private String reworkId; //流程卡号 private String processId; //返工类型 private String reworkType; //返工原因 private String reworkReason; //返工工序 private String reworkProcesses; //返工数量 private Integer reworkNum; //返工面积 private Double reworkArea; //返工班组 private String reworkTeam; //审核人 private String reviewer; //审核状态 private Integer reviewStatus; //创建时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; //外键流程卡表 private FlowCard flowCard; } north-glass-erp/src/main/java/com/example/erp/entity/pp/SetupBom.java
New file @@ -0,0 +1,45 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class SetupBom { //自增ID private Integer id; //产品编号 private String prodId; //产品名称 private String productName; //基数 private Integer base; ///物料编码 private String materialID; //物料名称 private String materialName; //单位 private String unit; //换算率 private String conversion; //单位2 private String unit2; //数量 private Integer number; //工序 private String process; //产地 private String producingArea; //审核状态 private Integer reviewStatus; //创建人 private String founder; //审核人 private String reviewer; //使用状态 private Integer state; //生产状态 private Integer productionStatus; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/pp/WorkprogressMonthlySettlement.java
New file @@ -0,0 +1,33 @@ package com.example.erp.entity.pp; import java.time.LocalDate; public class WorkprogressMonthlySettlement { //自增ID private Integer id; //产品编号 private String prodId; //产品名称 private String productName; //加工要求 private String processingNote; //工序 private String process; //宽 private Double width; //高 private Double height; //厚度 private Double thickness; //单价 private Double price; //总金额 private Double grossAmount; //月结日期 private LocalDate monthlyClosingDate; //建立时间 private LocalDate createTime; //修改时间 private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/sd/BasicData.java
New file @@ -0,0 +1,18 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class BasicData { @TableId(type = IdType.AUTO) private Integer id; private String basicType; private String name; private String type; private LocalDate createTime; private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/sd/Customer.java
New file @@ -0,0 +1,18 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; @Data public class Customer { @TableId(type = IdType.AUTO) private Long id; private String customerName; private String grade; private Double moneyLimit; private String address; private String contact; private String phone; } north-glass-erp/src/main/java/com/example/erp/entity/sd/Delivery.java
New file @@ -0,0 +1,39 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.sql.Date; import java.time.LocalDate; @Data public class Delivery { @TableId(type = IdType.AUTO) private Long id; private Integer deliveryState; private Integer stockState; private String deliveryId; private String project; private String customerName; private LocalDate deliveryDate; private String payMethod; private LocalDate payDate; private String salaManId; private String salaMan; private String createrId; private String creator; private String contacts; private String contactNumber; private String deliveryAddress; private Double area; private Integer quantity; private Double money; private String remarks; private LocalDate createTime; private LocalDate updateTime; private Order order; private Customer customer; } north-glass-erp/src/main/java/com/example/erp/entity/sd/DeliveryDetail.java
New file @@ -0,0 +1,28 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.sql.Date; import java.time.LocalDate; @Data public class DeliveryDetail { @TableId(type = IdType.AUTO) private Long id; private Integer deliveryNumber; private Integer orderNumber; private Double area; private String quantity; private Double money; private String deliveryDetailRemakes; private Integer deliveryDetailState; private LocalDate createTime; private LocalDate updateTime; private Delivery delivery; private OrderDetail orderDetail; } north-glass-erp/src/main/java/com/example/erp/entity/sd/GlassType.java
New file @@ -0,0 +1,21 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class GlassType { @TableId(type = IdType.AUTO) private Long id; private Integer typeGrade; private String typeId; private String typeName; private String parentTypeId; private LocalDate createTime; private LocalDate updateTime; } north-glass-erp/src/main/java/com/example/erp/entity/sd/Order.java
New file @@ -0,0 +1,56 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class Order { @TableId(type = IdType.AUTO) private Long id; private String orderId; private String project; private String customerName; private String orderType; private String orderClassify; private String icon; private String packType; private String deliveryDate; private String batch; private Integer calculateType; private String salesmanId; private String salesman; private String alType; private Double money; private String contractId; private String customerBatch; private String contacts; private String contactNumber; private String deliveryAddress; private Double otherMoney; private String otherMoneyRemarks; private String processingNote; private String otherRemaks; private Double area; private Long quantity; private String verifierId; private String verifier; private String createrId; private String creater; private Integer createOrder; private Integer processReview; private Integer orderReview; private Integer productionOrder; private Integer processingCard; private Integer warehousing; private Integer delivery; private LocalDate createTime; private LocalDate updateTime; private Customer customer; } north-glass-erp/src/main/java/com/example/erp/entity/sd/OrderDetail.java
New file @@ -0,0 +1,44 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class OrderDetail { @TableId(type = IdType.AUTO) private Long id; private Integer orderNumber; private String buildingNumber; private String productName; private Double price; private Long quantity; private Double grossAmount; private Double width; private Double height; private String shape; private Double area; private Double grossArea; private Double computeArea; private Double computeGrossArea; private String processingNote; private String remarks; private Integer bendRadius; private String edgingType; private Double weight; private Double perimeter; private Integer warehouseNum; private Integer deliveryNum; private Integer returnNum; private Integer state; private LocalDate createTime; private LocalDate updateTime; private Order order; private Product product; } north-glass-erp/src/main/java/com/example/erp/entity/sd/OrderGlassDetail.java
New file @@ -0,0 +1,31 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class OrderGlassDetail { @TableId(type = IdType.AUTO) private Long id; private Integer technologyNumber; private String glassAddress; private String glassChild; private Double childWidth; private Double childHeight; private String process; private String productionId; private Integer splittingStatus; private String founder; private Integer group; private LocalDate produtionTime; private LocalDate createTime; private Order order; private OrderDetail orderDetail; } north-glass-erp/src/main/java/com/example/erp/entity/sd/OrderProcessDetail.java
New file @@ -0,0 +1,19 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; @Data public class OrderProcessDetail { @TableId(type = IdType.AUTO) private Long id; private String process; private Integer reportingworkNum; private Integer brokenNum; private Order order; private OrderDetail orderDetail; private Product product; } north-glass-erp/src/main/java/com/example/erp/entity/sd/ProductDetail.java
New file @@ -0,0 +1,23 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class ProductDetail { @TableId(type = IdType.AUTO) private Long id; private String productName; private String detailType; private String detail; private String process; private String separation; private LocalDate createTime; private Product product; } north-glass-erp/src/main/java/com/example/erp/entity/sd/Returns.java
New file @@ -0,0 +1,38 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.sql.Date; import java.time.LocalDate; @Data public class Returns { @TableId(type = IdType.AUTO) private Long id; private Integer returnsState; private Integer warehousingState; private String returnsId; private String deliveryId; private String project; private Long customerId; private String customerName; private LocalDate returnsDate; private String returnsMethod; private String salaManId; private String salaMan; private String createrId; private String creator; private Double area; private Integer quantity; private Double money; private String remarks; private LocalDate createTime; private LocalDate updateTime; private Delivery delivery; private Customer customer; } north-glass-erp/src/main/java/com/example/erp/entity/sd/ReturnsDetail.java
New file @@ -0,0 +1,28 @@ package com.example.erp.entity.sd; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import lombok.Data; import java.time.LocalDate; @Data public class ReturnsDetail { @TableId(type = IdType.AUTO) private Long id; private String returnsId; private Integer returnsNumber; private Integer deliveryNumber; private Double area; private Long quantity; private Double money; private String returnsDetailRemakes; private Integer returnsDetailState; private LocalDate createTime; private LocalDate updateTime; private Returns returns; private DeliveryDetail deliveryDetail; }