燕山石化溯源三维电子沙盘-【后端】-服务
13693261870
2023-04-25 ecd0ef5c6a78ac091b3fc2d42035cd0582c93a3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yssh.dao.ExpPointMapper">
    <resultMap id="ExpPointResult" type="com.yssh.entity.ExpPoint">
        <id column="id" property="id" />
        <result column="exp_site_number" property="expSiteNumber" />
        <result column="exp_point_type" property="expPointType" />
        <result column="ordinate_x" property="ordinateX" />
        <result column="abscissa_y" property="abscissaY" />
        <result column="elevation" property="elevation" />
        <result column="exploration_depth" property="explorationDepth" />
        <result column="exp_start_date" property="expStartDate" />
        <result column="exp_end_date" property="expEndDate" />
        <result column="groundwater_depth" property="groundwaterDepth" />
        <result column="wave_speed_instrument" property="waveSpeedInstrument" />
        <result column="wave_velocity_method" property="waveVelocityMethod" />
        <result column="wave_velocity_excitation_distance" property="waveVelocityExcitationDistance" />
        <result column="water_depth" property="waterDepth" />
        <result column="is_participate" property="isParticipate" />
    </resultMap>
    
    <select id="selectList" resultMap="ExpPointResult">
        SELECT * FROM exp_point
        
    </select>
    
    <select id="selectByExpSiteNumbers" parameterType="java.util.List" resultMap="ExpPointResult">
        SELECT * FROM exp_point
        WHERE exp_site_number IN
        <foreach collection="expSiteNumbers" item="expSiteNumber" open="(" separator="," close=")">
            #{expSiteNumber}
        </foreach>
    </select>
</mapper>