执法结果详情接口修改根据企业名称查询,修改checkId的字段类型

zhangtao
dongdingding 1 year ago
parent 8cdb56d16c
commit 53170a3d6f

@ -190,7 +190,7 @@ public class BPlanEnterpriseRequest {
* id * id
*/ */
@ApiModelProperty(value = "检查id") @ApiModelProperty(value = "检查id")
private Integer checkId; private String checkId;
/** /**

@ -195,7 +195,7 @@ public class BPlanEnterpriseResponse {
* id * id
*/ */
@ApiModelProperty(value = "检查id") @ApiModelProperty(value = "检查id")
private Integer checkId; private String checkId;
/** /**

@ -183,7 +183,7 @@ public class BPlanEnterpriseZhifaResponse {
* id * id
*/ */
@ApiModelProperty(value = "检查id") @ApiModelProperty(value = "检查id")
private Integer checkId; private String checkId;
/** /**

@ -142,7 +142,6 @@
c.RISK_LEVEL as riskLevel, c.RISK_LEVEL as riskLevel,
c.STAND_LEVEL as standLevel, c.STAND_LEVEL as standLevel,
c.EXAMINE_END_TIME as examineEndTime, c.EXAMINE_END_TIME as examineEndTime,
CASE WHEN b.ent_code IS NOT NULL THEN 1 ELSE 2 END AS isPoint CASE WHEN b.ent_code IS NOT NULL THEN 1 ELSE 2 END AS isPoint
FROM b_plan_enterprise a FROM b_plan_enterprise a
LEFT JOIN b_key_enterprise b ON a.enterprise_id = b.ent_code LEFT JOIN b_key_enterprise b ON a.enterprise_id = b.ent_code
@ -152,7 +151,7 @@
and a.planned_year =#{req.plannedYear} and a.planned_year =#{req.plannedYear}
</if> </if>
<if test="req.enterpriseName !=null and req.enterpriseName !=''"> <if test="req.enterpriseName !=null and req.enterpriseName !=''">
and a.enterprise_name =#{req.enterpriseName} and a.enterprise_name like concat('%', #{req.enterpriseName}, '%')
</if> </if>
<if test="req.checkStatus !=null and req.checkStatus !=''"> <if test="req.checkStatus !=null and req.checkStatus !=''">
and a.check_status =#{req.checkStatus} and a.check_status =#{req.checkStatus}

Loading…
Cancel
Save