Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
e39a9bcf
Commit
e39a9bcf
authored
May 21, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
7c535c42
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
45 deletions
+10
-45
xggsve-order/app/base/db/models/order/obusinessmen.js
+1
-4
xggsve-order/app/base/db/models/order/oorder.js
+1
-4
xggsve-order/app/base/db/models/order/oorderdeliver.js
+1
-4
xggsve-order/app/base/db/models/order/oorderinforeg.js
+1
-4
xggsve-order/app/base/db/models/order/oorderprocess.js
+1
-5
xggsve-order/app/base/db/models/order/oorderstatus.js
+1
-4
xggsve-order/app/base/db/models/order/osource.js
+1
-5
xggsve-order/app/base/db/models/product/oprocess.js
+1
-5
xggsve-order/app/base/db/models/product/oproduct.js
+1
-5
xggsve-order/app/base/db/models/product/oproductprocess.js
+1
-5
No files found.
xggsve-order/app/base/db/models/order/obusinessmen.js
View file @
e39a9bcf
...
@@ -58,10 +58,7 @@ module.exports = function (db, DataTypes) {
...
@@ -58,10 +58,7 @@ module.exports = function (db, DataTypes) {
company_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'company_id'
,
allowNull
:
true
,
comment
:
"公司id-财务系统"
},
company_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'company_id'
,
allowNull
:
true
,
comment
:
"公司id-财务系统"
},
deliver_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_id'
,
allowNull
:
true
,
comment
:
"交付商id"
},
deliver_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_id'
,
allowNull
:
true
,
comment
:
"交付商id"
},
delier_user_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'delier_user_id'
,
allowNull
:
true
,
comment
:
"交付商用户id"
},
delier_user_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'delier_user_id'
,
allowNull
:
true
,
comment
:
"交付商用户id"
},
deliver_user_path
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_user_path'
,
allowNull
:
true
,
comment
:
"交付商组织机构path"
},
deliver_user_path
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_user_path'
,
allowNull
:
true
,
comment
:
"交付商组织机构path"
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
}
},
},
{
{
underscored
:
true
,
underscored
:
true
,
...
...
xggsve-order/app/base/db/models/order/oorder.js
View file @
e39a9bcf
...
@@ -23,10 +23,7 @@ module.exports = function (db, DataTypes) {
...
@@ -23,10 +23,7 @@ module.exports = function (db, DataTypes) {
source_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'source_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'来源订单号'
},
source_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'source_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'来源订单号'
},
contact_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'contact_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'联系电话'
},
contact_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'contact_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'联系电话'
},
customer_name
:
{
type
:
DataTypes
.
STRING
,
field
:
'customer_name'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户名称'
},
customer_name
:
{
type
:
DataTypes
.
STRING
,
field
:
'customer_name'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户名称'
},
saas_deliver_api
:
{
type
:
DataTypes
.
STRING
,
field
:
'saas_deliver_api'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'saas系统状态通知api'
},
saas_deliver_api
:
{
type
:
DataTypes
.
STRING
,
field
:
'saas_deliver_api'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'saas系统状态通知api'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
paranoid
:
true
,
//假的删除
paranoid
:
true
,
//假的删除
...
...
xggsve-order/app/base/db/models/order/oorderdeliver.js
View file @
e39a9bcf
...
@@ -19,10 +19,7 @@ module.exports = function (db, DataTypes) {
...
@@ -19,10 +19,7 @@ module.exports = function (db, DataTypes) {
deliver_mail_img
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_mail_img'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'交付商交付快递单号图片'
},
deliver_mail_img
:
{
type
:
DataTypes
.
STRING
,
field
:
'deliver_mail_img'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'交付商交付快递单号图片'
},
completed_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'completed_at'
,
allowNull
:
true
,
comment
:
'订单的完成时间'
},
completed_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'completed_at'
,
allowNull
:
true
,
comment
:
'订单的完成时间'
},
operator_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'operator_id'
,
allowNull
:
true
,
comment
:
'业务员id'
},
operator_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'operator_id'
,
allowNull
:
true
,
comment
:
'业务员id'
},
operator_path
:
{
type
:
DataTypes
.
STRING
,
field
:
'operator_path'
,
allowNull
:
true
,
comment
:
'交付商业务员组织机构path'
},
operator_path
:
{
type
:
DataTypes
.
STRING
,
field
:
'operator_path'
,
allowNull
:
true
,
comment
:
'交付商业务员组织机构path'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
timestamps
:
false
,
timestamps
:
false
,
...
...
xggsve-order/app/base/db/models/order/oorderinforeg.js
View file @
e39a9bcf
...
@@ -24,10 +24,7 @@ module.exports = function (db, DataTypes) {
...
@@ -24,10 +24,7 @@ module.exports = function (db, DataTypes) {
guest_mail_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户收件人电话'
},
guest_mail_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户收件人电话'
},
guest_mail_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户快递单号'
},
guest_mail_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户快递单号'
},
guest_mail_img
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_img'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'交付商交付快递单号图片'
},
guest_mail_img
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_mail_img'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'交付商交付快递单号图片'
},
guest_accpet_file
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_accpet_file'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户验收文件'
},
guest_accpet_file
:
{
type
:
DataTypes
.
STRING
,
field
:
'guest_accpet_file'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'客户验收文件'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
timestamps
:
false
,
timestamps
:
false
,
...
...
xggsve-order/app/base/db/models/order/oorderprocess.js
View file @
e39a9bcf
...
@@ -14,13 +14,9 @@ module.exports = function (db, DataTypes) {
...
@@ -14,13 +14,9 @@ module.exports = function (db, DataTypes) {
name2
:
{
type
:
DataTypes
.
STRING
,
field
:
'name2'
,
allowNull
:
true
,
comment
:
'状态2'
},
name2
:
{
type
:
DataTypes
.
STRING
,
field
:
'name2'
,
allowNull
:
true
,
comment
:
'状态2'
},
name3
:
{
type
:
DataTypes
.
STRING
,
field
:
'name3'
,
allowNull
:
true
,
comment
:
'状态3'
},
name3
:
{
type
:
DataTypes
.
STRING
,
field
:
'name3'
,
allowNull
:
true
,
comment
:
'状态3'
},
name4
:
{
type
:
DataTypes
.
STRING
,
field
:
'name4'
,
allowNull
:
true
,
comment
:
'状态4'
},
name4
:
{
type
:
DataTypes
.
STRING
,
field
:
'name4'
,
allowNull
:
true
,
comment
:
'状态4'
},
sort
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1000
,
comment
:
'排序'
},
sort
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1000
,
comment
:
'排序'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
},
},
},
{
{
timestamps
:
false
,
underscored
:
true
,
underscored
:
true
,
paranoid
:
true
,
paranoid
:
true
,
version
:
true
,
version
:
true
,
...
...
xggsve-order/app/base/db/models/order/oorderstatus.js
View file @
e39a9bcf
...
@@ -22,10 +22,7 @@ module.exports = function (db, DataTypes) {
...
@@ -22,10 +22,7 @@ module.exports = function (db, DataTypes) {
service_remark
:
{
type
:
DataTypes
.
STRING
,
field
:
'service_remark'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'服务信息备注'
},
service_remark
:
{
type
:
DataTypes
.
STRING
,
field
:
'service_remark'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'服务信息备注'
},
source_id
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'source_id'
,
allowNull
:
true
,
defaultValue
:
0
,
comment
:
'来源id'
},
source_id
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'source_id'
,
allowNull
:
true
,
defaultValue
:
0
,
comment
:
'来源id'
},
source_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'source_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'来源订单号'
},
source_no
:
{
type
:
DataTypes
.
STRING
,
field
:
'source_no'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'来源订单号'
},
contact_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'contact_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'联系电话'
},
contact_mobile
:
{
type
:
DataTypes
.
STRING
,
field
:
'contact_mobile'
,
allowNull
:
true
,
defaultValue
:
''
,
comment
:
'联系电话'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
paranoid
:
true
,
//假的删除
paranoid
:
true
,
//假的删除
...
...
xggsve-order/app/base/db/models/order/osource.js
View file @
e39a9bcf
...
@@ -4,13 +4,9 @@
...
@@ -4,13 +4,9 @@
*/
*/
module
.
exports
=
function
(
db
,
DataTypes
)
{
module
.
exports
=
function
(
db
,
DataTypes
)
{
return
db
.
define
(
'osource'
,
{
return
db
.
define
(
'osource'
,
{
name
:
{
type
:
DataTypes
.
STRING
,
field
:
'name'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'平台来源'
},
name
:
{
type
:
DataTypes
.
STRING
,
field
:
'name'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'平台来源'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
timestamps
:
false
,
underscored
:
true
,
underscored
:
true
,
paranoid
:
true
,
paranoid
:
true
,
version
:
true
,
version
:
true
,
...
...
xggsve-order/app/base/db/models/product/oprocess.js
View file @
e39a9bcf
...
@@ -6,13 +6,9 @@ module.exports = function (db, DataTypes) {
...
@@ -6,13 +6,9 @@ module.exports = function (db, DataTypes) {
return
db
.
define
(
'oprocess'
,
{
return
db
.
define
(
'oprocess'
,
{
name
:
{
type
:
DataTypes
.
STRING
,
field
:
'name'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'流程名称'
},
name
:
{
type
:
DataTypes
.
STRING
,
field
:
'name'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'流程名称'
},
status
:
{
type
:
DataTypes
.
STRING
,
field
:
'status'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'流程状态'
},
status
:
{
type
:
DataTypes
.
STRING
,
field
:
'status'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'流程状态'
},
product_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'product_id'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'所属产品ID'
},
product_id
:
{
type
:
DataTypes
.
STRING
,
field
:
'product_id'
,
allowNull
:
false
,
defaultValue
:
''
,
comment
:
'所属产品ID'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
}
},
},
{
{
timestamps
:
true
,
underscored
:
true
,
underscored
:
true
,
paranoid
:
true
,
paranoid
:
true
,
version
:
true
,
version
:
true
,
...
...
xggsve-order/app/base/db/models/product/oproduct.js
View file @
e39a9bcf
...
@@ -9,13 +9,9 @@ module.exports = function (db, DataTypes) {
...
@@ -9,13 +9,9 @@ module.exports = function (db, DataTypes) {
desc
:
{
type
:
DataTypes
.
STRING
(
200
),
field
:
'desc'
,
allowNull
:
false
,
defaultValue
:
""
,
comment
:
'产品描述'
},
desc
:
{
type
:
DataTypes
.
STRING
(
200
),
field
:
'desc'
,
allowNull
:
false
,
defaultValue
:
""
,
comment
:
'产品描述'
},
pid
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'pid'
,
allowNull
:
true
,
comment
:
'父ID'
},
pid
:
{
type
:
DataTypes
.
BIGINT
,
field
:
'pid'
,
allowNull
:
true
,
comment
:
'父ID'
},
is_choose
:
{
type
:
DataTypes
.
BOOLEAN
,
field
:
'is_choose'
,
allowNull
:
false
,
defaultValue
:
false
,
comment
:
'是否选择'
},
is_choose
:
{
type
:
DataTypes
.
BOOLEAN
,
field
:
'is_choose'
,
allowNull
:
false
,
defaultValue
:
false
,
comment
:
'是否选择'
},
sort
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1000
,
comment
:
'排序'
},
sort
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1000
,
comment
:
'排序'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
},
},
},
{
{
timestamps
:
false
,
underscored
:
true
,
underscored
:
true
,
paranoid
:
true
,
paranoid
:
true
,
version
:
true
,
version
:
true
,
...
...
xggsve-order/app/base/db/models/product/oproductprocess.js
View file @
e39a9bcf
...
@@ -14,13 +14,9 @@ module.exports = function (db, DataTypes) {
...
@@ -14,13 +14,9 @@ module.exports = function (db, DataTypes) {
name2
:
{
type
:
DataTypes
.
STRING
,
field
:
'name2'
,
allowNull
:
true
,
comment
:
'状态2'
},
name2
:
{
type
:
DataTypes
.
STRING
,
field
:
'name2'
,
allowNull
:
true
,
comment
:
'状态2'
},
name3
:
{
type
:
DataTypes
.
STRING
,
field
:
'name3'
,
allowNull
:
true
,
comment
:
'状态3'
},
name3
:
{
type
:
DataTypes
.
STRING
,
field
:
'name3'
,
allowNull
:
true
,
comment
:
'状态3'
},
name4
:
{
type
:
DataTypes
.
STRING
,
field
:
'name4'
,
allowNull
:
true
,
comment
:
'状态4'
},
name4
:
{
type
:
DataTypes
.
STRING
,
field
:
'name4'
,
allowNull
:
true
,
comment
:
'状态4'
},
sort
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1
,
comment
:
'排序'
},
sort
:
{
type
:
DataTypes
.
INTEGER
,
field
:
'sort'
,
allowNull
:
false
,
defaultValue
:
1
,
comment
:
'排序'
}
created_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'created_at'
,
allowNull
:
true
},
updated_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'updated_at'
,
allowNull
:
true
},
deleted_at
:
{
type
:
DataTypes
.
DATE
,
field
:
'deleted_at'
,
allowNull
:
true
},
},
},
{
{
timestamps
:
true
,
underscored
:
true
,
underscored
:
true
,
paranoid
:
true
,
paranoid
:
true
,
version
:
true
,
version
:
true
,
...
...
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