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
4d0c7116
Commit
4d0c7116
authored
Jul 01, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
de770824
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
160 additions
and
1 deletions
+160
-1
brg/app/base/api/impl/action/xboss.js
+3
-0
brg/app/base/db/impl/serviceprovider/serviceInfoDao.js
+13
-0
brg/app/base/service/impl/utilsSve/utilsXbossSve.js
+29
-1
brg/app/front/entry/public/apidoc/platform/xboss.md
+115
-0
No files found.
brg/app/base/api/impl/action/xboss.js
View file @
4d0c7116
...
...
@@ -77,6 +77,9 @@ class XBoss extends APIBase {
case
"getMaterialsInfoByOrderNum"
:
//订单-详情查询--资质证照-材料清单(固定上传项)
opResult
=
await
this
.
utilsXbossSve
.
getMaterialsInfoByOrderNum
(
pobj
);
break
;
case
"getIcMaterialsInfoByOrderNum"
:
//订单-详情查询--企业服务-材料清单(固定上传项)
opResult
=
await
this
.
utilsXbossSve
.
getIcMaterialsInfoByOrderNum
(
pobj
);
break
;
case
"getPositionInfoByOrderNum"
:
//订单-详情查询--任职信息列表
opResult
=
await
this
.
utilsXbossSve
.
getPositionInfoByOrderNum
(
pobj
);
break
;
...
...
brg/app/base/db/impl/serviceprovider/serviceInfoDao.js
View file @
4d0c7116
...
...
@@ -728,6 +728,19 @@ class ServiceInfoDao extends Dao {
var
list
=
await
this
.
customQuery
(
sql
,
params
);
return
list
;
}
/**
* Xboss系统 订单-详情查询--企业服务-材料清单(固定上传项)
*/
async
getIcMaterialsInfoByOrderNum
(
orderNum
)
{
var
params
=
{
order_num
:
orderNum
};
var
sql
=
"select json_extract(deliver_content,'$.regInfo.uploadList' ) as materialsInfo "
+
"from v_order_oproduct_odelivery where order_num = :order_num and deliver_content->'$.regInfo' is not null"
+
" and deliver_content->'$.regInfo.uploadList' is not null limit 1"
;
var
list
=
await
this
.
customQuery
(
sql
,
params
);
return
list
;
}
/**
* Xboss系统 订单-详情查询--资质证照-专项审批项目 ICP
...
...
brg/app/base/service/impl/utilsSve/utilsXbossSve.js
View file @
4d0c7116
...
...
@@ -463,7 +463,35 @@ class UtilsXbossService extends AppServiceBase {
}
return
system
.
getResultSuccess
(
returnRes
);
}
/**
* Xboss系统 订单-详情查询--企业服务-材料清单
*/
async
getIcMaterialsInfoByOrderNum
(
pobj
){
if
(
!
pobj
||
!
pobj
.
actionBody
){
return
system
.
getResultFail
(
-
100
,
"参数错误"
);
}
var
parambody
=
pobj
.
actionBody
;
if
(
!
parambody
.
orderNumber
){
return
system
.
getResultFail
(
-
101
,
"订单号不能为空"
);
}
var
returnRes
=
{
pageSize
:
10
,
//每页条数
curPage
:
1
,
//当前页数
search
:
parambody
,
orderArr
:
null
,
//排序字段
total
:
0
,
//总记录条数
rows
:
[]
};
var
list
=
await
this
.
serviceInfoDao
.
getIcMaterialsInfoByOrderNum
(
parambody
.
orderNumber
);
if
(
list
&&
list
.
length
>
0
){
var
materialsInfo
=
list
[
0
].
materialsInfo
;
if
(
materialsInfo
&&
materialsInfo
.
length
>
0
){
returnRes
.
rows
=
materialsInfo
;
returnRes
.
total
=
returnRes
.
pageSize
=
materialsInfo
.
length
;
}
}
return
system
.
getResultSuccess
(
returnRes
);
}
/**
* Xboss系统 交易流水列表
*/
...
...
brg/app/front/entry/public/apidoc/platform/xboss.md
View file @
4d0c7116
...
...
@@ -23,6 +23,7 @@
1.
[
资质证照详情-年报列表
](
#getAnnualReportByOrderNum
)
1.
[
服务商列表-筛选条件
](
#getServiceProviderList
)
1.
[
资质证照详情-专项审批项目ICP
](
#getSpecialApprovalInfoByOrderNum
)
1.
[
订单详情-材料清单
](
#getIcMaterialsInfoByOrderNum
)
## **<a name="xneedList"> 需求列表</a>**
[
返回到目录
](
#menu
)
...
...
@@ -2288,3 +2289,117 @@
}
```
## **<a name="getIcMaterialsInfoByOrderNum"> 订单详情-材料清单</a>**
[
返回到目录
](
#menu
)
##### URL
[
/api/action/xboss/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 功能模块 actionType:getIcMaterialsInfoByOrderNum
#### 参数说明
| 参数名 | 必填 | 类型 | 描述 |
| ---- | ---- | ---- | ---- |
| orderNumber | 是 | string | 订单号 |
#### 参数示例
```
javascript
{
"actionType"
:
"getIcMaterialsInfoByOrderNum"
,
"actionBody"
:
{
"orderNumber"
:
"1593153605061"
}
}
```
#### 返回结果
```
javascript
{
"retcode"
:
0
,
"msg"
:
"success"
,
"data"
:
{
"pageSize"
:
14
,
"curPage"
:
1
,
"search"
:
{
"orderNumber"
:
"1593153605061"
},
"orderArr"
:
null
,
"total"
:
14
,
"rows"
:
[
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"产权证"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/58799c90-b93d-11ea-b2e1-0f5e06f8765f.png"
},
{
"name"
:
"7d923d6107.jpg"
,
"title"
:
"自然人股东证件1"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/60b798d0-b93d-11ea-b2e1-0f5e06f8765f.jpg"
},
{
"name"
:
"201808231213594946.jpg.w1920.h1200.jpg"
,
"title"
:
"自然人股东证件3"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/636f65d0-b93d-11ea-b2e1-0f5e06f8765f.jpg"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"法人股东证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/7edc2910-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"执行董事证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/8166f2a0-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"经理证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/83a60d30-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"监事证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/85dfa980-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"购票人"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/8820e6f0-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"办税人"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/8a9fa290-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"财务负责人"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/8c469bd0-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"秘书联系人"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/8f00d9d0-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"社保缴费经办人证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/91133f10-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"公积金缴费经办人"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/93478430-b93e-11ea-8f48-c19fa4240063.png"
},
{
"name"
:
"2020-06-28 12-03-59 的屏幕截图.png"
,
"title"
:
"自然人股东证件"
,
"viewUrl"
:
"http://test-1258715722.cos.ap-beijing.myqcloud.com/materials/9530dda0-b93e-11ea-8f48-c19fa4240063.png"
}
]
},
"requestId"
:
"e0941220-b93f-11ea-b106-dd08809fb42f"
}
```
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