| | |
| | | <result property="reserved3" column="reserved_3" /> |
| | | </resultMap> |
| | | |
| | | <!--<resultMap type="ArdSyCar" id="ArdSyCarLockResult"> |
| | | <resultMap type="ArdSyCar" id="ArdSyCarLockResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="carId" column="car_id" /> |
| | | <result property="carModel" column="car_model" /> |
| | |
| | | <result property="restartState" column="restart_state" /> |
| | | <result property="onlineTime" column="online_time" /> |
| | | </collection> |
| | | </resultMap>--> |
| | | </resultMap> |
| | | |
| | | <sql id="selectArdSyCarVo"> |
| | | select id, car_id, car_model, car_type, car_brand, dept_id, car_picture, reserved_1, reserved_2, reserved_3 from ard_sy_car |
| | |
| | | #{carId} |
| | | </foreach> |
| | | </select> |
| | | <select id="getCarListByDeptIdList" resultMap="ArdSyCarResult"> |
| | | select * from ard_sy_car where dept_id in |
| | | <foreach item="deptId" collection="deptIdList" open="(" separator="," close=")"> |
| | | #{deptId} |
| | | </foreach> |
| | | </select> |
| | | </mapper> |