|
|
|
@ -65,9 +65,11 @@
|
|
|
|
|
a.check_status,
|
|
|
|
|
a.check_id,
|
|
|
|
|
a.check_ageing,
|
|
|
|
|
c.risk_level,
|
|
|
|
|
CONCAT(d.district,'-', d.county) AS districtcounty
|
|
|
|
|
FROM b_plan_enterprise a
|
|
|
|
|
left join b_administrative_division d on a.district=d.county_code
|
|
|
|
|
LEFT JOIN b_enterprise_new c ON a.enterprise_id = c.enterprise_id
|
|
|
|
|
<where>
|
|
|
|
|
<if test="enterpriseId != null and enterpriseId != ''">and a.enterprise_id = #{enterpriseId}</if>
|
|
|
|
|
<if test="createId != null ">and a.create_id = #{createId}</if>
|
|
|
|
@ -99,6 +101,7 @@
|
|
|
|
|
#{item}
|
|
|
|
|
</foreach>
|
|
|
|
|
</if>
|
|
|
|
|
order by lawLevel, law_sort,planned_month+0
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
<delete id="deleteByPlanId">
|
|
|
|
|