Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
agent-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
agent-platform
Commits
316e1399
Commit
316e1399
authored
May 14, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加代办员工评价次数
parent
6c65dcdc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
agent-manager/db/add1.sql
agent-manager/db/add1.sql
+32
-0
No files found.
agent-manager/db/add1.sql
0 → 100644
View file @
316e1399
-- ----------------------------
-- 代办帮办人员
-- ----------------------------
DROP
TABLE
IF
EXISTS
`mortals_agent_staff`
;
CREATE
TABLE
`mortals_agent_staff`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'序号,主键,自增长'
,
`user_id`
bigint
(
20
)
NOT
NULL
COMMENT
'user表外键,user.id'
,
`login_name`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'登录名'
,
`login_pwd`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'登录密码'
,
`real_name`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'真实姓名'
,
`photo_path`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'照片'
,
`phone_number`
varchar
(
64
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'联系方式'
,
`dept_name`
varchar
(
128
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'所属部门'
,
`total_num`
int
(
4
)
DEFAULT
'0'
COMMENT
'累计代办次数'
,
`total_score`
int
(
4
)
DEFAULT
'0'
COMMENT
'累计评分'
,
`remark`
varchar
(
255
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'备注'
,
`create_user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'创建用户'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`update_time`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
KEY
`idx_loginName`
(
`login_Name`
)
USING
BTREE
)
CHARACTER
SET
=
utf8
COLLATE
=
utf8_general_ci
COMMENT
=
'代办帮办人员'
;
ALTER
TABLE
mortals_agent_declare
ADD
COLUMN
`agent_user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'代办人id'
AFTER
submit_time
;
ALTER
TABLE
mortals_agent_declare
ADD
COLUMN
`agent_user_name`
varchar
(
128
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
DEFAULT
NULL
COMMENT
'代办人名称'
AFTER
agent_user_id
;
ALTER
TABLE
mortals_agent_declare
ADD
COLUMN
`assign_time`
datetime
DEFAULT
NULL
COMMENT
'分派时间'
AFTER
agent_user_name
;
ALTER
TABLE
mortals_agent_declare
ADD
COLUMN
`assign_user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'分配人id'
AFTER
AFTER
assign_time
;
ALTER
TABLE
mortals_agent_declare
ADD
COLUMN
`assign_user_name`
varchar
(
128
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
DEFAULT
NULL
COMMENT
'分配人名称'
AFTER
assign_user_id
;
ALTER
TABLE
mortals_agent_user
ADD
COLUMN
`customerId`
bigint
(
20
)
DEFAULT
null
COMMENT
'代办员工id'
AFTER
company_id
;
\ No newline at end of file
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