| | |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectArdAlarmpointsWellByWellIdLike" parameterType="ArdAlarmpointsWell" resultMap="ArdAlarmpointsWellResult"> |
| | | <include refid="selectArdAlarmpointsWellVo"/> |
| | | <where> |
| | | <if test="id != null and id != ''">and c.id = #{id}</if> |
| | | <if test="wellId != null and wellId != ''"> and well_id like ('%${wellId}%')</if> |
| | | <!-- 数据范围过滤 --> |
| | | ${params.dataScope} |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectArdAlarmpointsWellById" parameterType="String" resultMap="ArdAlarmpointsWellResult"> |
| | | <include refid="selectArdAlarmpointsWellVo"/> |
| | | where id = #{id} |