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
520f783b
Commit
520f783b
authored
Dec 13, 2019
by
赵庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sgb
parent
60a2bbfd
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
17 deletions
+17
-17
bpo-stat/app/base/controller/impl/all/electronicContractCtl.js
+1
-1
bpo-stat/app/base/controller/impl/all/loadCtl.js
+1
-1
bpo-stat/app/base/controller/impl/all/merchantCtl.js
+1
-1
bpo-stat/app/base/controller/impl/all/recruitCtl.js
+1
-1
bpo-stat/app/base/controller/impl/all/taxinfoCtl.js
+1
-1
bpo-stat/app/base/service/impl/all/electroniccontractSve.js
+6
-6
bpo-stat/app/base/service/impl/all/recruitSve.js
+2
-2
bpo-stat/app/base/service/impl/all/taxinfoSve.js
+2
-2
bpo-stat/app/base/service/impl/all/transactioninSve.js
+2
-2
No files found.
bpo-stat/app/base/controller/impl/all/electronicContractCtl.js
View file @
520f783b
var
system
=
require
(
"../../../system"
)
const
CtlBase
=
require
(
"../../ctl.base"
);
//电子签
class
ElectronicContractCtl
extends
CtlBase
{
constructor
()
{
super
(
"all"
,
CtlBase
.
getServiceName
(
ElectronicContractCtl
));
...
...
bpo-stat/app/base/controller/impl/all/loadCtl.js
View file @
520f783b
var
system
=
require
(
"../../../system"
)
const
CtlBase
=
require
(
"../../ctl.base"
);
//工作量
class
LoadCtl
extends
CtlBase
{
constructor
()
{
super
(
"all"
,
CtlBase
.
getServiceName
(
LoadCtl
));
...
...
bpo-stat/app/base/controller/impl/all/merchantCtl.js
View file @
520f783b
var
system
=
require
(
"../../../system"
)
const
CtlBase
=
require
(
"../../ctl.base"
);
//商户信息
class
MerchantCtl
extends
CtlBase
{
constructor
()
{
super
(
"all"
,
CtlBase
.
getServiceName
(
MerchantCtl
));
...
...
bpo-stat/app/base/controller/impl/all/recruitCtl.js
View file @
520f783b
var
system
=
require
(
"../../../system"
)
const
CtlBase
=
require
(
"../../ctl.base"
);
//招聘需求
class
RecruitCtl
extends
CtlBase
{
constructor
()
{
super
(
"all"
,
CtlBase
.
getServiceName
(
RecruitCtl
));
...
...
bpo-stat/app/base/controller/impl/all/taxinfoCtl.js
View file @
520f783b
var
system
=
require
(
"../../../system"
)
const
CtlBase
=
require
(
"../../ctl.base"
);
//完税
class
TaxinfoCtl
extends
CtlBase
{
constructor
()
{
super
(
"all"
,
CtlBase
.
getServiceName
(
TaxinfoCtl
));
...
...
bpo-stat/app/base/service/impl/all/electroniccontractSve.js
View file @
520f783b
...
...
@@ -17,17 +17,17 @@ class ElectronicContractService extends ServiceBase {
[
this
.
db
.
Op
.
like
]:
"%"
+
params
.
company_name
+
"%"
};
}
this
.
addWhereTime
(
where
,
'
begin_tim
e'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'
completed_dat
e'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
[
"id"
,
'desc'
]
];
var
attributes
=
[
`id`
,
`company_name`
,
`name`
,
`id_no`
,
`phone_no`
,
`bank_no`
,
`completed_date`
,
`file_url`
,
`sign_body`
];
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
if
(
page
&&
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
this
.
handleDate
(
row
,
[
"begin_time"
,
"invalid_time"
]);
}
}
//
if (page && page.rows) {
//
for (var row of page.rows) {
//
this.handleDate(row, ["begin_time", "invalid_time"]);
//
}
//
}
return
page
;
}
...
...
bpo-stat/app/base/service/impl/all/recruitSve.js
View file @
520f783b
...
...
@@ -17,7 +17,7 @@ class RecruitService extends ServiceBase {
[
this
.
db
.
Op
.
like
]:
"%"
+
params
.
company_name
+
"%"
};
}
this
.
addWhereTime
(
where
,
'
begin_tim
e'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'
publish_dat
e'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
[
"id"
,
'desc'
]
];
...
...
@@ -25,7 +25,7 @@ class RecruitService extends ServiceBase {
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
if
(
page
&&
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
this
.
handleDate
(
row
,
[
"
begin_time"
,
"invalid_tim
e"
]);
this
.
handleDate
(
row
,
[
"
publish_dat
e"
]);
}
}
return
page
;
...
...
bpo-stat/app/base/service/impl/all/taxinfoSve.js
View file @
520f783b
...
...
@@ -17,7 +17,7 @@ class TaxinfoService extends ServiceBase {
[
this
.
db
.
Op
.
like
]:
"%"
+
params
.
id_no
+
"%"
};
}
this
.
addWhereTime
(
where
,
'
begin
_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'
tax
_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
[
"id"
,
'desc'
]
];
...
...
@@ -25,7 +25,7 @@ class TaxinfoService extends ServiceBase {
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
if
(
page
&&
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
this
.
handleDate
(
row
,
[
"
begin_time"
,
"invalid
_time"
]);
this
.
handleDate
(
row
,
[
"
tax
_time"
]);
}
}
return
page
;
...
...
bpo-stat/app/base/service/impl/all/transactioninSve.js
View file @
520f783b
...
...
@@ -17,7 +17,7 @@ class TransactioninService extends ServiceBase {
[
this
.
db
.
Op
.
like
]:
"%"
+
params
.
company_name
+
"%"
};
}
this
.
addWhereTime
(
where
,
'
begi
n_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
this
.
addWhereTime
(
where
,
'
transactio
n_time'
,
params
.
signBegin
,
params
.
signEnd
,
true
);
var
orderby
=
[
[
"id"
,
'desc'
]
];
...
...
@@ -25,7 +25,7 @@ class TransactioninService extends ServiceBase {
var
page
=
await
this
.
getPageList
(
currentPage
,
pageSize
,
where
,
orderby
,
attributes
);
if
(
page
&&
page
.
rows
)
{
for
(
var
row
of
page
.
rows
)
{
this
.
handleDate
(
row
,
[
"
begin_time"
,
"invalid
_time"
]);
this
.
handleDate
(
row
,
[
"
transaction
_time"
]);
}
}
return
page
;
...
...
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