Browse Source

修改查询运力

txf 3 năm trước cách đây
mục cha
commit
5949fc529d

+ 3 - 5
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -168,13 +168,11 @@
             <if test="index != null">
                 and (instr(RC.CAPACITY_NUMBER, #{index}) > 0 or instr(RCA.CARRIER_NAME, #{index}) > 0)
             </if>
-        )
-        <where>
             <if test="con != null">
-                and instr(RC.INSERT_UPDATE_REMARK,#{con}) > 0
-                "capacityNumber" like #{con} or "carrierName" like #{con} or
-                "remark" like #{con}
+                and instr(RC.INSERT_UPDATE_REMARK, #{con}) > 0
             </if>
+        )
+        <where>
             <if test="capacityNumber != null">
                 <foreach collection="capacityNumber" item="item" open="(" separator="or" close=")">
                     "capacityNumber" like '%${item}%'