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
f0f9173f
Commit
f0f9173f
authored
Oct 24, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改筛选通用
parent
e54da26b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
IdxBizFanPointProcessVariableClassificationController.java
...dxBizFanPointProcessVariableClassificationController.java
+2
-2
IdxBizFanPointProcessVariableClassificationMapper.java
...r2/IdxBizFanPointProcessVariableClassificationMapper.java
+1
-1
IdxBizFanPointProcessVariableClassificationServiceImpl.java
...xBizFanPointProcessVariableClassificationServiceImpl.java
+3
-2
IdxBizFanPointProcessVariableClassificationMapper.xml
...ter/IdxBizFanPointProcessVariableClassificationMapper.xml
+3
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/IdxBizFanPointProcessVariableClassificationController.java
View file @
f0f9173f
...
@@ -124,8 +124,8 @@ public class IdxBizFanPointProcessVariableClassificationController extends BaseC
...
@@ -124,8 +124,8 @@ public class IdxBizFanPointProcessVariableClassificationController extends BaseC
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/selectParams"
)
@GetMapping
(
value
=
"/selectParams"
)
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
selectParams
(
String
tableName
,
String
column
)
{
public
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
selectParams
(
String
tableName
,
String
column
,
@RequestParam
(
required
=
false
)
String
isFx
)
{
return
ResponseHelper
.
buildResponse
(
idxBizFanPointProcessVariableClassificationServiceImpl
.
selectParams
(
column
,
tableName
));
return
ResponseHelper
.
buildResponse
(
idxBizFanPointProcessVariableClassificationServiceImpl
.
selectParams
(
column
,
tableName
,
isFx
));
}
}
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/mapper2/IdxBizFanPointProcessVariableClassificationMapper.java
View file @
f0f9173f
...
@@ -18,7 +18,7 @@ public interface IdxBizFanPointProcessVariableClassificationMapper extends BaseM
...
@@ -18,7 +18,7 @@ public interface IdxBizFanPointProcessVariableClassificationMapper extends BaseM
List
<
IdxBizFanPointProcessVariableClassificationDto
>
getInfluxDBData
();
List
<
IdxBizFanPointProcessVariableClassificationDto
>
getInfluxDBData
();
List
<
Map
<
String
,
Object
>>
selectParams
(
String
tableName
,
String
column
);
List
<
Map
<
String
,
Object
>>
selectParams
(
String
tableName
,
String
column
,
String
isFx
);
List
<
String
>
gateWayIdListFan
();
List
<
String
>
gateWayIdListFan
();
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/IdxBizFanPointProcessVariableClassificationServiceImpl.java
View file @
f0f9173f
...
@@ -34,9 +34,9 @@ public class IdxBizFanPointProcessVariableClassificationServiceImpl extends Base
...
@@ -34,9 +34,9 @@ public class IdxBizFanPointProcessVariableClassificationServiceImpl extends Base
return
this
.
queryForList
(
""
,
false
);
return
this
.
queryForList
(
""
,
false
);
}
}
public
List
<
Map
<
String
,
Object
>>
selectParams
(
String
column
,
String
tableName
)
{
public
List
<
Map
<
String
,
Object
>>
selectParams
(
String
column
,
String
tableName
,
String
isFx
)
{
return
this
.
getBaseMapper
().
selectParams
(
tableName
,
column
);
return
this
.
getBaseMapper
().
selectParams
(
tableName
,
column
,
isFx
);
}
}
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanPointProcessVariableClassificationMapper.xml
View file @
f0f9173f
...
@@ -93,6 +93,9 @@
...
@@ -93,6 +93,9 @@
select ${column} as text from ${tableName}
select ${column} as text from ${tableName}
where ${column} is not null and ${column} != ''
where ${column} is not null and ${column} != ''
<if
test=
"isFx != '' and is Fx != null"
>
and TAG_CODE = '分析变量'
</if>
group by ${column};
group by ${column};
</select>
</select>
</mapper>
</mapper>
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