|
|
@ -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}
|
|
|
|