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
53443732
Commit
53443732
authored
Jan 07, 2020
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
8b463fd1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
149 additions
and
12 deletions
+149
-12
xggsve-order/app/base/db/impl/order/obusinessmen.js
+10
-0
xggsve-order/app/base/db/impl/order/oorderDao.js
+10
-0
xggsve-order/app/base/db/impl/order/oorderdeliverDao.js
+9
-0
xggsve-order/app/base/db/impl/order/oorderinforegDao.js
+10
-0
xggsve-order/app/base/db/impl/order/oorderprocessDao.js
+11
-0
xggsve-order/app/base/service/impl/order/obusinessmenSve.js
+15
-0
xggsve-order/app/base/service/impl/order/oorderSve.js
+15
-0
xggsve-order/app/base/service/impl/order/oorderdeliverSve.js
+14
-0
xggsve-order/app/base/service/impl/order/oorderinforegSve.js
+15
-0
xggsve-order/app/base/service/impl/order/oorderprocessSve.js
+14
-0
xggsve-order/app/base/service/impl/order/oproductSve.js
+12
-12
xggsve-order/app/base/service/impl/order/oproductprocessSve.js
+14
-0
No files found.
xggsve-order/app/base/db/impl/order/obusinessmen.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
ObusinessmenDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
ObusinessmenDao
));
}
}
module
.
exports
=
ObusinessmenDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/oorderDao.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
OorderDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
OorderDao
));
}
}
module
.
exports
=
OorderDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/oorderdeliverDao.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
OorderdeliverDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
OorderdeliverDao
));
}
}
module
.
exports
=
OorderdeliverDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/oorderinforegDao.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
OorderinforegDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
OorderinforegDao
));
}
}
module
.
exports
=
OorderinforegDao
;
\ No newline at end of file
xggsve-order/app/base/db/impl/order/oorderprocessDao.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
OorderprocessDao
extends
Dao
{
constructor
()
{
super
(
Dao
.
getModelName
(
OorderprocessDao
));
}
}
module
.
exports
=
OorderprocessDao
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/obusinessmenSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 个体户
*/
class
ObusinessmenService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
ObusinessmenService
));
}
}
module
.
exports
=
ObusinessmenService
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/oorderSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 订单产品表
*/
class
OorderService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
OorderService
));
}
}
module
.
exports
=
OorderService
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/oorderdeliverSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 订单交付
*/
class
OorderdeliverService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
OorderdeliverService
));
}
}
module
.
exports
=
OorderdeliverService
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/oorderinforegSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 订单产品表
*/
class
OorderinforegService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
OorderinforegService
));
}
}
module
.
exports
=
OorderinforegService
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/oorderprocessSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 订单产品表
*/
class
OorderprocessService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
OorderprocessService
));
}
}
module
.
exports
=
OorderprocessService
;
\ No newline at end of file
xggsve-order/app/base/service/impl/order/oproductSve.js
View file @
53443732
...
...
@@ -34,22 +34,22 @@ class OproductService extends ServiceBase {
}
async
setOrderStatus
(
orderList
)
{
//
async setOrderStatus(orderList) {
var
productIds
=
[];
var
statues
=
[];
//
var productIds = [];
//
var statues = [];
list
=
SELECT
*
FROM
o_product_process
WHERE
product_id
IN
(:
productIds
)
AND
statues
IN
(:
statues
)
//
list = SELECT * FROM o_product_process WHERE product_id IN(: productIds) AND statues IN(: statues)
var
map
=
{};
for
(
var
item
of
list
)
{
map
[
item
.
product_id
+
"_"
+
item
.
status
]
=
item
;
}
//
var map = {};
//
for (var item of list) {
//
map[item.product_id + "_" + item.status] = item;
//
}
for
(
var
order
of
orderList
)
{
order
.
status
=
map
[
order
.
product_id
+
"_"
+
order
.
status
]
||
{};
}
}
//
for (var order of orderList) {
//
order.status = map[order.product_id + "_" + order.status] || {};
//
}
//
}
...
...
xggsve-order/app/base/service/impl/order/oproductprocessSve.js
0 → 100644
View file @
53443732
const
system
=
require
(
"../../../system"
);
const
ServiceBase
=
require
(
"../../sve.base"
)
/**
* 订单产品表
*/
class
OproductprocessService
extends
ServiceBase
{
constructor
()
{
super
(
"order"
,
ServiceBase
.
getDaoName
(
OproductprocessService
));
}
}
module
.
exports
=
OproductprocessService
;
\ 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