Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
ac20ccde
Commit
ac20ccde
authored
Nov 22, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数拦截
parent
e857ef32
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
270 additions
and
3 deletions
+270
-3
bsoft-api/src/main/java/com/bsoft/api/common/handlers/GlobalExceptionHandler.java
+0
-2
bsoft-api/src/main/java/com/bsoft/api/controller/ExcelController.java
+1
-1
bsoft-api/src/main/java/com/bsoft/api/model/DicDim.java
+11
-0
bsoft-api/src/main/java/com/bsoft/api/model/DicInd.java
+17
-0
bsoft-api/src/main/java/com/bsoft/api/model/DicOrg.java
+16
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerBlock.java
+14
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerDimValue.java
+12
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
+15
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerDiseaseDocRs.java
+15
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerPage.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerPageBlockRs.java
+14
-0
bsoft-api/src/main/java/com/bsoft/api/model/SerPageDimRs.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysMenu.java
+12
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysOrg.java
+19
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysProject.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysRole.java
+14
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysRoleMenuRs.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysUser.java
+19
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysUserMenuRs.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysUserOrgRs.java
+13
-0
bsoft-api/src/main/java/com/bsoft/api/model/SysUserRoleRs.java
+10
-0
bsoft-api/src/main/java/com/bsoft/api/service/Impl/SerDiseaseServiceImpl.java
+3
-0
No files found.
bsoft-api/src/main/java/com/bsoft/api/common/handlers/GlobalExceptionHandler.java
View file @
ac20ccde
...
@@ -4,8 +4,6 @@ import com.bsoft.api.common.Result;
...
@@ -4,8 +4,6 @@ import com.bsoft.api.common.Result;
import
com.bsoft.api.common.exceptions.DBConfigurationError
;
import
com.bsoft.api.common.exceptions.DBConfigurationError
;
import
com.bsoft.api.common.exceptions.ExceptionBase
;
import
com.bsoft.api.common.exceptions.ExceptionBase
;
import
com.bsoft.api.common.exceptions.InvalidTokenException
;
import
com.bsoft.api.common.exceptions.InvalidTokenException
;
import
com.bsoft.common.utils.HttpUtil
;
import
com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.validation.BindingResult
;
import
org.springframework.validation.BindingResult
;
...
...
bsoft-api/src/main/java/com/bsoft/api/controller/ExcelController.java
View file @
ac20ccde
...
@@ -26,7 +26,7 @@ public class ExcelController {
...
@@ -26,7 +26,7 @@ public class ExcelController {
private
ExcelService
excelService
;
private
ExcelService
excelService
;
@PostMapping
(
"export"
)
@PostMapping
(
"export"
)
@Token
//
@Token
@ApiOperation
(
"将Table转换为Xls"
)
@ApiOperation
(
"将Table转换为Xls"
)
public
Object
tableToXls
(
HttpServletRequest
request
,
@RequestBody
ExportReq
info
){
public
Object
tableToXls
(
HttpServletRequest
request
,
@RequestBody
ExportReq
info
){
String
tableStr
=
StringEscapeUtils
.
unescapeHtml4
(
info
.
getTabaleStr
());
String
tableStr
=
StringEscapeUtils
.
unescapeHtml4
(
info
.
getTabaleStr
());
...
...
bsoft-api/src/main/java/com/bsoft/api/model/DicDim.java
View file @
ac20ccde
...
@@ -42,4 +42,14 @@ public class DicDim {
...
@@ -42,4 +42,14 @@ public class DicDim {
public
void
setDimType
(
Long
dimType
)
{
public
void
setDimType
(
Long
dimType
)
{
this
.
dimType
=
dimType
;
this
.
dimType
=
dimType
;
}
}
@Override
public
String
toString
()
{
return
"DicDim{"
+
"id="
+
id
+
", dimName='"
+
dimName
+
'\''
+
", dimField='"
+
dimField
+
'\''
+
", dimType="
+
dimType
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/DicInd.java
View file @
ac20ccde
...
@@ -102,4 +102,20 @@ public class DicInd {
...
@@ -102,4 +102,20 @@ public class DicInd {
public
void
setDescribe
(
String
describe
)
{
public
void
setDescribe
(
String
describe
)
{
this
.
describe
=
describe
;
this
.
describe
=
describe
;
}
}
@Override
public
String
toString
()
{
return
"DicInd{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", indCode='"
+
indCode
+
'\''
+
", indName='"
+
indName
+
'\''
+
", indField='"
+
indField
+
'\''
+
", computeMode="
+
computeMode
+
", execSql='"
+
execSql
+
'\''
+
", describe='"
+
describe
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/DicOrg.java
View file @
ac20ccde
...
@@ -92,4 +92,19 @@ public class DicOrg {
...
@@ -92,4 +92,19 @@ public class DicOrg {
public
void
setParentId
(
Long
parentId
)
{
public
void
setParentId
(
Long
parentId
)
{
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
}
}
@Override
public
String
toString
()
{
return
"DicOrg{"
+
"id="
+
id
+
", orgCode='"
+
orgCode
+
'\''
+
", orgName='"
+
orgName
+
'\''
+
", orgNo='"
+
orgNo
+
'\''
+
", orgShortName='"
+
orgShortName
+
'\''
+
", orgGroup='"
+
orgGroup
+
'\''
+
", orgType='"
+
orgType
+
'\''
+
", orgAddress='"
+
orgAddress
+
'\''
+
", parentId="
+
parentId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerBlock.java
View file @
ac20ccde
...
@@ -72,4 +72,17 @@ public class SerBlock {
...
@@ -72,4 +72,17 @@ public class SerBlock {
public
void
setReturnType
(
Short
returnType
)
{
public
void
setReturnType
(
Short
returnType
)
{
this
.
returnType
=
returnType
;
this
.
returnType
=
returnType
;
}
}
@Override
public
String
toString
()
{
return
"SerBlock{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", blockCode='"
+
blockCode
+
'\''
+
", blockName='"
+
blockName
+
'\''
+
", returnType="
+
returnType
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerDimValue.java
View file @
ac20ccde
...
@@ -63,6 +63,18 @@ public class SerDimValue {
...
@@ -63,6 +63,18 @@ public class SerDimValue {
this
.
dimId
=
dimId
;
this
.
dimId
=
dimId
;
}
}
@Override
public
String
toString
()
{
return
"SerDimValue{"
+
"id="
+
id
+
", orgId="
+
orgId
+
", itemName='"
+
itemName
+
'\''
+
", itemValue='"
+
itemValue
+
'\''
+
", date="
+
date
+
", dimId="
+
dimId
+
'}'
;
}
public
enum
Dim_Type
{
public
enum
Dim_Type
{
DATABASE
(
1
,
"需要从数据获取数据"
),
NODATA
(
0
,
"无所获取"
),;
DATABASE
(
1
,
"需要从数据获取数据"
),
NODATA
(
0
,
"无所获取"
),;
...
...
bsoft-api/src/main/java/com/bsoft/api/model/SerDisease.java
View file @
ac20ccde
...
@@ -94,4 +94,18 @@ public class SerDisease {
...
@@ -94,4 +94,18 @@ public class SerDisease {
this
.
orgName
=
orgName
;
this
.
orgName
=
orgName
;
}
}
@Override
public
String
toString
()
{
return
"SerDisease{"
+
"id="
+
id
+
", mdcCode='"
+
mdcCode
+
'\''
+
", mdcName='"
+
mdcName
+
'\''
+
", date="
+
date
+
", mdcNum="
+
mdcNum
+
", parentId="
+
parentId
+
", level="
+
level
+
", orgId="
+
orgId
+
", orgName='"
+
orgName
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerDiseaseDocRs.java
View file @
ac20ccde
...
@@ -82,4 +82,18 @@ public class SerDiseaseDocRs {
...
@@ -82,4 +82,18 @@ public class SerDiseaseDocRs {
public
void
setDeptName
(
String
deptName
)
{
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
this
.
deptName
=
deptName
;
}
}
@Override
public
String
toString
()
{
return
"SerDiseaseDocRs{"
+
"id="
+
id
+
", orgId="
+
orgId
+
", docCode='"
+
docCode
+
'\''
+
", docName='"
+
docName
+
'\''
+
", mdcCode='"
+
mdcCode
+
'\''
+
", date="
+
date
+
", deptCode='"
+
deptCode
+
'\''
+
", deptName='"
+
deptName
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerPage.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SerPage {
...
@@ -62,4 +62,16 @@ public class SerPage {
public
void
setPageName
(
String
pageName
)
{
public
void
setPageName
(
String
pageName
)
{
this
.
pageName
=
pageName
;
this
.
pageName
=
pageName
;
}
}
@Override
public
String
toString
()
{
return
"SerPage{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", pageCode='"
+
pageCode
+
'\''
+
", pageName='"
+
pageName
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerPageBlockRs.java
View file @
ac20ccde
...
@@ -72,4 +72,17 @@ public class SerPageBlockRs {
...
@@ -72,4 +72,17 @@ public class SerPageBlockRs {
public
void
setPageId
(
Long
pageId
)
{
public
void
setPageId
(
Long
pageId
)
{
this
.
pageId
=
pageId
;
this
.
pageId
=
pageId
;
}
}
@Override
public
String
toString
()
{
return
"SerPageBlockRs{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", blockId="
+
blockId
+
", pageId="
+
pageId
+
", whereClause='"
+
whereClause
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SerPageDimRs.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SerPageDimRs {
...
@@ -62,4 +62,16 @@ public class SerPageDimRs {
public
void
setPageId
(
Long
pageId
)
{
public
void
setPageId
(
Long
pageId
)
{
this
.
pageId
=
pageId
;
this
.
pageId
=
pageId
;
}
}
@Override
public
String
toString
()
{
return
"SerPageDimRs{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", dimId="
+
dimId
+
", pageId="
+
pageId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysMenu.java
View file @
ac20ccde
...
@@ -63,4 +63,15 @@ public class SysMenu {
...
@@ -63,4 +63,15 @@ public class SysMenu {
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
}
}
@Override
public
String
toString
()
{
return
"SysMenu{"
+
"id="
+
id
+
", projectId="
+
projectId
+
", menuName='"
+
menuName
+
'\''
+
", menuUrl='"
+
menuUrl
+
'\''
+
", menuImage='"
+
menuImage
+
'\''
+
", parentId="
+
parentId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysOrg.java
View file @
ac20ccde
...
@@ -122,4 +122,22 @@ public class SysOrg {
...
@@ -122,4 +122,22 @@ public class SysOrg {
public
void
setParentId
(
Long
parentId
)
{
public
void
setParentId
(
Long
parentId
)
{
this
.
parentId
=
parentId
;
this
.
parentId
=
parentId
;
}
}
@Override
public
String
toString
()
{
return
"SysOrg{"
+
"id="
+
id
+
", createData="
+
createData
+
", createUserid='"
+
createUserid
+
'\''
+
", state="
+
state
+
", orgCode='"
+
orgCode
+
'\''
+
", orgName='"
+
orgName
+
'\''
+
", orgNo='"
+
orgNo
+
'\''
+
", orgShortName='"
+
orgShortName
+
'\''
+
", orgGroup='"
+
orgGroup
+
'\''
+
", orgType='"
+
orgType
+
'\''
+
", orgAddress='"
+
orgAddress
+
'\''
+
", parentId="
+
parentId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysProject.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SysProject {
...
@@ -62,4 +62,16 @@ public class SysProject {
public
void
setProjectName
(
String
projectName
)
{
public
void
setProjectName
(
String
projectName
)
{
this
.
projectName
=
projectName
;
this
.
projectName
=
projectName
;
}
}
@Override
public
String
toString
()
{
return
"SysProject{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", projectCode='"
+
projectCode
+
'\''
+
", projectName='"
+
projectName
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysRole.java
View file @
ac20ccde
...
@@ -72,4 +72,17 @@ public class SysRole {
...
@@ -72,4 +72,17 @@ public class SysRole {
public
void
setRoleCode
(
Long
roleCode
)
{
public
void
setRoleCode
(
Long
roleCode
)
{
this
.
roleCode
=
roleCode
;
this
.
roleCode
=
roleCode
;
}
}
@Override
public
String
toString
()
{
return
"SysRole{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", roleName='"
+
roleName
+
'\''
+
", projectId="
+
projectId
+
", roleCode="
+
roleCode
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysRoleMenuRs.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SysRoleMenuRs {
...
@@ -62,4 +62,16 @@ public class SysRoleMenuRs {
public
void
setRoleId
(
Long
roleId
)
{
public
void
setRoleId
(
Long
roleId
)
{
this
.
roleId
=
roleId
;
this
.
roleId
=
roleId
;
}
}
@Override
public
String
toString
()
{
return
"SysRoleMenuRs{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", menuId="
+
menuId
+
", roleId="
+
roleId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysUser.java
View file @
ac20ccde
...
@@ -514,4 +514,22 @@ public class SysUser {
...
@@ -514,4 +514,22 @@ public class SysUser {
public
void
setLastIp
(
String
lastIp
)
{
public
void
setLastIp
(
String
lastIp
)
{
this
.
lastIp
=
lastIp
;
this
.
lastIp
=
lastIp
;
}
}
@Override
public
String
toString
()
{
return
"SysUser{"
+
"id="
+
id
+
", userCode='"
+
userCode
+
'\''
+
", userName='"
+
userName
+
'\''
+
", password='"
+
password
+
'\''
+
", idcard='"
+
idcard
+
'\''
+
", sex='"
+
sex
+
'\''
+
", mobile='"
+
mobile
+
'\''
+
", pageCount="
+
pageCount
+
", errorCount="
+
errorCount
+
", errorTime="
+
errorTime
+
", lastTime="
+
lastTime
+
", lastIp='"
+
lastIp
+
'\''
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysUserMenuRs.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SysUserMenuRs {
...
@@ -62,4 +62,16 @@ public class SysUserMenuRs {
public
void
setMenuId
(
Long
menuId
)
{
public
void
setMenuId
(
Long
menuId
)
{
this
.
menuId
=
menuId
;
this
.
menuId
=
menuId
;
}
}
@Override
public
String
toString
()
{
return
"SysUserMenuRs{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", userId="
+
userId
+
", menuId="
+
menuId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysUserOrgRs.java
View file @
ac20ccde
...
@@ -62,4 +62,16 @@ public class SysUserOrgRs {
...
@@ -62,4 +62,16 @@ public class SysUserOrgRs {
public
void
setOrgId
(
Long
orgId
)
{
public
void
setOrgId
(
Long
orgId
)
{
this
.
orgId
=
orgId
;
this
.
orgId
=
orgId
;
}
}
@Override
public
String
toString
()
{
return
"SysUserOrgRs{"
+
"id="
+
id
+
", createDate="
+
createDate
+
", createUserid="
+
createUserid
+
", state="
+
state
+
", userId="
+
userId
+
", orgId="
+
orgId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/model/SysUserRoleRs.java
View file @
ac20ccde
...
@@ -32,4 +32,13 @@ public class SysUserRoleRs {
...
@@ -32,4 +32,13 @@ public class SysUserRoleRs {
public
void
setRoleId
(
Long
roleId
)
{
public
void
setRoleId
(
Long
roleId
)
{
this
.
roleId
=
roleId
;
this
.
roleId
=
roleId
;
}
}
@Override
public
String
toString
()
{
return
"SysUserRoleRs{"
+
"id="
+
id
+
", userId="
+
userId
+
", roleId="
+
roleId
+
'}'
;
}
}
}
\ No newline at end of file
bsoft-api/src/main/java/com/bsoft/api/service/Impl/SerDiseaseServiceImpl.java
View file @
ac20ccde
...
@@ -30,6 +30,9 @@ public class SerDiseaseServiceImpl implements SerDiseaseService {
...
@@ -30,6 +30,9 @@ public class SerDiseaseServiceImpl implements SerDiseaseService {
@Override
@Override
public
List
<
SerDisease
>
selectByMdcName
(
String
date
,
String
mdcName
,
String
docCode
,
String
deptCode
)
{
public
List
<
SerDisease
>
selectByMdcName
(
String
date
,
String
mdcName
,
String
docCode
,
String
deptCode
)
{
mdcName
=
StringUtil
.
isNullOrEmpty
(
mdcName
)?
null
:
mdcName
;
docCode
=
StringUtil
.
isNullOrEmpty
(
docCode
)?
null
:
docCode
;
deptCode
=
StringUtil
.
isNullOrEmpty
(
deptCode
)?
null
:
deptCode
;
return
serDiseaseMapper
.
selectByMdcName
(
date
,
mdcName
,
docCode
,
deptCode
);
return
serDiseaseMapper
.
selectByMdcName
(
date
,
mdcName
,
docCode
,
deptCode
);
}
}
...
...
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