@ -45,7 +45,7 @@
AND a.bom_type = #{query.bomType}
</if>
<if test = "query.engChgLevel != null and query.engChgLevel != ''">
AND a.eng_chg_level like '%' + #{query.engChgLevel} + '%'
AND a.eng_chg_level = #{query.engChgLevel}
</where>
</select>
@ -2260,7 +2260,10 @@
sampling_qty = #{samplingQty},
inspection_cycle = #{inspectionCycle},
part_desc = #{partDesc},
detail_flag = 'Y'
detail_flag = 'Y',
state = '未开始',
action_date = '',
action_by = ''
WHERE inspection_no = #{inspectionNo} and site = #{site} and bu_no = #{buNo}
</update>