Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
164d54d0
Commit
164d54d0
authored
Oct 19, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
4dd2b3f7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
44 additions
and
11 deletions
+44
-11
ControllerAop.java
...a/com/yeejoin/amos/boot/biz/common/aop/ControllerAop.java
+1
-1
OrgUsrMapper.xml
...ule-common-api/src/main/resources/mapper/OrgUsrMapper.xml
+0
-1
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+1
-1
TopographyController.java
.../yeejoin/equipmanage/controller/TopographyController.java
+4
-4
ExcelServiceImpl.java
...os/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
+5
-2
view_all.sql
...stem-equip/src/main/resources/changelog/init/view_all.sql
+33
-2
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/common/aop/ControllerAop.java
View file @
164d54d0
...
@@ -83,7 +83,7 @@ public class ControllerAop {
...
@@ -83,7 +83,7 @@ public class ControllerAop {
// 不需要添加请求头的接口
// 不需要添加请求头的接口
String
[]
url
=
new
String
[]{
"/api/user/save/curCompany"
,
"/jcs/command/lookHtmlText"
,
String
[]
url
=
new
String
[]{
"/api/user/save/curCompany"
,
"/jcs/command/lookHtmlText"
,
"/jcs/common/duty-person/findByDutyAreaId"
,
"/tzs/wechatBack"
,
"/tzs/elevator/getElevatorInfo"
,
"/jcs/common/duty-person/findByDutyAreaId"
,
"/tzs/wechatBack"
,
"/tzs/elevator/getElevatorInfo"
,
"/openapi/bizToken/applyToken"
,
"/fire-patrol-report/download"
,
"/fire-patrol-report/allPage"
};
"/openapi/bizToken/applyToken"
,
"/fire-patrol-report/download"
,
"/fire-patrol-report/allPage"
,
"/jcs/excel/export/QDSJ"
};
// 获取请求路径
// 获取请求路径
for
(
String
uri
:
url
)
{
for
(
String
uri
:
url
)
{
if
(
request
.
getRequestURI
().
indexOf
(
uri
)
!=
-
1
)
{
if
(
request
.
getRequestURI
().
indexOf
(
uri
)
!=
-
1
)
{
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/resources/mapper/OrgUsrMapper.xml
View file @
164d54d0
...
@@ -164,7 +164,6 @@
...
@@ -164,7 +164,6 @@
<foreach
collection=
"map.fieldsValue.keys"
item=
"item"
>
AND a.${item} = #{map.fieldsValue[${item}]}
</foreach>
<foreach
collection=
"map.fieldsValue.keys"
item=
"item"
>
AND a.${item} = #{map.fieldsValue[${item}]}
</foreach>
</if>
</if>
LIMIT #{map.pageNum}, #{map.pageSize}
LIMIT #{map.pageNum}, #{map.pageSize}
</select>
</select>
<!--机场单位查询机构下所有子数据 2021-09-16 by litw -->
<!--机场单位查询机构下所有子数据 2021-09-16 by litw -->
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/OrgUsrServiceImpl.java
View file @
164d54d0
...
@@ -651,7 +651,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
...
@@ -651,7 +651,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
if
(!
positionType
.
equals
(
""
))
{
if
(!
positionType
.
equals
(
""
))
{
String
positionTypeFine
=
positionType
;
String
positionTypeFine
=
positionType
;
list
=
list
.
stream
().
filter
(
e
->
!
ValidationUtil
.
isEmpty
(
e
.
get
(
"positionType"
))
&&
e
.
get
(
"positionType"
).
toString
().
contain
s
(
positionTypeFine
)).
collect
(
Collectors
.
toList
());
list
=
list
.
stream
().
filter
(
e
->
String
.
valueOf
(
e
.
get
(
"positionType"
)).
equal
s
(
positionTypeFine
)).
collect
(
Collectors
.
toList
());
}
}
/* Bug2652 根据名字和工号模糊查询失效 已添加模糊匹配 2021-09-01 陈召 结束 */
/* Bug2652 根据名字和工号模糊查询失效 已添加模糊匹配 2021-09-01 陈召 结束 */
pageBean
.
setRecords
(
list
);
pageBean
.
setRecords
(
list
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/TopographyController.java
View file @
164d54d0
...
@@ -875,11 +875,11 @@ public class TopographyController extends AbstractBaseController {
...
@@ -875,11 +875,11 @@ public class TopographyController extends AbstractBaseController {
String
prefix
=
null
;
String
prefix
=
null
;
String
suffix
=
null
;
String
suffix
=
null
;
if
(
iotCode
.
length
()
>
8
)
{
if
(
StringUtil
.
isNotEmpty
(
iotCode
)
&&
iotCode
.
length
()
>
8
)
{
prefix
=
iotCode
.
substring
(
0
,
8
);
prefix
=
iotCode
.
substring
(
0
,
8
);
suffix
=
iotCode
.
substring
(
8
);
suffix
=
iotCode
.
substring
(
8
);
}
else
{
}
else
{
return
CommonResponseUtil
.
failure
(
"装备物联编码错误,请确认!"
);
return
CommonResponseUtil
.
failure
(
"装备物联编码
不存在或编码
错误,请确认!"
);
}
}
ResponseModel
entity
=
null
;
ResponseModel
entity
=
null
;
try
{
try
{
...
@@ -1031,11 +1031,11 @@ public class TopographyController extends AbstractBaseController {
...
@@ -1031,11 +1031,11 @@ public class TopographyController extends AbstractBaseController {
String
prefix
=
null
;
String
prefix
=
null
;
String
suffix
=
null
;
String
suffix
=
null
;
if
(
iotCode
.
length
()
>
8
)
{
if
(
StringUtil
.
isNotEmpty
(
iotCode
)
&&
iotCode
.
length
()
>
8
)
{
prefix
=
iotCode
.
substring
(
0
,
8
);
prefix
=
iotCode
.
substring
(
0
,
8
);
suffix
=
iotCode
.
substring
(
8
);
suffix
=
iotCode
.
substring
(
8
);
}
else
{
}
else
{
return
CommonResponseUtil
.
failure
(
"装备物联编码错误,请确认!"
);
return
CommonResponseUtil
.
failure
(
"装备物联编码
不存在或编码
错误,请确认!"
);
}
}
ResponseModel
entity
=
null
;
ResponseModel
entity
=
null
;
String
[]
filedKeyArr
=
parmfieldKey
.
split
(
","
);
String
[]
filedKeyArr
=
parmfieldKey
.
split
(
","
);
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/ExcelServiceImpl.java
View file @
164d54d0
...
@@ -207,8 +207,11 @@ public class ExcelServiceImpl {
...
@@ -207,8 +207,11 @@ public class ExcelServiceImpl {
// if(org.apache.commons.lang3.StringUtils.isBlank(bizOrgCode)){
// if(org.apache.commons.lang3.StringUtils.isBlank(bizOrgCode)){
// authFalg=true;
// authFalg=true;
// }
// }
//效验参数
//效验参数
boolean
authFlag
=
getFlag
(
par
);
boolean
authFlag
=
true
;
if
(!
"QDSJ"
.
equals
(
excelDto
.
getType
()))
{
authFlag
=
getFlag
(
par
);
}
switch
(
excelDto
.
getType
())
{
switch
(
excelDto
.
getType
())
{
...
...
amos-boot-system-equip/src/main/resources/changelog/init/view_all.sql
View file @
164d54d0
...
@@ -7707,4 +7707,35 @@ WHERE
...
@@ -7707,4 +7707,35 @@ WHERE
0
<>
find_in_set
(
'011023306003010000000013'
,
`sa`
.
`system_codes`
))
0
<>
find_in_set
(
'011023306003010000000013'
,
`sa`
.
`system_codes`
))
ORDER
BY
ORDER
BY
`sa`
.
`create_date`
DESC
`sa`
.
`create_date`
DESC
LIMIT
60
;
LIMIT
60
;
\ No newline at end of file
-- 运维概览-韶山消防巡查统计
DROP
VIEW
IF
EXISTS
`v_fire_check_num_shaoshan`
;
CREATE
ALGORITHM
=
UNDEFINED
DEFINER
=
`root`
@
`%`
SQL
SECURITY
DEFINER
VIEW
`v_fire_check_num_shaoshan`
AS
SELECT
(
SELECT
ifnull
(
sum
(
`p_plan_task`
.
`point_num`
),
0
)
FROM
`p_plan_task`
WHERE
(
to_days
(
`p_plan_task`
.
`begin_time`
)
-
to_days
(
curdate
())
)
<=
0
AND
(
to_days
(
`p_plan_task`
.
`end_time`
)
-
to_days
(
curdate
())
)
>=
0
)
AS
`point_num`
,
(
SELECT
ifnull
(
sum
(
`p_plan_task`
.
`point_num`
),
0
)
FROM
`p_plan_task`
WHERE
`p_plan_task`
.
`finish_status`
=
3
AND
(
to_days
(
`p_plan_task`
.
`begin_time`
)
-
to_days
(
curdate
())
)
<=
0
AND
(
to_days
(
`p_plan_task`
.
`end_time`
)
-
to_days
(
curdate
())
)
>=
0
)
AS
`miss_num`
,
(
SELECT
ifnull
(
sum
(
`p_plan_task`
.
`point_num`
),
0
)
FROM
`p_plan_task`
WHERE
(
`p_plan_task`
.
`finish_status`
=
0
)
AND
(
to_days
(
`p_plan_task`
.
`begin_time`
)
-
to_days
(
curdate
())
)
<=
0
AND
(
to_days
(
`p_plan_task`
.
`end_time`
)
-
to_days
(
curdate
())
)
>=
0
)
AS
`unfinish_num`
;
\ No newline at end of file
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