Commit e75c400e authored by tianyiming's avatar tianyiming

任务30565 大屏隐患列表后端调整后端添加设备种类、设备类别筛选

parent 781882bb
......@@ -18,6 +18,12 @@
<if test="problemModel.problemStatus != null and problemModel.problemStatus != ''">
and spt.problem_status = #{problemModel.problemStatus}
</if>
<if test="problemModel.equipListCode != null and problemModel.equipListCode != ''">
and spt.equip_list_code = #{problemModel.equipListCode}
</if>
<if test="problemModel.equCategoryCode != null and problemModel.equCategoryCode != ''">
and spt.equ_category_code = #{problemModel.equCategoryCode}
</if>
<if test="problemModel.sourceTypeCode != null and problemModel.sourceTypeCode != ''">
and spt.source_type_code = #{problemModel.sourceTypeCode}
</if>
......
......@@ -505,7 +505,7 @@ public class JGDPStatisticsController {
* 隐患列表分组等级柱状折线图
*
*/
@TycloudOperation(ApiLevel = UserType.AGENCY, needAuth = false)
@TycloudOperation(ApiLevel = UserType.AGENCY)
@PostMapping(value = "/safety-problem-tracing/chart/dp")
@ApiOperation(httpMethod = "POST",value = "隐患列表分组等级柱状折线图", notes = "隐患列表分组等级柱状折线图")
public ResponseModel<Map<String, Object>> getProblemChart(@RequestBody(required = false) SafetyProblemTracingDto problemModel) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment