diff --git a/src/main/java/com/glxp/api/entity/rebuild/BussinessTypeEntity.java b/src/main/java/com/glxp/api/entity/rebuild/BussinessTypeEntity.java index fadd431b..05e1d1b1 100644 --- a/src/main/java/com/glxp/api/entity/rebuild/BussinessTypeEntity.java +++ b/src/main/java/com/glxp/api/entity/rebuild/BussinessTypeEntity.java @@ -14,7 +14,7 @@ public class BussinessTypeEntity { /** * 主类型(出库,入库) */ - private String mainaction; + private String mainAction; /** * 业务类型 @@ -39,137 +39,137 @@ public class BussinessTypeEntity { /** * 第三方系统外键 */ - private String thirdsysfk; + private String thirdSysFk; /** * 是否自动生成往来单位:1.是;2.否 */ - private Boolean genunit; + private Boolean genUnit; /** * 是否是内部单据:1.是;0:否 */ - private Boolean innerorder; + private Boolean innerOrder; /** * 是否二次验收 */ - private Boolean seccheckenable; + private Boolean secCheckEnable; /** * 是否根据业务单据类型校验 */ - private Boolean checkenable; + private Boolean checkEnable; /** * UDIMS平台来源是否需要校验 */ - private Boolean checkudims; + private Boolean checkUdims; /** * pda已校验单据 */ - private Boolean checkpdaed; + private Boolean checkPdaEd; /** * pda未检验单据 */ - private Boolean checkpdaun; + private Boolean checkPdaUn; /** * PC端扫码精灵 */ - private Boolean checkpc; + private Boolean checkPc; /** * web前端页面新增单据 */ - private Boolean checkwebnew; + private Boolean checkWebNew; /** * 供应商平台导出单据 */ - private Boolean checksp; + private Boolean checkSp; /** * 流转生成单据 */ - private Boolean checkchange; + private Boolean checkChange; /** * UDIMS平台单据 二次校验 */ - private Boolean seccheckudims; + private Boolean secCheckUdims; /** * 手持终端已校验单据 二次校验 */ - private Boolean seccheckpdaed; + private Boolean secCheckPdaEd; /** * 手持终端未校验单据 二次校验 */ - private Boolean seccheckpdaun; + private Boolean secCheckPdaUn; /** * UDI扫码通 二次校验 */ - private Boolean seccheckpc; + private Boolean secCheckPc; /** * web端新增单据 二次复核 */ - private Boolean seccheckwebnew; + private Boolean secCheckWebNew; /** * 自动补单二次复核 */ - private Boolean seccheckchange; + private Boolean secCheckChange; /** * 供应商平台导出单据 */ - private Boolean secchecksp; + private Boolean secCheckSp; /** * 往来单位类型 */ - private Boolean corptype; + private Boolean corpType; /** - * varchar + * 补单扫码单据类型 */ - private String supplementordertype; + private String supplementOrderType; /** * 平衡补单是否校验 */ - private Boolean checkbalacne; + private Boolean checkBalance; /** * 平衡补单是否二次验收 */ - private Boolean seccheckbalacne; + private Boolean secCheckBalance; /** * 允许科室多次使用出库 */ - private Boolean usedycount; + private Boolean useDyCount; /** * 到期提示 */ - private Boolean expiretip; + private Boolean expireTip; /** * 更新时间 */ - private Date updatetime; + private Date updateTime; /** * 默认往来单位 */ - private String defaultunit; + private String defaultUnit; /** * 创建单据前缀 @@ -179,95 +179,95 @@ public class BussinessTypeEntity { /** * 出库是否直接上传至自助平台 */ - private Boolean outtospms; + private Boolean outToSpms; /** * 允许出库自动缺量补单 */ - private Boolean ullagefill; + private Boolean ullageFill; /** * 是否只采集预验收产品 */ - private Boolean scanprein; + private Boolean scanPreIn; /** * 是否访问库存 */ - private Boolean vailinv; + private Boolean vailInv; /** * 允许验收自助平台单据 */ - private Boolean entrutspms; + private Boolean entrutSpms; /** * 是否强制三期校验 */ - private Boolean codefillcheck; + private Boolean codeFillCheck; /** * 默认分库 */ - private String defaultsubinv; + private String defaultSubInv; /** * 默认仓库 */ - private String defaultinv; + private String defaultInv; /** * 订单详情展示方式:0:根据批次号展示,1:根据条码展示 */ - private Boolean ordervisibletype; + private Boolean orderVisibleType; /** * 是否校验复制单据 */ - private Boolean checkcopy; + private Boolean checkCopy; /** * 是否二次校验复制单据 */ - private Boolean seccheckcopy; + private Boolean secCheckCopy; /** * 第三方系统单据类型 */ - private String originaction; + private String originAction; /** * 是否预入库 */ - private Boolean advancetype; + private Boolean advanceType; /** * 是否流转 */ - private Boolean changeenable; + private Boolean changeEnable; /** * 是否供应商使用 */ - private Boolean spuse; + private Boolean spUse; /** * 是否预验收单据类型 */ - private Boolean prein; + private Boolean preIn; /** * 缺量补单是否全量补单 */ - private Boolean supplementall; + private Boolean supplementAll; /** * 创建人 */ - private String createuser; + private String createUser; /** * 创建时间 */ - private String createtime; + private Date createTime; } \ No newline at end of file diff --git a/src/main/resources/schemas/schema_v2.1.sql b/src/main/resources/schemas/schema_v2.1.sql index cfa24580..f2fe143a 100644 --- a/src/main/resources/schemas/schema_v2.1.sql +++ b/src/main/resources/schemas/schema_v2.1.sql @@ -83,3 +83,63 @@ drop table if exists auth_platform; -- 删除医院客户和自助平台关联表 drop table if exists io_unit_maintain_platform; + + +-- 新版本表结构 +-- 单据类型 +create table if not exists bussiness_type +( + id int primary key not null auto_increment comment 'id', + mainAction varchar(255) comment '主类型(出库,入库)', + action varchar(255) comment '业务类型', + name varchar(255) comment '业务名称', + enable tinyint(1) comment '是否启用', + remark varchar(255) comment '备注', + thirdSysFk varchar(255) comment '第三方系统外键', + genUnit tinyint(1) comment '是否自动生成往来单位:1.是;2.否', + innerOrder tinyint(1) comment '是否是内部单据:1.是;0:否', + secCheckEnable tinyint(1) comment '是否二次验收', + checkEnable tinyint(1) comment '是否根据业务单据类型校验', + checkUdims tinyint(1) comment 'UDIMS平台来源是否需要校验', + checkPdaEd tinyint(1) comment 'pda已校验单据', + checkPdaUn tinyint(1) comment 'pda未检验单据', + checkPc tinyint(1) comment 'PC端扫码精灵', + checkWebNew tinyint(1) comment 'web前端页面新增单据', + checkSp tinyint(1) comment '供应商平台导出单据', + checkChange tinyint(1) comment '流转生成单据', + secCheckUdims tinyint(1) comment 'UDIMS平台单据 二次校验', + secCheckPdaEd tinyint(1) comment '手持终端已校验单据 二次校验', + secCheckPdaUn tinyint(1) comment '手持终端未校验单据 二次校验', + secCheckPc tinyint(1) comment 'UDI扫码通 二次校验', + secCheckWebNew tinyint(1) comment 'web端新增单据 二次复核', + secCheckChange tinyint(1) comment '自动补单二次复核', + secCheckSp tinyint(1) comment '供应商平台导出单据', + corpType tinyint(1) comment '往来单位类型', + supplementOrderType varchar(255) comment '补单扫码单据类型', + checkBalance tinyint(1) comment '平衡补单是否校验', + secCheckBalance tinyint(1) comment '平衡补单是否二次验收', + useDyCount tinyint(1) comment '允许科室多次使用出库', + expireTip tinyint(1) comment '到期提示', + updateTime datetime comment '更新时间', + defaultUnit varchar(255) comment '默认往来单位', + prefix varchar(255) comment '创建单据前缀', + outToSpms tinyint(1) comment '出库是否直接上传至自助平台', + ullageFill tinyint(1) comment '允许出库自动缺量补单', + scanPreIn tinyint(1) comment '是否只采集预验收产品', + vailInv tinyint(1) comment '是否访问库存', + entrutSpms tinyint(1) comment '允许验收自助平台单据', + codeFillCheck tinyint(1) comment '是否强制三期校验', + defaultSubInv tinyint(1) comment '默认分库', + defaultInv tinyint(1) comment '默认仓库', + orderVisibleType tinyint(1) comment '订单详情展示方式:0:根据批次号展示,1:根据条码展示', + checkCopy tinyint(1) comment '是否校验复制单据', + secCheckCopy tinyint(1) comment '是否二次校验复制单据', + originAction varchar(255) comment '第三方系统单据类型', + advanceType tinyint(1) comment '是否预入库', + changeEnable tinyint(1) comment '是否流转', + spUse tinyint(1) comment '是否供应商使用', + preIn tinyint(1) comment '是否预验收单据类型', + supplementAll tinyint(1) comment '缺量补单是否全量补单', + createUser varchar(255) comment '创建人', + createTime datetime comment '创建时间' +) comment '单据类型表'; \ No newline at end of file