Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zjxcxServer
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
zjxcxServer
Commits
ffedc165
Commit
ffedc165
authored
Feb 09, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e24ffb3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
financing.ts
src/biz/enterprise/financing.ts
+1
-2
financing.ts
src/data/enterprise/financing.ts
+18
-0
No files found.
src/biz/enterprise/financing.ts
View file @
ffedc165
...
...
@@ -123,8 +123,7 @@ export async function getAddByName(name:string) {
* @param fuHuaQiUscc 孵化器统一信用代码 实际参数是所属孵化器
* @param 行业领域 目前数据库没有该字段
* @param fuHuaQiInvestment 孵化器是否参与投资
* @param 实体孵化 目前数据库没有该字段
* @param page 页数
* @param page 页数
* @returns
*/
export
async
function
financingList
(
fuHuaQiUscc
:
string
,
fuHuaQiInvestment
:
boolean
,
page
:
number
)
{
...
...
src/data/enterprise/financing.ts
View file @
ffedc165
...
...
@@ -22,6 +22,9 @@ const financingSchema = new Schema({
fuHuaQiInvestmentStyle
:
Number
,
//孵化器投资方式
draftLock
:{
type
:
Boolean
,
default
:
false
},
//草稿锁,true为提交之后,false为草稿
createTime
:
Number
,
//录入时间
year
:
String
,
//数据年份
month
:
String
,
//数据月份
industry
:[
Number
],
//领域
});
var
financingModel
;
...
...
@@ -159,3 +162,17 @@ export async function findEnterpriseFinancingByUscc(uscc:string, taskId:string)
export
async
function
findFinancingCount
(
selectParam
)
{
return
await
financingModel
.
find
(
selectParam
).
count
();
}
export
async
function
superSelect
(
selectParam
)
{
await
financingModel
.
aggregate
([
{
'$lookup'
:{
from
:
'enterprise'
,
localField
:
''
}
}
]);
}
\ No newline at end of file
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