Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yafangsuo_adminServer
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
yafangsuo_adminServer
Commits
2aea4838
Commit
2aea4838
authored
Sep 07, 2023
by
lixinming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
4ad94462
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
branchSystem.ts
src/biz/branchSystem.ts
+0
-1
operationalData.ts
src/data/operationalData.ts
+11
-1
No files found.
src/biz/branchSystem.ts
View file @
2aea4838
...
@@ -119,7 +119,6 @@ export async function getBranchSystemInfo(userInfo, bsId) {
...
@@ -119,7 +119,6 @@ export async function getBranchSystemInfo(userInfo, bsId) {
throw
new
BizError
(
ERRORENUM
.
权限不足
,
`
${
userInfo
.
userId
}${
funName
}
但是制度范围不包含他所在的支部`
);
throw
new
BizError
(
ERRORENUM
.
权限不足
,
`
${
userInfo
.
userId
}${
funName
}
但是制度范围不包含他所在的支部`
);
}
}
return
{
title
:
dataInfo
.
systemTitle
,
branch
};
return
{
title
:
dataInfo
.
systemTitle
,
branch
};
}
}
...
...
src/data/operationalData.ts
View file @
2aea4838
...
@@ -66,7 +66,17 @@ export async function selectData(url, tableName, param, column, pageNumber?, pa
...
@@ -66,7 +66,17 @@ export async function selectData(url, tableName, param, column, pageNumber?, pa
}
}
/**
* 多表联查
* @param url
* @param tableName
* @param param
* @param column
* @param includeConf
* @param pageNumber
* @param pageSize
* @returns
*/
export
async
function
selectManyTableData
(
url
,
tableName
,
param
,
column
,
includeConf
,
pageNumber
?,
pageSize
?)
{
export
async
function
selectManyTableData
(
url
,
tableName
,
param
,
column
,
includeConf
,
pageNumber
?,
pageSize
?)
{
if
(
url
!=
OPERATIONALDATATYPE
.
多表联查
&&
url
!=
OPERATIONALDATATYPE
.
多表分页
)
{
if
(
url
!=
OPERATIONALDATATYPE
.
多表联查
&&
url
!=
OPERATIONALDATATYPE
.
多表分页
)
{
throw
new
BizError
(
ERRORENUM
.
该方法仅可进行联合查询操作
,
'该方法仅可进行联合查询操作'
);
throw
new
BizError
(
ERRORENUM
.
该方法仅可进行联合查询操作
,
'该方法仅可进行联合查询操作'
);
...
...
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