|
@@ -4,6 +4,7 @@
|
|
|
<sql id="Base_Column_List">
|
|
|
repairReason.id,
|
|
|
repairReason.no,
|
|
|
+ repairReason.type, repairReason.status,
|
|
|
repairReason.sb_id,
|
|
|
repairReason.repair_id,
|
|
|
repairReason.analyze_time,
|
|
@@ -25,6 +26,7 @@
|
|
|
<sql id="Ref_Column_List">
|
|
|
repairReason.no,
|
|
|
repairReason.sb_id,
|
|
|
+repairReason.type, repairReason.status,
|
|
|
repairReason.repair_id,
|
|
|
repairReason.analyze_time,
|
|
|
repairReason.problem_desc,
|
|
@@ -52,6 +54,12 @@
|
|
|
<if test="sbId != null and sbId != ''">
|
|
|
and repairReason.sb_id = #{sbId}
|
|
|
</if>
|
|
|
+ <if test="status != null and status != ''">
|
|
|
+ and repairReason.status = #{status}
|
|
|
+ </if>
|
|
|
+ <if test="type != null and type != ''">
|
|
|
+ and repairReason.type = #{type}
|
|
|
+ </if>
|
|
|
<if test="repairId != null and repairId != ''">
|
|
|
and repairReason.repair_id = #{repairId}
|
|
|
</if>
|