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
2b6f9c32
Commit
2b6f9c32
authored
Jan 16, 2025
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
1c0767de
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
findData.ts
src/biz/findData.ts
+1
-1
mysqlTableConfig.ts
src/config/mysqlTableConfig.ts
+3
-0
No files found.
src/biz/findData.ts
View file @
2b6f9c32
...
...
@@ -57,7 +57,7 @@ function analysisParamToWhere(param, column) {
where
[
key
][
Op
.
notIn
]
=
param
[
key
][
"%notIn%"
];
break
;
case
"%ne%"
:
where
[
key
][
Op
.
ne
]
=
param
[
key
][
"%n
otIn
%"
];
where
[
key
][
Op
.
ne
]
=
param
[
key
][
"%n
e
%"
];
break
;
}
}
...
...
src/config/mysqlTableConfig.ts
View file @
2b6f9c32
...
...
@@ -24,6 +24,9 @@ export const TablesConfig = [
personCharge
:
{
type
:
Sequelize
.
STRING
(
255
)},
//负责人
phone
:
{
type
:
Sequelize
.
STRING
(
255
)},
//手机号码
synopsis
:
{
type
:
Sequelize
.
STRING
(
255
)},
//简介
totalArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//总面积
zaifuArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//在孵面积
ziyonArea
:
{
type
:
Sequelize
.
STRING
(
255
)},
//自用面积
},
association
:
[]
},
...
...
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