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
640a7bb0
Commit
640a7bb0
authored
Dec 05, 2019
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
5eccea73
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
241 additions
and
3 deletions
+241
-3
.gitignore
+3
-0
xggsve-order/.gitignore
+3
-3
xggsve-order/app/base/db/models/order/basedeliver.js
+67
-0
xggsve-order/app/base/db/models/order/baseorder.js
+58
-0
xggsve-order/app/base/db/models/order/iborderdk.js
+55
-0
xggsve-order/app/base/db/models/order/iborderdz.js
+55
-0
No files found.
.gitignore
0 → 100644
View file @
640a7bb0
node_modules/
.idea/*
\ No newline at end of file
xggsve-order/.gitignore
View file @
640a7bb0
node_modules/
node_modules/
../.idea/
../.idea/*
idea/
.idea/*
\ No newline at end of file
\ No newline at end of file
xggsve-order/app/base/db/models/order/basedeliver.js
0 → 100644
View file @
640a7bb0
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborderdeliver"
,
{
order_id
:
DataTypes
.
STRING
(
32
),
// 办理状态 1030待处理, 1040关闭订单, 1050执照办理中, 1060已出执照, 1070刻章办理中,
// 1080已刻章, 1090银行开户中, 1100银行卡已开户, 1110税务报道中, 1120已税务报道,
// 1130提交审核, 1140审核失败, 1150审核通过, 1160已邮寄
status
:
DataTypes
.
STRING
(
10
),
deliver_id
:
DataTypes
.
STRING
(
32
),
deliverName
:
DataTypes
.
STRING
(
50
),
deliverDivide
:
DataTypes
.
BIGINT
,
auditRemark
:
DataTypes
.
STRING
,
content
:
DataTypes
.
STRING
,
addressee
:
DataTypes
.
STRING
,
mobile
:
DataTypes
.
STRING
,
addr
:
DataTypes
.
STRING
,
auditUser
:
DataTypes
.
STRING
,
auditResult
:
DataTypes
.
STRING
,
breakReason
:
DataTypes
.
STRING
(
300
),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_order_deliver'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
// {
// unique: true,
// fields: ['email']
// },
//
// // Creates a gin index on data with the jsonb_path_ops operator
// {
// fields: ['data'],
// using: 'gin',
// operator: 'jsonb_path_ops'
// },
//
// // By default index name will be [table]_[fields]
// // Creates a multi column partial index
// {
// name: 'public_by_author',
// fields: ['author', 'status'],
// where: {
// status: 'public'
// }
// },
//
// // A BTREE index with a ordered field
// {
// name: 'title_index',
// method: 'BTREE',
// fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
// }
]
});
}
\ No newline at end of file
xggsve-order/app/base/db/models/order/baseorder.js
0 → 100644
View file @
640a7bb0
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborder"
,
{
merchant_id
:
DataTypes
.
STRING
(
32
),
businessmen_id
:
DataTypes
.
STRING
(
32
),
channelNo
:
DataTypes
.
STRING
(
32
),
thirdNo
:
DataTypes
.
STRING
(
32
),
productType
:
DataTypes
.
INTEGER
,
bdId
:
DataTypes
.
STRING
,
bdPath
:
DataTypes
.
STRING
,
price
:
DataTypes
.
BIGINT
,
status
:
DataTypes
.
STRING
,
remark
:
DataTypes
.
STRING
,
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_base_order'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
// {
// unique: true,
// fields: ['email']
// },
//
// // Creates a gin index on data with the jsonb_path_ops operator
// {
// fields: ['data'],
// using: 'gin',
// operator: 'jsonb_path_ops'
// },
//
// // By default index name will be [table]_[fields]
// // Creates a multi column partial index
// {
// name: 'public_by_author',
// fields: ['author', 'status'],
// where: {
// status: 'public'
// }
// },
//
// // A BTREE index with a ordered field
// {
// name: 'title_index',
// method: 'BTREE',
// fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
// }
]
});
}
\ No newline at end of file
xggsve-order/app/base/db/models/order/iborderdk.js
0 → 100644
View file @
640a7bb0
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborderdk"
,
{
merchant_id
:
DataTypes
.
STRING
(
32
),
businessmen_id
:
DataTypes
.
STRING
(
32
),
orderpay_id
:
DataTypes
.
STRING
(
32
),
price
:
DataTypes
.
BIGINT
,
status
:
DataTypes
.
STRING
,
notes
:
DataTypes
.
STRING
,
orderDeliverId
:
DataTypes
.
STRING
(
32
),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_orderdk'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
// {
// unique: true,
// fields: ['email']
// },
//
// // Creates a gin index on data with the jsonb_path_ops operator
// {
// fields: ['data'],
// using: 'gin',
// operator: 'jsonb_path_ops'
// },
//
// // By default index name will be [table]_[fields]
// // Creates a multi column partial index
// {
// name: 'public_by_author',
// fields: ['author', 'status'],
// where: {
// status: 'public'
// }
// },
//
// // A BTREE index with a ordered field
// {
// name: 'title_index',
// method: 'BTREE',
// fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
// }
]
});
}
\ No newline at end of file
xggsve-order/app/base/db/models/order/iborderdz.js
0 → 100644
View file @
640a7bb0
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborderdz"
,
{
merchant_id
:
DataTypes
.
STRING
(
32
),
businessmen_id
:
DataTypes
.
STRING
(
32
),
orderpay_id
:
DataTypes
.
STRING
(
32
),
price
:
DataTypes
.
BIGINT
,
status
:
DataTypes
.
STRING
,
notes
:
DataTypes
.
STRING
,
orderDeliverId
:
DataTypes
.
STRING
(
32
),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_orderdz'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
// {
// unique: true,
// fields: ['email']
// },
//
// // Creates a gin index on data with the jsonb_path_ops operator
// {
// fields: ['data'],
// using: 'gin',
// operator: 'jsonb_path_ops'
// },
//
// // By default index name will be [table]_[fields]
// // Creates a multi column partial index
// {
// name: 'public_by_author',
// fields: ['author', 'status'],
// where: {
// status: 'public'
// }
// },
//
// // A BTREE index with a ordered field
// {
// name: 'title_index',
// method: 'BTREE',
// fields: ['author', {attribute: 'title', collate: 'en_US', order: 'DESC', length: 5}]
// }
]
});
}
\ 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