|
|
@@ -59,6 +59,9 @@
|
|
|
<result column="rule_point_point_name" property="pointName"/>
|
|
|
<result column="rule_point_area_id" property="areaId"/>
|
|
|
<result column="rule_point_area_name" property="areaName"/>
|
|
|
+ <result column="rule_point_business_type" property="businessType"/>
|
|
|
+ <result column="rule_point_point_scan" property="pointScan"/>
|
|
|
+ <result column="rule_point_required" property="required"/>
|
|
|
</collection>
|
|
|
|
|
|
</resultMap>
|
|
|
@@ -131,10 +134,14 @@
|
|
|
rp.NAME AS rule_point_point_name,
|
|
|
are.NAME AS rule_point_area_name,
|
|
|
are.id AS rule_point_area_id,
|
|
|
+ pp.point_scan as rule_point_point_scan,
|
|
|
+ pp.required as rule_point_required,
|
|
|
+ rp.business_type as rule_point_business_type,
|
|
|
rp.id AS rule_point_id,
|
|
|
rp.rule_id AS rule_point_rule_id,
|
|
|
rp.item_id AS rule_point_item_id,
|
|
|
rp.area_id AS rule_point_area_id,
|
|
|
+
|
|
|
c.*,
|
|
|
o1.NAME AS plan_create_org_name,
|
|
|
o2.NAME AS plan_of_org_name,
|
|
|
@@ -173,7 +180,26 @@
|
|
|
FROM
|
|
|
(
|
|
|
SELECT
|
|
|
- c.*,
|
|
|
+ c.plan_name,
|
|
|
+ c.plan_cycle,
|
|
|
+ c.exec_org_type,
|
|
|
+ c.check_org_type,
|
|
|
+ c.plan_status,
|
|
|
+ c.start_date,
|
|
|
+ c.end_date,
|
|
|
+ c.build_task_now,
|
|
|
+ c.description,
|
|
|
+ c.is_deleted,
|
|
|
+ c.create_time,
|
|
|
+ c.update_time,
|
|
|
+ c.modified_by,
|
|
|
+ u1.NAME AS modified_name,
|
|
|
+ c.source_type,
|
|
|
+ c.plan_create_org_id,
|
|
|
+ c.plan_of_org_id,
|
|
|
+ c.check_type,
|
|
|
+ c.count,
|
|
|
+ c.id,
|
|
|
o1.NAME AS plan_create_org_name,
|
|
|
o2.NAME AS plan_of_org_name,
|
|
|
r.role_name,
|
|
|
@@ -192,7 +218,9 @@
|
|
|
LEFT JOIN sys_org o3 ON o3.id = co.org_id
|
|
|
LEFT JOIN core_safecheck_plan_to_exec_org eo ON eo.plan_id = c.id
|
|
|
LEFT JOIN sys_org o4 ON o4.id = eo.org_id
|
|
|
- where 1=1
|
|
|
+ LEFT JOIN sys_user u1 ON u1.id = c.modified_by
|
|
|
+ WHERE
|
|
|
+ 1 =1
|
|
|
<if test="check.planName != null and check.planName != ''">
|
|
|
and c.plan_name like concat('%', #{check.planName}, '%')
|
|
|
</if>
|