| | |
| | | <result property="reason" column="reason" /> |
| | | <result property="rate" column="rate" /> |
| | | <result property="footage" column="footage" /> |
| | | <result property="totalFootage" column="total_footage" /> |
| | | <result property="footageCpl" column="footage_cpl" /> |
| | | <result property="status" column="status" /> |
| | | <result property="isDeleted" column="is_deleted" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectHoleVo"> |
| | | select ids, project_id, code, create_time, update_time, description, type, elevation, depth, longitude, latitude, survey_x, survey_y, survey_z, survey_latitude, survey_longitude, map_latitude, map_longitude, map_time, position, locate_time, reason, rate, footage, footage_cpl, status, is_deleted, is_flag from js_hole |
| | | select ids, project_id, code, create_time, update_time, description, type, elevation, depth, longitude, latitude, survey_x, survey_y, survey_z, survey_latitude, survey_longitude, map_latitude, map_longitude, map_time, position, locate_time, reason, rate, footage,total_footage, footage_cpl, status, is_deleted, is_flag from js_hole |
| | | </sql> |
| | | |
| | | <select id="selectHoleList" parameterType="Hole" resultMap="HoleResult"> |
| | |
| | | <if test="reason != null and reason != ''">reason,</if> |
| | | <if test="rate != null">rate,</if> |
| | | <if test="footage != null">footage,</if> |
| | | <if test="totalFootage != null">total_footage,</if> |
| | | <if test="footageCpl != null">footage_cpl,</if> |
| | | <if test="status != null and status != ''">status,</if> |
| | | <if test="isDeleted != null and isDeleted != ''">is_deleted,</if> |
| | |
| | | <if test="reason != null and reason != ''">#{reason},</if> |
| | | <if test="rate != null">#{rate},</if> |
| | | <if test="footage != null">#{footage},</if> |
| | | <if test="totalFootage != null">#{totalFootage},</if> |
| | | <if test="footageCpl != null">#{footageCpl},</if> |
| | | <if test="status != null and status != ''">#{status},</if> |
| | | <if test="isDeleted != null and isDeleted != ''">#{isDeleted},</if> |
| | |
| | | <if test="reason != null and reason != ''">reason = #{reason},</if> |
| | | <if test="rate != null">rate = #{rate},</if> |
| | | <if test="footage != null">footage = #{footage},</if> |
| | | <if test="totalFootage != null">total_footage = #{totalFootage},</if> |
| | | <if test="footageCpl != null">footage_cpl = #{footageCpl},</if> |
| | | <if test="status != null and status != ''">status = #{status},</if> |
| | | <if test="isDeleted != null and isDeleted != ''">is_deleted = #{isDeleted},</if> |