安全修改
This commit is contained in:
parent
1ef7d759e8
commit
3e5a90f4a8
@ -71,7 +71,7 @@ public class XzSecurityQualityInspectionRecordController {
|
||||
@ApiImplicitParam(name = "projectSn", value = "项目SN", paramType = "body", required = true, dataType = "String"),
|
||||
@ApiImplicitParam(name = "regionId", value = "检查部位ID", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "itemId", value = "子任务ID", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "status", value = "状态,1无需整改,2待整改,3待复查,4待核验,5合格,6不合格,7超期未关闭", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "status", value = "状态,1无需整改,2待整改,3待复查,4待核验,5合格,60不合格,7超期未关闭", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "recordStatus", value = "查询类型,1排查记录,2已闭合,3未闭合,4超期未关闭,5待整改,6待复查,7待核验", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "urgentLevel", value = "紧急程度,1一般,2严重,3紧要", paramType = "body", required = false, dataType = "String"),
|
||||
@ApiImplicitParam(name = "level", value = "问题等级,1一级,2二级,3三级,4四级", paramType = "body", required = false, dataType = "String"),
|
||||
|
||||
@ -316,13 +316,16 @@
|
||||
<if test="param.level != null and param.level != ''">
|
||||
and t.level = #{param.level}
|
||||
</if>
|
||||
<if test="param.status != null and param.status != '' and param.status != '7'.toString()">
|
||||
<if test="param.status != null and param.status != '' and param.status != '7'.toString() and param.status != '60'.toString()">
|
||||
and t.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.status == '7'.toString()">
|
||||
and t.change_limit_time <![CDATA[<]]> current_date
|
||||
and t.status != 5 and t.status != 6
|
||||
</if>
|
||||
<if test="param.status == '60'.toString()">
|
||||
and t.status != 5 and t.status != 6
|
||||
</if>
|
||||
<if test="param.urgentLevel != null and param.urgentLevel != ''">
|
||||
and t.urgent_level = #{param.urgentLevel}
|
||||
</if>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user