1.调整单据类型表字段,添加建表语句

newFrame
x_z 3 years ago
parent 5aa1b735ad
commit b8188c748b

@ -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;
/**
* 01:
*/
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;
}

@ -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 '单据类型表';
Loading…
Cancel
Save