diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
index d7e15a0f9..a24f663df 100644
--- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
+++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml
@@ -643,7 +643,7 @@
- update emis_tms_scan_record set del_flag='1' where scan_type='-1' and main_bill_code=#{billCode}
+ update emis_tms_scan_record set del_flag='1' where scan_type='-1' and main_bill_code=#{billCode} and rel_id=#{promId}