Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yuyiDataServer
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
yuyiDataServer
Commits
4d5292be
Commit
4d5292be
authored
May 07, 2025
by
Zllgogo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
45b840f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
findData.ts
src/biz/findData.ts
+3
-1
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+3
-2
No files found.
src/biz/findData.ts
View file @
4d5292be
...
...
@@ -25,7 +25,9 @@ function analysisParamToWhere(param, column) {
let
group
=
""
;
let
limit
=
0
;
for
(
let
key
in
param
)
{
if
(
typeof
param
[
key
]
==
"object"
)
{
if
(
key
==
"%or%"
)
{
where
[
Op
.
or
]
=
param
[
"%or%"
];
}
else
if
(
typeof
param
[
key
]
==
"object"
)
{
where
[
key
]
=
{};
for
(
let
whereKey
in
param
[
key
]){
switch
(
whereKey
)
{
...
...
src/config/mysqlTableConfig.ts
View file @
4d5292be
...
...
@@ -79,6 +79,7 @@ export const TablesConfig = [
endTime
:
{
type
:
Sequelize
.
DATE
},
//租赁结束日期
rentFreeStart
:
{
type
:
Sequelize
.
DATE
},
//免租期开始
rentFreeEnd
:
{
type
:
Sequelize
.
DATE
},
//免租期结束
building
:
{
type
:
Sequelize
.
STRING
(
50
)},
//楼号
roomNumber
:
{
type
:
Sequelize
.
STRING
(
50
)},
//室号
rent
:
{
type
:
Sequelize
.
DECIMAL
(
18
,
2
)},
//每月租金
notes
:
{
type
:
Sequelize
.
STRING
(
255
)},
//备注
...
...
@@ -451,8 +452,8 @@ export const TablesConfig = [
shuiWuJu
:{
type
:
Sequelize
.
STRING
(
255
)},
//税务局
jingYingFanWei
:{
type
:
Sequelize
.
TEXT
},
//经营范围
//状态标识
register
:{
type
:
Sequelize
.
INTEGER
},
//
是否通过材料补充申请
0=否 1=是 2=驳回
state
:{
type
:
Sequelize
.
INTEGER
},
//
是否通过入孵审核 0=否 1=是
register
:{
type
:
Sequelize
.
INTEGER
},
//
入孵申请状态
0=否 1=是 2=驳回
state
:{
type
:
Sequelize
.
INTEGER
},
//
入孵材料审核状态 0=否 1=是 2=驳回
//临时填充信息用的验证码
randomCode
:{
type
:
Sequelize
.
STRING
(
255
)}
},
...
...
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