shudonghui преди 1 година
родител
ревизия
770783a941
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      sop-business/src/main/resources/mapper/ServiceAnalyseMapper.xml

+ 2 - 2
sop-business/src/main/resources/mapper/ServiceAnalyseMapper.xml

@@ -268,8 +268,8 @@
             <if test="serviceUnitId != null">
                 AND result.serviceUnitId = #{serviceUnitId}
             </if>
-            <if test="region_id != null and region_id != ''">
-                AND result.region_id LIKE CONCAT('%',#{region_id},'%')
+            <if test="regionId != null and regionId != ''">
+                AND result.region_id =#{regionId}
             </if>
             <if test="supplierId != null and supplierId != ''">
                 AND result.supplier_id = #{supplierId}