From b71aff1daded6e0b2a55cab58a83a593c14b077a Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 21 Jun 2024 21:34:04 +0800 Subject: [PATCH] md --- .../main/resources/mapper/EmisTmsScanRecordMapper.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml index da986f775..6479a685e 100644 --- a/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisTmsScanRecordMapper.xml @@ -313,13 +313,13 @@ from emis_tms_scan_record a del_flag='0' - and ( FIND_IN_SET(`bill_code`,#{billCode}) or FIND_IN_SET(`main_bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) + + and ( FIND_IN_SET(`bill_code`,#{billCode}) ) + - and bl_sub_bill='1' - - - and bl_sub_bill='0' + or FIND_IN_SET(`main_bill_code`,#{billCode}) + ORDER BY