Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangweidong
patzn-cloud-service-hmhj
Commits
dde6ba6e
Commit
dde6ba6e
authored
Apr 17, 2021
by
wangweidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
霍煤鸿骏
parent
66181b61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
0 deletions
+51
-0
新增表结构sql.sql
src/test/java/resources/db_sql/v1.0.1/hmhj/新增表结构sql.sql
+51
-0
No files found.
src/test/java/resources/db_sql/v1.0.1/hmhj/新增表结构sql.sql
0 → 100644
View file @
dde6ba6e
CREATE
TABLE
"public"
.
"item_deviate"
(
CREATE
TABLE
"public"
.
"item_deviate"
(
"id"
int8
NOT
NULL
,
"item_id"
int8
NOT
NULL
,
"method_code"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
,
"reason"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
,
"method_desc"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
,
"company_id"
int8
,
"uid"
int8
,
"ctime"
timestamp
(
0
)
DEFAULT
NULL
::
timestamp
without
time
zone
,
"lid"
int8
,
"ltime"
timestamp
(
0
)
DEFAULT
NULL
::
timestamp
without
time
zone
,
"deleted"
int2
DEFAULT
0
,
"remark"
varchar
(
200
)
COLLATE
"pg_catalog"
.
"default"
DEFAULT
NULL
::
character
varying
,
"applyer"
varchar
(
50
)
COLLATE
"pg_catalog"
.
"default"
,
"applyer_id"
int8
,
"apply_time"
timestamp
(
6
),
"checker"
varchar
(
50
)
COLLATE
"pg_catalog"
.
"default"
,
"checker_id"
int8
,
"check_time"
timestamp
(
6
),
"status"
int2
,
"progress"
int2
,
"back_reason"
varchar
(
255
)
COLLATE
"pg_catalog"
.
"default"
)
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"id"
IS
'ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"item_id"
IS
'检测项目ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"method_code"
IS
'方法名称及编号'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"reason"
IS
'偏离原因'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"method_desc"
IS
'偏离方法描述及验证'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"company_id"
IS
'检测项目ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"uid"
IS
'创建者ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"ctime"
IS
'创建时间'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"lid"
IS
'最后修改人ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"ltime"
IS
'最后修改时间'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"deleted"
IS
'是否删除0否1是'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"remark"
IS
'备注'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"applyer"
IS
'申请人'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"applyer_id"
IS
'申请人ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"apply_time"
IS
'申请时间'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"checker"
IS
'审批人'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"checker_id"
IS
'审批人ID'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"check_time"
IS
'审批时间'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"status"
IS
'状态'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"progress"
IS
'进度'
;
COMMENT
ON
COLUMN
"public"
.
"item_deviate"
.
"back_reason"
IS
'驳回原因'
;
-- ----------------------------
-- Primary Key structure for table item_deviate
-- ----------------------------
ALTER
TABLE
"public"
.
"item_deviate"
ADD
CONSTRAINT
"item_deviate_pkey"
PRIMARY
KEY
(
"id"
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment