tangzy
2021-08-23 36755d4a9432bc229527105ba01ee0d94e6ac0b7
src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -20,6 +20,9 @@
        <if test="car.carNumber!=null and car.carNumber!=''">
            and sc.car_number like concat('%', #{car.carNumber},'%')
        </if>
        <if test="car.deptId!=null and car.deptId!=''">
            and sc.dept_id = #{car.deptId}
        </if>
        <if test="car.numberType!=null and car.numberType!=''">
            and sc.number_type like concat('%', #{car.numberType},'%')
        </if>