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
5c9e8a25
Commit
5c9e8a25
authored
Dec 03, 2019
by
孙亚楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
2fc0231c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
156 additions
and
83 deletions
+156
-83
xggsve-invoice/app/base/db/impl/invoice/delivererDao.js
+119
-36
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
+37
-47
No files found.
xggsve-invoice/app/base/db/impl/invoice/delivererDao.js
View file @
5c9e8a25
...
@@ -4,37 +4,37 @@ class DelivererDao extends Dao {
...
@@ -4,37 +4,37 @@ class DelivererDao extends Dao {
constructor
()
{
constructor
()
{
super
(
Dao
.
getModelName
(
DelivererDao
));
super
(
Dao
.
getModelName
(
DelivererDao
));
this
.
statusMap
=
{
this
.
statusMap
=
{
"0090"
:
"未付款"
,
"0090"
:
"未付款"
,
"1000"
:
"待审核"
,
"1000"
:
"待审核"
,
"1010"
:
"审核不通过"
,
"1010"
:
"审核不通过"
,
"1020"
:
"待分配"
,
"1020"
:
"待分配"
,
"1030"
:
"待处理"
,
"1030"
:
"待处理"
,
"1040"
:
"交付商关闭"
,
"1040"
:
"交付商关闭"
,
"1050"
:
"已开具"
,
"1050"
:
"已开具"
,
"1060"
:
"待审核"
,
"1060"
:
"待审核"
,
"1070"
:
"审核通过"
,
"1070"
:
"审核通过"
,
"1080"
:
"已邮寄"
,
"1080"
:
"已邮寄"
,
"1090"
:
"完成"
,
"1090"
:
"完成"
,
"1100"
:
"发票撤回"
,
"1100"
:
"发票撤回"
,
"1200"
:
"红冲"
,
"1200"
:
"红冲"
,
"1300"
:
"审核失败(平台第二次审核)"
"1300"
:
"审核失败(平台第二次审核)"
};
};
this
.
customerMap
=
{
this
.
customerMap
=
{
"0090"
:
"未付款"
,
"0090"
:
"未付款"
,
"1000"
:
"待审核"
,
"1000"
:
"待审核"
,
"1030"
:
"待处理"
,
"1030"
:
"待处理"
,
"1050"
:
"已开具"
,
"1050"
:
"已开具"
,
"1090"
:
"完成"
"1090"
:
"完成"
};
};
this
.
deliverMap
=
{
this
.
deliverMap
=
{
"1030"
:
"待处理"
,
"1030"
:
"待处理"
,
"1040"
:
"交付商关闭"
,
"1040"
:
"交付商关闭"
,
"1050"
:
"已开具"
,
"1050"
:
"已开具"
,
"1060"
:
"待审核"
,
"1060"
:
"待审核"
,
"1080"
:
"已邮寄"
,
"1080"
:
"已邮寄"
,
"1300"
:
"审核失败(平台第二次审核)"
"1300"
:
"审核失败(平台第二次审核)"
}
}
}
}
...
@@ -46,8 +46,8 @@ class DelivererDao extends Dao {
...
@@ -46,8 +46,8 @@ class DelivererDao extends Dao {
var
list
=
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
var
list
=
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
return
{
return
{
total
:
list
.
length
||
0
,
total
:
list
.
length
||
0
,
list
:
list
list
:
list
};
};
}
}
...
@@ -65,7 +65,7 @@ class DelivererDao extends Dao {
...
@@ -65,7 +65,7 @@ class DelivererDao extends Dao {
sql
.
push
(
"SELECT"
);
sql
.
push
(
"SELECT"
);
sql
.
push
(
"b.id, b.deliverer_id, b.deliverer_name,sum(b.deliverer_amount) as totalAmount"
);
sql
.
push
(
"b.id, b.deliverer_id, b.deliverer_name,sum(b.deliverer_amount) as totalAmount"
);
sql
.
push
(
"FROM invoice_deliverer b inner join invoice_apply a on a.deliverer_id=b.id "
);
sql
.
push
(
"FROM invoice_deliverer b inner join invoice_apply a on a.deliverer_id=b.id "
);
sql
.
push
(
"WHERE 1 = 1 and b.deliverer_id in ("
+
params
.
list
+
")"
);
sql
.
push
(
"WHERE 1 = 1 and b.deliverer_id in ("
+
params
.
list
+
")"
);
if
(
params
.
begin
)
{
if
(
params
.
begin
)
{
sql
.
push
(
"AND b.created_at >= :begin"
);
sql
.
push
(
"AND b.created_at >= :begin"
);
...
@@ -89,7 +89,7 @@ class DelivererDao extends Dao {
...
@@ -89,7 +89,7 @@ class DelivererDao extends Dao {
sql
.
push
(
"FROM `invoice_apply` a inner join `invoice_deliverer` b on a.deliverer_id=b.id"
);
sql
.
push
(
"FROM `invoice_apply` a inner join `invoice_deliverer` b on a.deliverer_id=b.id"
);
sql
.
push
(
"WHERE 1 = 1"
);
sql
.
push
(
"WHERE 1 = 1"
);
if
(
params
.
delivererIds
)
{
if
(
params
.
delivererIds
)
{
sql
.
push
(
"AND a.deliverer_id IN (:delivererIds)"
)
sql
.
push
(
"AND a.deliverer_id IN (:delivererIds)"
)
}
}
if
(
params
.
begin
)
{
if
(
params
.
begin
)
{
...
@@ -113,7 +113,7 @@ class DelivererDao extends Dao {
...
@@ -113,7 +113,7 @@ class DelivererDao extends Dao {
}
}
//按天来计算(交付商)
//按天来计算(交付商)
async
delStatDayByTime
(
begin
,
end
,
delivererId
)
{
async
delStatDayByTime
(
begin
,
end
,
delivererId
)
{
var
result
=
{};
var
result
=
{};
var
sql
=
[];
var
sql
=
[];
sql
.
push
(
"SELECT"
);
sql
.
push
(
"SELECT"
);
...
@@ -124,7 +124,7 @@ class DelivererDao extends Dao {
...
@@ -124,7 +124,7 @@ class DelivererDao extends Dao {
var
params
=
{
var
params
=
{
begin
:
begin
,
begin
:
begin
,
end
:
end
,
end
:
end
,
delivererId
:
delivererId
delivererId
:
delivererId
};
};
if
(
begin
)
{
if
(
begin
)
{
sql
.
push
(
"AND created_at >= :begin"
);
sql
.
push
(
"AND created_at >= :begin"
);
...
@@ -148,7 +148,7 @@ class DelivererDao extends Dao {
...
@@ -148,7 +148,7 @@ class DelivererDao extends Dao {
}
}
//安月来计算(交付商)
//安月来计算(交付商)
async
delStatMonthByTime
(
begin
,
end
,
delivererId
)
{
async
delStatMonthByTime
(
begin
,
end
,
delivererId
)
{
var
result
=
{};
var
result
=
{};
var
sql
=
[];
var
sql
=
[];
sql
.
push
(
"SELECT"
);
sql
.
push
(
"SELECT"
);
...
@@ -192,7 +192,7 @@ class DelivererDao extends Dao {
...
@@ -192,7 +192,7 @@ class DelivererDao extends Dao {
}
}
async
delStatInvoiceByTime
(
begin
,
end
,
delivererId
)
{
async
delStatInvoiceByTime
(
begin
,
end
,
delivererId
)
{
var
sql
=
[];
var
sql
=
[];
sql
.
push
(
"SELECT"
);
sql
.
push
(
"SELECT"
);
sql
.
push
(
"COUNT(1) AS invoiceCount, SUM(deliverer_amount) AS delivererAmount"
);
sql
.
push
(
"COUNT(1) AS invoiceCount, SUM(deliverer_amount) AS delivererAmount"
);
...
@@ -202,7 +202,7 @@ class DelivererDao extends Dao {
...
@@ -202,7 +202,7 @@ class DelivererDao extends Dao {
var
params
=
{
var
params
=
{
begin
:
begin
,
begin
:
begin
,
end
:
end
,
end
:
end
,
delivererId
:
delivererId
delivererId
:
delivererId
};
};
if
(
begin
)
{
if
(
begin
)
{
sql
.
push
(
"AND created_at >= :begin"
);
sql
.
push
(
"AND created_at >= :begin"
);
...
@@ -255,14 +255,97 @@ class DelivererDao extends Dao {
...
@@ -255,14 +255,97 @@ class DelivererDao extends Dao {
var
result
=
{};
var
result
=
{};
var
list
=
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
var
list
=
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
if
(
!
list
||
list
.
length
==
0
)
{
if
(
!
list
||
list
.
length
==
0
)
{
return
result
;
return
result
;
}
}
for
(
var
item
of
list
)
{
for
(
var
item
of
list
)
{
result
[
item
.
status
]
=
item
.
invoiceCount
||
0
;
result
[
item
.
status
]
=
item
.
invoiceCount
||
0
;
}
}
return
result
;
return
result
;
}
}
/**
* 发票申请表(交付商)
*/
async
countApplyByParams
(
params
)
{
let
sql
=
[];
sql
.
push
(
`select count(1) as count from invoice_deliverer b inner join invoice_apply a
on b.id = a.deliverer_id inner join invoice c on c.id = b.invoice_id where 1=1 `
);
this
.
setParams
(
sql
,
params
);
return
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
}
/**
* 发票列表(交付商)
*/
async
countInvoiceByParams
(
params
)
{
let
sql
=
[];
sql
.
push
(
`select count(1) as count from invoice_apply a inner join invoice c on a.id=c.id
inner join invoice_deliverer b on a.deliverer_id = b.id where 1=1 `
);
this
.
setParams
(
sql
,
params
);
if
(
params
.
status
)
{
sql
.
push
(
`and c.status = :status`
);
}
else
{
sql
.
push
(
` and c.status in('1070','1080','1090')`
);
}
return
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
}
/**
* 发票申请列表
* @param {*} params
*/
async
delivererApplyInvoices
(
params
)
{
let
sql
=
[];
sql
.
push
(
`select a.id, a.apply_no,a.type,a.invoice_amount,a.invoice_time,c.status,a.merchant_name,a.businessmen_name
from invoice_deliverer b inner join invoice_apply a on b.id = a.deliverer_id
inner join invoice c on c.id = b.invoice_id where 1=1 `
);
this
.
setInvoiceParams
(
sql
,
params
);
sql
.
push
(
`order by id desc limit
${
params
.
statRow
}
,
${
params
.
pageSize
}
`
);
return
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
}
/**
* 发票列表
* @param {*} params
*/
async
delivererInvoices
(
params
)
{
let
sql
=
[];
sql
.
push
(
`select a.id, a.apply_no,a.type,c.invoice_no,c.invoice_time,a.invoice_amount,a.merchant_id,a.merchant_name,
a.merchant_credit_code,a.merchant_addr,a.merchant_mobile,a.merchant_bank,a.merchant_account,a.businessmen_id,
a.businessmen_credit_code,a.businessmen_name,a.businessmen_addr,a.businessmen_mobile,a.businessmen_bank,
a.businessmen_account,a.is_bank,a.tax_authoritioes,a.is_invalid,c.complate_tax, c.status,c.red_status from invoice_apply a
inner join invoice c on a.id=c.id inner join invoice_deliverer b on b.id = a.deliverer_id where 1=1 `
);
this
.
setParams
(
sql
,
params
);
if
(
params
.
status
)
{
sql
.
push
(
` and c.status = :status`
);
}
else
{
sql
.
push
(
` and c.status in('1070','1080','1090')`
);
}
sql
.
push
(
`order by id desc limit
${
params
.
statRow
}
,
${
params
.
pageSize
}
`
);
return
await
this
.
customQuery
(
sql
.
join
(
" "
),
params
);
}
setParams
(
sql
,
params
)
{
if
(
params
.
delivererId
)
{
sql
.
push
(
` AND b.deliverer_id = :delivererId`
);
}
if
(
params
.
applyNo
)
{
sql
.
push
(
` AND a.apply_no = :applyNo`
);
}
if
(
params
.
startTime
)
{
sql
.
push
(
`and a.invoice_time >= :startTime`
);
}
if
(
params
.
endTime
)
{
sql
.
push
(
`and a.invoice_time <= :endTime`
);
}
if
(
params
.
invoiceTime
){
sql
.
push
(
`and a.invoice_time >= :invoiceTime`
);
}
if
(
params
.
type
)
{
sql
.
push
(
`and a.type = :type`
);
}
}
}
}
module
.
exports
=
DelivererDao
;
module
.
exports
=
DelivererDao
;
xggsve-invoice/app/base/service/impl/invoice/delivererSve.js
View file @
5c9e8a25
...
@@ -611,42 +611,38 @@ class DelivererService extends ServiceBase {
...
@@ -611,42 +611,38 @@ class DelivererService extends ServiceBase {
*/
*/
async
delivererApplyInvoices
(
params
)
{
async
delivererApplyInvoices
(
params
)
{
try
{
try
{
// if (!params.delivererId) { return system.getResult({ rows: 0, data: {} }); }
if
(
params
.
delivererId
)
{
// let where = `where b.deliverer_id = ${this.trim(params.delivererId)}`
;
params
.
delivererId
=
this
.
trim
(
params
.
delivererId
)
;
let
where
=
"where 1=1 "
;
}
if
(
this
.
trim
(
params
.
applyNo
))
{
if
(
this
.
trim
(
params
.
applyNo
))
{
where
+=
` and a.apply_no='
${
this
.
trim
(
params
.
applyNo
)}
'`
;
params
.
applyNo
=
this
.
trim
(
params
.
applyNo
)
;
}
}
if
(
this
.
trim
(
params
.
invoiceTime
))
{
if
(
this
.
trim
(
params
.
invoiceTime
))
{
where
+=
`and a.invoice_time>='
${
this
.
trim
(
params
.
invoiceTime
)}
'`
;
params
.
invoiceTime
=
this
.
trim
(
params
.
invoiceTime
);
}
if
(
this
.
trim
(
params
.
startTime
))
{
params
.
startTime
=
this
.
trim
(
params
.
startTime
);
}
if
(
this
.
trim
(
params
.
endTime
))
{
params
.
endTime
=
this
.
trim
(
params
.
endTime
);
}
}
if
(
this
.
trim
(
params
.
type
))
{
if
(
this
.
trim
(
params
.
type
))
{
where
+=
`and a.type='
${
this
.
trim
(
params
.
type
)}
'`
;
params
.
type
=
this
.
trim
(
params
.
type
)
;
}
}
if
(
this
.
trim
(
params
.
status
))
{
if
(
this
.
trim
(
params
.
status
))
{
where
+=
`and c.status='
${
this
.
trim
(
params
.
status
)}
'`
;
params
.
status
=
this
.
trim
(
params
.
status
)
;
}
}
params
.
statRow
=
(
Number
(
this
.
trim
(
params
.
pageIndex
))
-
1
)
*
Number
(
this
.
trim
(
params
.
pageSize
));
params
.
statRow
=
(
Number
(
this
.
trim
(
params
.
pageIndex
))
-
1
)
*
Number
(
this
.
trim
(
params
.
pageSize
));
if
(
params
.
statRow
<=
0
)
{
params
.
statRow
=
0
;
}
if
(
params
.
statRow
<=
0
)
{
params
.
statRow
=
0
;
}
params
.
pageSize
=
Number
(
this
.
trim
(
params
.
pageSize
))
<=
0
?
10
:
Number
(
this
.
trim
(
params
.
pageSize
));
params
.
pageSize
=
Number
(
this
.
trim
(
params
.
pageSize
))
<=
0
?
10
:
Number
(
this
.
trim
(
params
.
pageSize
));
let
countSql
=
""
;
let
total
=
await
this
.
dao
.
countApplyByParams
(
params
);
countSql
=
countSql
+
"select count(1) as count "
;
countSql
=
countSql
+
"from invoice_deliverer b "
;
countSql
=
countSql
+
"inner join invoice_apply a on b.invoice_id = a.id "
;
countSql
=
countSql
+
"inner join invoice c on c.id = b.invoice_id "
;
countSql
=
countSql
+
where
;
let
total
=
await
this
.
customQuery
(
countSql
);
if
(
total
[
0
].
count
==
0
)
{
if
(
total
[
0
].
count
==
0
)
{
return
{
rows
:
[],
count
:
0
}
return
{
rows
:
[],
count
:
0
}
}
}
let
dataSql
=
`select a.id, a.apply_no,a.type,a.invoice_amount,a.invoice_time,c.status,a.merchant_name,a.businessmen_name
let
rows
=
await
this
.
dao
.
delivererApplyInvoices
(
params
);
from invoice_deliverer b inner join invoice_apply a on b.invoice_id = a.id
inner join invoice c on c.id = b.invoice_id
${
where
}
`
dataSql
+=
`order by id desc limit
${
params
.
statRow
}
,
${
params
.
pageSize
}
`
;
let
rows
=
await
this
.
customQuery
(
dataSql
);
for
(
let
item
of
rows
)
{
for
(
let
item
of
rows
)
{
if
(
item
.
type
==
"10"
)
{
if
(
item
.
type
==
"10"
)
{
item
.
type
=
"普通发票"
;
item
.
type
=
"普通发票"
;
...
@@ -744,49 +740,43 @@ class DelivererService extends ServiceBase {
...
@@ -744,49 +740,43 @@ class DelivererService extends ServiceBase {
* @param {*} params
* @param {*} params
*/
*/
async
delInvs
(
params
)
{
async
delInvs
(
params
)
{
let
where
=
''
;
// if (this.trim(params.delivererId)) {
if
(
params
.
delivererId
)
{
// where += `and deliverer_id = '${this.trim(params.delivererId)}`
;
params
.
delivererId
=
this
.
trim
(
params
.
delivererId
)
;
//
}
}
if
(
this
.
trim
(
params
.
applyNo
))
{
if
(
this
.
trim
(
params
.
applyNo
))
{
where
+=
` and a.apply_no='
${
this
.
trim
(
params
.
applyNo
)}
'`
;
params
.
applyNo
=
this
.
trim
(
params
.
applyNo
)
;
}
}
if
(
this
.
trim
(
params
.
invoiceTime
))
{
if
(
this
.
trim
(
params
.
invoiceTime
))
{
where
+=
`and a.invoice_time >= '
${
this
.
trim
(
params
.
invoiceTime
)}
'`
;
params
.
invoiceTime
=
this
.
trim
(
params
.
invoiceTime
);
}
if
(
this
.
trim
(
params
.
startTime
))
{
params
.
startTime
=
this
.
trim
(
params
.
startTime
);
}
if
(
this
.
trim
(
params
.
endTime
))
{
params
.
endTime
=
this
.
trim
(
params
.
endTime
);
}
}
if
(
this
.
trim
(
params
.
type
))
{
if
(
this
.
trim
(
params
.
type
))
{
where
+=
` and a.type='
${
this
.
trim
(
params
.
type
)}
'`
;
params
.
type
=
this
.
trim
(
params
.
type
)
;
}
}
if
(
this
.
trim
(
params
.
status
))
{
if
(
this
.
trim
(
params
.
status
))
{
where
+=
`and b.status = '
${
this
.
trim
(
params
.
status
)}
'`
;
params
.
status
=
this
.
trim
(
params
.
status
);
}
else
{
where
+=
`and b.status in('1070','1080','1090')`
;
}
}
if
(
this
.
trim
(
params
.
complateTax
)
==
"1"
||
this
.
trim
(
params
.
complateTax
)
==
"0"
)
{
if
(
this
.
trim
(
params
.
complateTax
)
==
"1"
||
this
.
trim
(
params
.
complateTax
)
==
"0"
)
{
where
+=
` and b.complate_tax='
${
this
.
trim
(
params
.
complateTax
)}
'`
;
params
.
complateTax
=
this
.
trim
(
params
.
complateTax
)
;
}
}
if
(
this
.
trim
(
params
.
redStatus
))
{
if
(
this
.
trim
(
params
.
redStatus
))
{
where
+=
` and b.red_status='
${
this
.
trim
(
params
.
redStatus
)}
'`
;
params
.
red_status
=
this
.
trim
(
params
.
red_status
)
;
}
}
params
.
statRow
=
(
Number
(
this
.
trim
(
params
.
pageIndex
))
-
1
)
*
Number
(
this
.
trim
(
params
.
pageSize
));
params
.
statRow
=
(
Number
(
this
.
trim
(
params
.
pageIndex
))
-
1
)
*
Number
(
this
.
trim
(
params
.
pageSize
));
if
(
params
.
statRow
<=
0
)
{
params
.
statRow
=
0
;
}
if
(
params
.
statRow
<=
0
)
{
params
.
statRow
=
0
;
}
params
.
pageSize
=
Number
(
this
.
trim
(
params
.
pageSize
))
<=
0
?
10
:
Number
(
this
.
trim
(
params
.
pageSize
));
params
.
pageSize
=
Number
(
this
.
trim
(
params
.
pageSize
))
<=
0
?
10
:
Number
(
this
.
trim
(
params
.
pageSize
));
try
{
try
{
let
sql
=
`select count(1) as total from invoice_apply a inner join invoice b on a.id=b.id where 1=1
${
where
}
`
;
//查总数
let
total
=
await
this
.
customQuery
(
sql
);
let
total
=
await
this
.
dao
.
countInvoiceByParams
(
params
);
//查列表信息
// let sqlData=`select a.apply_no,a.type,a.invoice_amount,a.invoice_time,b.status,a.merchant_name,a.businessmen_name,a.id from invoice_apply a, invoice b where 1=1 ` ;
let
rows
=
await
this
.
dao
.
delivererInvoices
(
params
);
let
sqlData
=
`select a.id, a.apply_no,a.type,b.invoice_no,b.invoice_time,a.invoice_amount,a.merchant_id,a.merchant_name,
a.merchant_credit_code,a.merchant_addr,a.merchant_mobile,a.merchant_bank,a.merchant_account,a.businessmen_id,
a.businessmen_credit_code,a.businessmen_name,a.businessmen_addr,a.businessmen_mobile,a.businessmen_bank,
a.businessmen_account,a.is_bank,a.tax_authoritioes,a.is_invalid,b.complate_tax, b.status,b.red_status from invoice_apply a
inner join invoice b on a.id=b.id where 1=1 `
;
if
(
where
)
{
sqlData
+=
`
${
where
}
`
;
}
sqlData
+=
` limit
${
params
.
statRow
}
,
${
params
.
pageSize
}
`
;
let
rows
=
await
this
.
customQuery
(
sqlData
);
for
(
let
item
of
rows
)
{
for
(
let
item
of
rows
)
{
if
(
item
.
type
==
10
)
{
if
(
item
.
type
==
10
)
{
item
.
type
=
'普通发票'
;
item
.
type
=
'普通发票'
;
...
@@ -812,7 +802,7 @@ class DelivererService extends ServiceBase {
...
@@ -812,7 +802,7 @@ class DelivererService extends ServiceBase {
this
.
handleDate
(
item
,
[
"invoice_time"
],
"YYYY-MM-DD HH:mm:ss"
,
-
8
);
this
.
handleDate
(
item
,
[
"invoice_time"
],
"YYYY-MM-DD HH:mm:ss"
,
-
8
);
this
.
dao
.
setRowCodeName
(
item
,
"status"
);
this
.
dao
.
setRowCodeName
(
item
,
"status"
);
}
}
let
res
=
{
count
:
total
[
0
].
total
,
rows
:
rows
};
let
res
=
{
count
:
total
[
0
].
count
,
rows
:
rows
};
return
system
.
getResult
(
res
);
return
system
.
getResult
(
res
);
}
catch
(
error
)
{
}
catch
(
error
)
{
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
return
system
.
getResult
(
null
,
`系统错误 错误信息
${
error
}
`
);
...
...
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