Browse Source

销售订单选择车架号排除8位

master
dimengzhe 1 year ago
parent
commit
d975022b4a
  1. 5
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehicle/BaseVehicleMapper.xml

5
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/basevehicle/BaseVehicleMapper.xml

@ -1108,7 +1108,7 @@
or bv.vehicleStateValue = '在途'
or bv.vehicleStateValue = '调入'
)
and bv.isDelete = 0
and bv.isDelete = 0 and length(bv.vinNo)>8
order by isFictitious, bv.locationName, bv.vinNo desc
</select>
@ -1128,7 +1128,7 @@
or bv.vehicleStateValue = '在途'
or bv.vehicleStateValue = '调入'
)
and bv.isDelete = 0
and bv.isDelete = 0 and length(bv.vinNo)>8
<if test="list != null and list.size() != 0">
and bv.sid in
<foreach collection="list" item="item" index="index" open="(" separator="," close=")">
@ -1416,6 +1416,7 @@
<if test="names != null and names != ''">
and bv.vinNo LIKE concat('%', #{names}, '%')
</if>
AND LENGTH(bv.vinNo)>8
</where>
</select>

Loading…
Cancel
Save