| | |
| | | <if test="params.collectQuality != null and params.collectQuality != ''"> |
| | | and t6.collect_quality = #{params.collectQuality} |
| | | </if> |
| | | <if test="params.pointNos != null"> |
| | | AND t1.point_no in |
| | | <foreach collection="params.pointNos" item="item" index="item" open="(" close=")" separator=","> |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | order by t1.create_time desc, t1.point_no desc |
| | | </select> |
| | |
| | | t1.point_no, |
| | | t1.point_name, |
| | | t1.default_value, |
| | | t1.unittransfactor, |
| | | t1.point_type, |
| | | t1.data_type, |
| | | t1.store_type, |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="getPointPage" parameterType="map" resultType="com.iailab.module.data.api.point.dto.ApiPointDTO"> |
| | | select point_no pointNo,point_name pointName from t_da_point |
| | | <where> |
| | | point_no in |
| | | <foreach item="value" collection="paramsMap.values" separator="," open="(" close=")"> |
| | | '${value}' |
| | | </foreach> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |