地质所 沉降监测网建设项目
suerwei
2024-05-28 bc9f9097d1da4d431fdfe670d77521fd705baf53
javaweb-plus/javaweb-cms/src/main/resources/mapper/geo/HoleMapper.xml
@@ -99,6 +99,15 @@
        <include refid="selectHoleVo"/> WHERE project_id = #{projectId}
    </select>
    <select id="selectHoleTotalProcess" resultMap="HoleResult">
        select sum(footage_cpl) as footage_cpl, sum(footage) as footage  from js_hole
    </select>
    <select id="selectHoleProjectProcess" resultMap="HoleResult">
        select project_id as project_id,  sum(footage_cpl) as footage_cpl, sum(footage) as footage
        from js_hole  GROUP BY project_id
    </select>
    <insert id="insertHole" parameterType="Hole">
        insert into js_hole
        <trim prefix="(" suffix=")" suffixOverrides=",">