| | |
| | | <if test="locationCode != null and locationCode != ''"> and location_code = #{locationCode}</if> |
| | | <if test="equipmentNo != null and equipmentNo != ''"> and equipment_no = #{equipmentNo}</if> |
| | | <if test="paramCode != null and paramCode != ''"> and param_code = #{paramCode}</if> |
| | | <if test="paramValue != null and paramValue != ''"> and param_value = #{paramValue}</if> |
| | | <if test="dateConditions != null and dateConditions != ''"> and collection_time BETWEEN #{startTime} AND #{endTime}</if> |
| | | </where> |
| | | ORDER BY id DESC |
| | | </select> |
| | | |
| | | <select id="selectDaParamCollectionById" parameterType="Long" resultMap="DaParamCollectionResult"> |