wuxw
2019-11-28 23e5eaa3ffde198acc8dd4f91f834203cfcb9988
java110-db/src/main/resources/mapper/user/OwnerCarServiceDaoImplMapper.xml
@@ -101,12 +101,11 @@
    <!-- 查询车辆管理信息 add by wuxw 2018-07-03 -->
    <select id="getOwnerCarInfo" parameterType="Map" resultType="Map">
        select t.car_color,t.car_color carColor,t.car_brand,t.car_brand carBrand,t.car_type,t.car_type carType,
        select t.car_color,t.car_color carColor,t.car_brand,t.car_brand carBrand,t1.name car_type,t1.name carType,
        t.car_num,t.car_num carNum,t.ps_id,t.ps_id psId,t.remark,t.status_cd,t.status_cd statusCd,t.owner_id,
        t.owner_id ownerId,t.b_id,t.b_id bId,t.user_id,t.user_id userId,t.car_id,t.car_id carId ,t.create_time
        createTime
        from owner_car t
        where 1 =1
        from owner_car t,t_dict t1 where t.car_type=t1.status_cd and t1.table_name='owner_car'
        <if test="carColor !=null and carColor != ''">
            and t.car_color= #{carColor}
        </if>