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
20e9c204
Commit
20e9c204
authored
Feb 09, 2023
by
孙香冬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
a79ab03d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
10 deletions
+9
-10
enterprise.ts
src/biz/enterprise/enterprise.ts
+3
-3
financing.ts
src/biz/enterprise/financing.ts
+1
-1
month.ts
src/biz/fuHuqQi/month.ts
+1
-1
ojbectResultKeyConfig.ts
src/config/ojbectResultKeyConfig.ts
+0
-1
enterprise.ts
src/data/enterprise/enterprise.ts
+1
-0
fuhuaqi.ts
src/data/fuHuaQi/fuhuaqi.ts
+3
-4
No files found.
src/biz/enterprise/enterprise.ts
View file @
20e9c204
...
@@ -137,16 +137,16 @@ export async function deleteEnterpriseByUscc(uscc:string) {
...
@@ -137,16 +137,16 @@ export async function deleteEnterpriseByUscc(uscc:string) {
/**
/**
* 获取在孵企业信息列表
* 获取在孵企业信息列表
* @param time 新注册时间/迁入时间
* @param time 新注册时间/迁入时间
* @param
fuHuaQiUscc 孵化器统一信用代码 实际参数是所属孵化器
* @param
belongToIncubator 所属孵化器
* @param industry 行业领域
* @param industry 行业领域
* @param isNaturalPersonHolding 自然人控股
* @param isNaturalPersonHolding 自然人控股
* @param page 页数
* @param page 页数
* @returns
* @returns
*/
*/
export
async
function
enterpriseList
(
time
:
number
,
fuHuaQiUscc
:
string
,
industry
:
number
,
isNaturalPersonHolding
:
boolean
,
page
:
number
)
{
export
async
function
enterpriseList
(
time
:
number
,
belongToIncubator
:
number
,
industry
:
number
,
isNaturalPersonHolding
:
boolean
,
page
:
number
)
{
let
selectParam
:
any
=
{};
let
selectParam
:
any
=
{};
if
(
time
)
selectParam
.
logonTime
=
time
;
selectParam
.
timeOfImmigration
=
time
;
if
(
time
)
selectParam
.
logonTime
=
time
;
selectParam
.
timeOfImmigration
=
time
;
if
(
fuHuaQiUscc
)
selectParam
.
fuHuaQiUscc
=
fuHuaQiUscc
;
if
(
belongToIncubator
)
selectParam
.
belongToIncubator
=
belongToIncubator
;
if
(
industry
)
selectParam
.
industry
=
industry
;
if
(
industry
)
selectParam
.
industry
=
industry
;
if
(
isNaturalPersonHolding
)
selectParam
.
isNaturalPersonHolding
=
isNaturalPersonHolding
;
if
(
isNaturalPersonHolding
)
selectParam
.
isNaturalPersonHolding
=
isNaturalPersonHolding
;
...
...
src/biz/enterprise/financing.ts
View file @
20e9c204
...
@@ -126,7 +126,7 @@ export async function getAddByName(name:string) {
...
@@ -126,7 +126,7 @@ export async function getAddByName(name:string) {
* @param page 页数
* @param page 页数
* @returns
* @returns
*/
*/
export
async
function
financingList
(
month
:
string
,
belongToIncubator
:
string
,
industry
:
string
,
fuHuaQiInvestment
:
boolean
,
page
:
number
)
{
export
async
function
financingList
(
month
:
string
,
belongToIncubator
:
number
,
industry
:
string
,
fuHuaQiInvestment
:
boolean
,
page
:
number
)
{
let
selectParam
:
any
=
{};
let
selectParam
:
any
=
{};
if
(
month
)
selectParam
.
month
=
month
;
if
(
month
)
selectParam
.
month
=
month
;
if
(
belongToIncubator
)
selectParam
.
belongToIncubator
=
belongToIncubator
;
if
(
belongToIncubator
)
selectParam
.
belongToIncubator
=
belongToIncubator
;
...
...
src/biz/fuHuqQi/month.ts
View file @
20e9c204
...
@@ -127,7 +127,7 @@ async function getCompleted(selectParam, page) {
...
@@ -127,7 +127,7 @@ async function getCompleted(selectParam, page) {
/**
/**
* 根据uscc查询
任务信息
* 根据uscc查询
月度报表
* @param uscc 企业统一信用代码
* @param uscc 企业统一信用代码
*/
*/
export
async
function
getMonthByUscc
(
uscc
:
string
)
{
export
async
function
getMonthByUscc
(
uscc
:
string
)
{
...
...
src/config/ojbectResultKeyConfig.ts
View file @
20e9c204
...
@@ -113,6 +113,5 @@ export const MonthListConfig = {
...
@@ -113,6 +113,5 @@ export const MonthListConfig = {
name
:{
key
:
"任务名称"
},
name
:{
key
:
"任务名称"
},
fuHuaQiUscc
:{
key
:
"任务所属孵化器id"
},
fuHuaQiUscc
:{
key
:
"任务所属孵化器id"
},
occupancyRate
:{
key
:
"出租率"
},
occupancyRate
:{
key
:
"出租率"
},
liaisonPhone
:{
key
:
"负责人"
},
createTime
:{
key
:
"创建时间"
},
createTime
:{
key
:
"创建时间"
},
}
}
src/data/enterprise/enterprise.ts
View file @
20e9c204
...
@@ -23,6 +23,7 @@ const enterpriseSchema = new Schema({
...
@@ -23,6 +23,7 @@ const enterpriseSchema = new Schema({
leasedArea
:
Number
,
//租赁面积(平方米)
leasedArea
:
Number
,
//租赁面积(平方米)
draftLock
:{
type
:
Boolean
,
default
:
false
},
//草稿锁,true为提交之后,false为草稿
draftLock
:{
type
:
Boolean
,
default
:
false
},
//草稿锁,true为提交之后,false为草稿
createTime
:
Number
,
//录入时间
createTime
:
Number
,
//录入时间
belongToIncubator
:[
Number
],
//所属孵化器
});
});
var
enterpriseModel
;
var
enterpriseModel
;
...
...
src/data/fuHuaQi/fuhuaqi.ts
View file @
20e9c204
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
import
{
Schema
}
from
'mongoose'
;
import
{
Schema
}
from
'mongoose'
;
import
{
baseDB
}
from
'../../db/dbInit'
;
import
{
baseDB
}
from
'../../db/dbInit'
;
import
*
as
hatchingGroundData
from
'./hatchingGround'
;
const
fuHuaQiSchema
=
new
Schema
({
const
fuHuaQiSchema
=
new
Schema
({
name
:
{
type
:
String
,
index
:
true
},
//名称
name
:
{
type
:
String
,
index
:
true
},
//名称
...
@@ -21,15 +22,13 @@ const fuHuaQiSchema = new Schema({
...
@@ -21,15 +22,13 @@ const fuHuaQiSchema = new Schema({
acreagePersonalUse
:
Number
,
//孵化器自用面积(㎡)
acreagePersonalUse
:
Number
,
//孵化器自用面积(㎡)
lv
:
Number
,
//孵化器级别
lv
:
Number
,
//孵化器级别
identificationTime
:
Number
,
//认定时间
identificationTime
:
Number
,
//认定时间
industry
:[
Number
],
//领域
industry
:[
Number
],
//
孵化
领域
institutionalNature
:
Number
,
//机构性质
institutionalNature
:
Number
,
//机构性质
liaison
:
String
,
//联系人
liaison
:
String
,
//联系人
liaisonPhone
:
String
,
//联系电话
liaisonPhone
:
String
,
//联系电话
personInCharge
:
String
,
//负责人
personInCharge
:
String
,
//负责人
personInChargePhone
:
String
,
//负责人联系电话
personInChargePhone
:
String
,
//负责人联系电话
personInChargeAdd
:
String
,
//孵化场地地址
hatchingGround
:{
type
:[
hatchingGroundData
.
hatchingGroundSchema
]},
//经备案孵化场地
siteAcreage
:
Number
,
//孵化场地面积(㎡)
leasePrice
:
Number
,
//孵化场地出租单价
/**登录相关 */
/**登录相关 */
pwd
:
String
,
//登录密码
pwd
:
String
,
//登录密码
token
:{
type
:
String
,
index
:
true
},
token
:{
type
:
String
,
index
:
true
},
...
...
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