| | |
| | | <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=","> |