| | |
| | | <if test="bigDeviceName !=null and bigDeviceName !=''"> |
| | | bd.big_device_name LIKE concat('%',#{bigDeviceName},'%') AND |
| | | </if> |
| | | <if test="bigNumber !=null and bigNumber !=''"> |
| | | bd.big_number LIKE concat('%',#{bigNumber},'%') AND |
| | | </if> |
| | | <if test="startTime !=null"> |
| | | t.check_time >= #{startTime} AND |
| | | </if> |
| | |
| | | </delete> |
| | | |
| | | <select id="deviceList" resultType="hashmap"> |
| | | select big_device_id as bigDeviceId,big_device_name as bigDeviceName from t_big_device |
| | | select big_device_id as bigDeviceId,concat(big_device_name,'-',big_device_model) as bigDeviceName from t_big_device |
| | | where is_use = 1 and company_id = #{companyId} |
| | | </select> |
| | | |