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
45f2656f
Commit
45f2656f
authored
Nov 16, 2020
by
兰国旗
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
laolan
parent
d0bd12e6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
87 additions
and
19 deletions
+87
-19
center-order/app/base/api/impl/action/need.js
+1
-1
center-order/app/base/api/impl/action/qcapi.js
+54
-18
center-order/app/base/db/impl/dbcorder/orderdeliveryDao.js
+8
-0
center-order/app/base/db/models/dbcorder/orderdeliveryDao.js
+24
-0
center-order/app/base/service/impl/qcutils/baseqcSve.js
+0
-0
center-order/app/base/service/impl/qcutils/ncSve.js
+0
-0
center-order/app/base/service/impl/qcutils/rtSve.js
+0
-0
No files found.
center-order/app/base/api/impl/action/need.js
View file @
45f2656f
...
...
@@ -51,7 +51,7 @@ class IcAPI extends APIBase {
opResult
=
await
this
.
needinfoSve
.
getItemByChannelSolutionNo
(
pobj
,
pobj
.
actionBody
,
req
);
break
;
case
"writeCommunicationLog"
:
//渠道方案号获取需求详情
opResult
=
await
this
.
needinfoSve
.
writeCommunicationLog
(
pobj
,
pobj
.
actionBody
,
req
);
opResult
=
await
this
.
needinfoSve
2
.
writeCommunicationLog
(
pobj
,
pobj
.
actionBody
,
req
);
break
;
case
"submitIcpIntention"
:
// 2020 0827 lin 新增 4.1 提交需求
opResult
=
await
this
.
needinfoSve
.
submitIcpIntention
(
pobj
,
pobj
.
actionBody
,
req
);
...
...
center-order/app/base/api/impl/action/qcapi.js
View file @
45f2656f
...
...
@@ -8,6 +8,8 @@ class QcAPI extends APIBase {
this
.
baiduqcSve
=
system
.
getObject
(
"service.qcutils.baiduqcSve"
);
this
.
baseqcSve
=
system
.
getObject
(
"service.qcutils.baseqcSve"
);
this
.
ncSve
=
system
.
getObject
(
"service.qcutils.ncSve"
);
this
.
rtSve
=
system
.
getObject
(
"service.qcutils.rtSve"
);
}
/**
* 接口跳转-POST请求
...
...
@@ -83,33 +85,67 @@ class QcAPI extends APIBase {
case
"receiveIcpConfirmUrl"
:
//前端关闭ICP需求及方案
opResult
=
await
this
.
aliyunqcSve
.
receiveIcpConfirmUrl
(
pobj
);
break
;
//-----------文网文-----------
case
"serviceSubmitOption"
:
//服务商提交服务操作
opResult
=
await
this
.
aliyunqcSve
.
serviceSubmitOption
(
pobj
);
// --------- 网文 ---------
case
"ncGetNeedList"
:
//查询需求列表(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncGetNeedList
(
pobj
);
break
;
case
"ncSubmitMaterial"
:
//交付材料提交(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncSubmitMaterial
(
pobj
);
break
;
case
"ncNotification"
:
//状态通知(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncNotification
(
pobj
);
break
;
case
"ncSubmitSolution"
:
//提交方案(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncSubmitSolution
(
pobj
);
break
;
case
"ncWriteCommunicationRecord"
:
//提交沟通记录(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncWriteCommunicationRecord
(
pobj
);
break
;
case
"ncGetCommunicationRecord"
:
//查询沟通记录(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncGetCommunicationRecord
(
pobj
);
break
;
case
"
submitWangwenSolution"
:
//提交方案
opResult
=
await
this
.
aliyunqcSve
.
submitWangwenSolution
(
pobj
);
case
"
ncCloseNeed"
:
//关闭需求(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncCloseNeed
(
pobj
);
break
;
case
"
closeNeed"
:
//关闭需求
opResult
=
await
this
.
aliyunqcSve
.
closeNeed
(
pobj
);
case
"
ncClosePlan"
:
//关闭方案(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncClosePlan
(
pobj
);
break
;
case
"
recordLog"
:
//提交沟通记录
opResult
=
await
this
.
aliyunqcSve
.
recordLog
(
pobj
);
case
"
ncCloseOrderDelivery"
:
//关闭交付单(网文)2020-11-11
opResult
=
await
this
.
ncSve
.
ncCloseOrderDelivery
(
pobj
);
break
;
//-----------食品-----------
case
"foodServiceSubmitOption"
:
//服务商提交服务操作
opResult
=
await
this
.
aliyunqcSve
.
foodServiceSubmitOption
(
pobj
);
// --------- 广电 ---------
case
"rtGetNeedList"
:
//查询需求列表(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtGetNeedList
(
pobj
);
break
;
case
"rtSubmitMaterial"
:
//交付材料提交(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtSubmitMaterial
(
pobj
);
break
;
case
"rtNotification"
:
//状态通知(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtNotification
(
pobj
);
break
;
case
"rtSubmitSolution"
:
//提交方案(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtSubmitSolution
(
pobj
);
break
;
case
"rtWriteCommunicationRecord"
:
//提交沟通记录(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtWriteCommunicationRecord
(
pobj
);
break
;
case
"rtGetCommunicationRecord"
:
//查询沟通记录(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtGetCommunicationRecord
(
pobj
);
break
;
case
"
submitFoodSolution"
:
//提交方案
opResult
=
await
this
.
aliyunqcSve
.
submitFoodSolution
(
pobj
);
case
"
rtCloseNeed"
:
//关闭需求(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtCloseNeed
(
pobj
);
break
;
case
"
foodCloseNeed"
:
//关闭需求
opResult
=
await
this
.
aliyunqcSve
.
foodCloseNeed
(
pobj
);
case
"
rtClosePlan"
:
//关闭方案(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtClosePlan
(
pobj
);
break
;
case
"
foodRecordLog"
:
//提交沟通记录
opResult
=
await
this
.
aliyunqcSve
.
foodRecordLog
(
pobj
);
case
"
rtCloseOrderDelivery"
:
//关闭交付单(广电)2020-11-11
opResult
=
await
this
.
rtSve
.
rtCloseOrderDelivery
(
pobj
);
break
;
case
"receiveOrderStatusNotify"
:
//接收订单状态推送 百度icp 2.3
opResult
=
await
this
.
baiduqcSve
.
receiveOrderStatusNotify
(
pobj
);
...
...
center-order/app/base/db/impl/dbcorder/orderdeliveryDao.js
0 → 100644
View file @
45f2656f
const
system
=
require
(
"../../../system"
);
const
Dao
=
require
(
"../../dao.base"
);
class
orderdeliveryDao
extends
Dao
{
constructor
(){
super
(
Dao
.
getModelName
(
orderdeliveryDao
));
}
}
module
.
exports
=
orderdeliveryDao
;
center-order/app/base/db/models/dbcorder/orderdeliveryDao.js
0 → 100644
View file @
45f2656f
const
system
=
require
(
"../../../system"
);
const
settings
=
require
(
"../../../../config/settings"
);
const
uiconfig
=
system
.
getUiConfig2
(
settings
.
appKey
);
module
.
exports
=
(
db
,
DataTypes
)
=>
{
return
db
.
define
(
"orderdelivery"
,
{
sourceOrderNo
:
DataTypes
.
STRING
(
128
),
deliveryContent
:
DataTypes
.
JSON
(),
},
{
paranoid
:
true
,
//假的删除
underscored
:
true
,
version
:
true
,
freezeTableName
:
true
,
timestamps
:
true
,
updated_at
:
true
,
//freezeTableName: true,
// define the table's name
tableName
:
'c_order_delivery'
,
validate
:
{
},
indexes
:
[
]
});
}
center-order/app/base/service/impl/qcutils/baseqcSve.js
View file @
45f2656f
This diff is collapsed.
Click to expand it.
center-order/app/base/service/impl/qcutils/ncSve.js
0 → 100644
View file @
45f2656f
This diff is collapsed.
Click to expand it.
center-order/app/base/service/impl/qcutils/rtSve.js
0 → 100644
View file @
45f2656f
This diff is collapsed.
Click to expand it.
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