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
13908b24
Commit
13908b24
authored
Mar 03, 2021
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
923aadeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
0 deletions
+34
-0
center-order/app/base/api/impl/task/taskAction.js
+25
-0
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
+9
-0
No files found.
center-order/app/base/api/impl/task/taskAction.js
0 → 100644
View file @
13908b24
var
APIBase
=
require
(
"../../api.base"
);
var
system
=
require
(
"../../../system"
);
var
settings
=
require
(
"../../../../config/settings"
);
class
TaskAction
extends
APIBase
{
constructor
()
{
super
();
this
.
orderinfoSve
=
system
.
getObject
(
"service.dbcorder.orderinfoSve"
);
}
/**
* 接口跳转-POST请求
* action_process 执行的流程
* action_type 执行的类型
* action_body 执行的参数
*/
async
taskNeed
(
pobj
,
qobj
,
req
)
{
if
(
!
pobj
.
actionType
)
{
return
system
.
getResult
(
null
,
"actionType参数不能为空"
);
}
var
result
=
await
this
.
opActionProcess
(
pobj
,
pobj
.
actionType
,
req
);
return
result
;
}
}
module
.
exports
=
TaskAction
;
\ No newline at end of file
center-order/app/base/service/impl/dbcorder/orderinfoSve.js
View file @
13908b24
...
...
@@ -19,6 +19,15 @@ class OrderInfoService extends ServiceBase {
this
.
push360Sve
=
system
.
getObject
(
'service.common.push360Sve'
);
}
//--------------------task----------------start-------------------
async
taskSyncOrderStatus
(){
let
sql
=
"SELECT * FROM `c_order_info_fq` LIMIT 300"
;
var
this
.
dao
.
customQuery
(
sql
);
}
//--------------------task--------------ednd---------------------
//----------------------订单创建-----------start----------------
async
createOrder
(
pobj
,
orderNo
,
t
)
{
this
.
execClientNew
.
execLogs
(
"center-order-createOrder-3"
,
pobj
,
"center-order-doexecMethod-info"
,
null
,
null
);
...
...
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