智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -24,7 +24,7 @@
            and sc.dept_id = #{car.deptId}
        </if>
        <if test="car.type!=null">
            and car.equipment_code !="" and car.equipment_code is not null and car.equipment_code !=null
            and sc.equipment_code is not null
        </if>
        <if test="car.numberType!=null and car.numberType!=''">
            and sc.number_type like concat('%', #{car.numberType},'%')
@@ -53,4 +53,7 @@
            and sc.id = #{car.id}
        </if>
    </select>
    <select id="selectCar" resultType="java.util.HashMap">
        SELECT * FROM `sys_car` WHERE equipment_code IS NOT NULL
    </select>
</mapper>