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
7b3a0086
Commit
7b3a0086
authored
Dec 05, 2019
by
王昆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
f7250598
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
221 additions
and
7 deletions
+221
-7
xggsve-order/app/base/db/impl/order/ibdeliverbaseDao.js
+11
-0
xggsve-order/app/base/db/impl/order/iborderbaseDao.js
+10
-0
xggsve-order/app/base/db/impl/order/iborderdkDao.js
+10
-0
xggsve-order/app/base/db/impl/order/iborderdkdeliverDao.js
+10
-0
xggsve-order/app/base/db/impl/order/iborderdzDao.js
+11
-0
xggsve-order/app/base/db/models/order/ibdeliverbase.js
+54
-0
xggsve-order/app/base/db/models/order/iborderbase.js
+2
-2
xggsve-order/app/base/db/models/order/iborderdk.js
+10
-0
xggsve-order/app/base/db/models/order/iborderdkdeliver.js
+2
-5
xggsve-order/app/base/db/models/order/iborderdz.js
+11
-0
xggsve-order/app/base/service/impl/order/ibdeliverbaseSve.js
+18
-0
xggsve-order/app/base/service/impl/order/iborderbaseSve.js
+17
-0
xggsve-order/app/base/service/impl/order/iborderdkSve.js
+18
-0
xggsve-order/app/base/service/impl/order/iborderdkdeliverSve.js
+18
-0
xggsve-order/app/base/service/impl/order/iborderdzSve.js
+19
-0
No files found.
xggsve-order/app/base/db/impl/order/ibdeliverbaseDao.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
IbdeliverbaseDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
IbdeliverbaseDao
));
this
.
statusMap
=
{};
}
}
module
.
exports
=
IbdeliverbaseDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/iborderbaseDao.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
IborderbaseDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
IborderbaseDao
));
this
.
statusMap
=
{};
}
}
module
.
exports
=
IborderbaseDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/iborderdkDao.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
IborderdkDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
IborderdkDao
));
this
.
statusMap
=
{};
}
}
module
.
exports
=
IborderdkDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/iborderdkdeliverDao.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
IborderdkdeliverDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
IborderdkdeliverDao
));
this
.
statusMap
=
{};
}
}
module
.
exports
=
IborderdkdeliverDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/iborderdzDao.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
IborderdzDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
IborderdzDao
));
this
.
statusMap
=
{};
}
}
module
.
exports
=
IborderdzDao
;
\ No newline at end of file
xggsve-order/app/base/db/models/order/ibdeliverbase.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"deliverbase"
,
{
order_id
:
DataTypes
.
STRING
(
32
),
// 1注册订单 2代开订单 3代账订单
productType
:
DataTypes
.
INTEGER
,
deliver_id
:
DataTypes
.
STRING
(
32
),
deliverName
:
DataTypes
.
STRING
(
50
),
deliverDivide
:
DataTypes
.
BIGINT
,
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_deliverbase'
,
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
→
xggsve-order/app/base/db/models/order/
iborderbase
.js
View file @
7b3a0086
...
...
@@ -2,7 +2,7 @@ const system = require("../../../system");
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborder"
,
{
return
db
.
define
(
"iborder
base
"
,
{
merchant_id
:
DataTypes
.
STRING
(
32
),
businessmen_id
:
DataTypes
.
STRING
(
32
),
channelNo
:
DataTypes
.
STRING
(
32
),
...
...
@@ -20,7 +20,7 @@ module.exports = (db, DataTypes) => {
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_
base_order
'
,
tableName
:
'ib_
orderbase
'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
...
...
xggsve-order/app/base/db/models/order/iborderdk.js
View file @
7b3a0086
...
...
@@ -10,6 +10,16 @@ module.exports = (db, DataTypes) => {
status
:
DataTypes
.
STRING
,
notes
:
DataTypes
.
STRING
,
orderDeliverId
:
DataTypes
.
STRING
(
32
),
legalName
:
DataTypes
.
STRING
(
20
),
legalMobile
:
DataTypes
.
STRING
(
20
),
names
:
DataTypes
.
STRING
(
300
),
creditCode
:
DataTypes
.
STRING
(
100
),
isBank
:
{
type
:
DataTypes
.
BOOLEAN
,
defaultValue
:
false
},
businessScope
:
DataTypes
.
STRING
(
500
),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
...
...
xggsve-order/app/base/db/models/order/
base
deliver.js
→
xggsve-order/app/base/db/models/order/
iborderdk
deliver.js
View file @
7b3a0086
...
...
@@ -2,11 +2,8 @@ const system = require("../../../system");
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"iborderdeliver"
,
{
return
db
.
define
(
"iborderd
kd
eliver"
,
{
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
),
...
...
@@ -29,7 +26,7 @@ module.exports = (db, DataTypes) => {
freezeTableName
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'ib_order_deliver'
,
tableName
:
'ib_order
dk
_deliver'
,
validate
:
{},
indexes
:
[
// Create a unique index on email
...
...
xggsve-order/app/base/db/models/order/iborderdz.js
View file @
7b3a0086
...
...
@@ -10,6 +10,17 @@ module.exports = (db, DataTypes) => {
status
:
DataTypes
.
STRING
,
notes
:
DataTypes
.
STRING
,
orderDeliverId
:
DataTypes
.
STRING
(
32
),
legalName
:
DataTypes
.
STRING
(
20
),
legalMobile
:
DataTypes
.
STRING
(
20
),
names
:
DataTypes
.
STRING
(
300
),
creditCode
:
DataTypes
.
STRING
(
100
),
isBank
:
{
type
:
DataTypes
.
BOOLEAN
,
defaultValue
:
false
},
businessScope
:
DataTypes
.
STRING
(
500
),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
...
...
xggsve-order/app/base/service/impl/order/ibdeliverbaseSve.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
const
moment
=
require
(
"moment"
);
class
IbdeliverbaseService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
IbdeliverbaseService
));
}
}
module
.
exports
=
IbdeliverbaseService
;
// var task=new UserService();
// task.getUserStatisticGroupByApp().then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
\ No newline at end of file
xggsve-order/app/base/service/impl/order/iborderbaseSve.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
const
moment
=
require
(
"moment"
);
class
IborderbaseService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
IborderbaseService
));
}
}
module
.
exports
=
IborderbaseService
;
// var task=new UserService();
// task.getUserStatisticGroupByApp().then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
\ No newline at end of file
xggsve-order/app/base/service/impl/order/iborderdkSve.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
const
moment
=
require
(
"moment"
);
class
IborderdkService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
IborderdkService
));
}
}
module
.
exports
=
IborderdkService
;
// var task=new UserService();
// task.getUserStatisticGroupByApp().then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
\ No newline at end of file
xggsve-order/app/base/service/impl/order/iborderdkdeliverSve.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
const
moment
=
require
(
"moment"
);
class
IborderdkdeliverService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
IborderdkdeliverService
));
}
}
module
.
exports
=
IborderdkdeliverService
;
// var task=new UserService();
// task.getUserStatisticGroupByApp().then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
\ No newline at end of file
xggsve-order/app/base/service/impl/order/iborderdzSve.js
0 → 100644
View file @
7b3a0086
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
const
settings
=
require
(
"../../../../config/settings"
)
const
moment
=
require
(
"moment"
);
class
IborderdzService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
IborderdzService
));
}
}
module
.
exports
=
IborderdzService
;
// var task=new UserService();
// task.getUserStatisticGroupByApp().then(function(result){
// console.log((result));
// }).catch(function(e){
// console.log(e);
// });
\ 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