智慧保安后台管理项目备份
zhongrj
2024-05-24 b5960d1968e007b91d4d33dd7cbb74f1b566f2c1
src/main/java/org/springblade/modules/equipage/mapper/CarMapper.xml
@@ -23,6 +23,9 @@
        <if test="car.deptId!=null and car.deptId!=''">
            and sc.dept_id = #{car.deptId}
        </if>
        <if test="car.type!=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},'%')
        </if>
@@ -50,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>