Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
1078bdfc
由
张雷
编写于
2025-01-09 17:31:01 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
月度运营报表问题修改
1 个父辈
1b052349
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
4 行增加
和
6 行删除
sk-module-biz/src/main/java/com/skua/modules/realtimedata/service/impl/RealTimeDataServiceImpl.java
sk-module-datafill/src/main/java/com/skua/modules/custom/service/impl/FCustomReportDatasetServiceImpl.java
sk-module-system/src/main/java/com/skua/modules/system/controller/SysRoleController.java
sk-module-biz/src/main/java/com/skua/modules/realtimedata/service/impl/RealTimeDataServiceImpl.java
查看文件 @
1078bdf
...
...
@@ -389,7 +389,7 @@ public class RealTimeDataServiceImpl implements IRealTimeDataService {
public
List
<
Map
<
String
,
Object
>>
queryRealTimeDataApp
(
String
factoryId
,
String
type
,
String
structId
,
String
sortType
,
String
nmName
)
{
DecimalFormat
df
=
new
DecimalFormat
(
"#.##"
);
//查询厂站下所有的指标代码
List
<
Map
<
String
,
Object
>>
list
=
realTimeDataMapper
.
queryMetricListByType
(
factoryId
,
type
,
structId
,
nmName
);
List
<
Map
<
String
,
Object
>>
list
=
realTimeDataMapper
.
queryMetricListByType
(
factoryId
,
type
,
structId
,
nmName
);
StringBuilder
feilds
=
new
StringBuilder
();
if
(
"0"
.
equals
(
type
))
{
...
...
sk-module-datafill/src/main/java/com/skua/modules/custom/service/impl/FCustomReportDatasetServiceImpl.java
查看文件 @
1078bdf
...
...
@@ -157,13 +157,14 @@ public class FCustomReportDatasetServiceImpl extends ServiceImpl<FCustomReportDa
" from "
+
dataViewName4411
+
" v4411 "
+
" where v4411.depart_id = '"
+
departId
+
"' and v4411.time like CONCAT('"
+
dataTime
+
"','%')) v6 on right(left(v6.time,7),2)=right(left(v1.time,7),2) "
+
" left join ( "
+
" select v3a24.depart_id,SUM(v3a24.DLHJ) dlhj_year,(SUM( v3a24.PAMZ ) + SUM( v3a24.PAMF ) + SUM( v3a24.PAMRJ ) + "
+
" select v3a24.depart_id,SUM(v3a24.DLHJ) dlhj_year,
LEFT(v3a24.time,7) time,
(SUM( v3a24.PAMZ ) + SUM( v3a24.PAMF ) + SUM( v3a24.PAMRJ ) + "
+
" SUM( v3a24.SCLPAMZ ) + SUM( v3a24.SCLPAMF ) + SUM( v3a24.NACLO ) + SUM( v3a24.PACGT ) + SUM( v3a24.PACYT ) + "
+
" SUM( v3a24.PFS ) + SUM( v3a24.FHTY ) + SUM( v3a24.RYXNJ ) + SUM( v3a24.YWL ) + SUM( v3a24.GXCLJ ) + SUM( v3a24.CH3COONA ) + "
+
" SUM( v3a24.HXT ) + SUM( v3a24.FECL3 ) + SUM( v3a24.SH ) + "
+
" SUM( v3a24.CH3COOH ) + SUM( v3a24.FESO4G ) + SUM( v3a24.FESO4Y ) + SUM( v3a24.H2O2 )) yjhl_year "
+
" from "
+
dataViewName3a24
+
" v3a24 "
+
" where v3a24.depart_id = '"
+
departId
+
"' and v3a24.time like CONCAT('"
+
dataTime
+
"','%')) y on y.depart_id = v1.depart_id "
+
" where v3a24.depart_id = '"
+
departId
+
"' and v3a24.time like CONCAT('"
+
dataTime
+
"','%') GROUP BY LEFT(v3a24.time,7)"
+
" ) y on y.time = LEFT ( v1.time, 7 ) "
+
" left join ( "
+
" select right(left(v4411.time,7),2) time,v4411.qntqsfsl "
+
" from "
+
dataViewName4411tb
+
" v4411 "
+
...
...
sk-module-system/src/main/java/com/skua/modules/system/controller/SysRoleController.java
查看文件 @
1078bdf
...
...
@@ -199,9 +199,6 @@ public class SysRoleController {
public
Result
<
List
<
SysRole
>>
queryall
()
{
Result
<
List
<
SysRole
>>
result
=
new
Result
<>();
QueryWrapper
<
SysRole
>
queryWrapper
=
new
QueryWrapper
<
SysRole
>();
if
(!
BaseContextHandler
.
getUserLoginName
().
equals
(
"admin"
)){
queryWrapper
.
notLike
(
"role_code"
,
"admin"
);
}
if
(
StringUtils
.
isNotEmpty
(
BaseContextHandler
.
getDeparts
())){
SysDepart
sysDepart
=
sysDepartService
.
getById
(
BaseContextHandler
.
getRealDepartId
());
if
(
sysDepart
!=
null
){
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论