@ -222,5 +222,9 @@ public class BPlanEnterpriseZhifaResponse {
@ApiModelProperty(value = "上次检查时间")
private Date examineEndTime;
/**
* 检查表id
*/
@ApiModelProperty(value = "检查表id")
private Long eid;
}
@ -119,6 +119,7 @@
c.RISK_LEVEL as riskLevel,
c.STAND_LEVEL as standLevel,
c.EXAMINE_END_TIME as examineEndTime,
c.id as eid,
CASE WHEN b.ent_code IS NOT NULL THEN 1 ELSE 2 END AS isPoint
FROM b_plan_enterprise a
LEFT JOIN b_key_enterprise b ON a.enterprise_id = b.ent_code