select point_id, net_test_value, leakage_degree, plant_id, region_id, dev_id, medium, medium_type, point_type, layer, group_position, point_position, group_code, extend_code, sub_point_type, dia, unarrive, unarrive_reason, keep_warm, temperature, pressure, run_time, pid_no, pid_url, pic_no, pic_url, toc_mark, methane_mark, vocs_mark, remarks, approve_status, approve_time, dept_id, del_flag, creater_code, createdate, updater_code, updatedate from t_base_point
insert into t_base_point
net_test_value,
leakage_degree,
plant_id,
region_id,
dev_id,
medium,
medium_type,
point_type,
layer,
group_position,
point_position,
group_code,
extend_code,
sub_point_type,
dia,
unarrive,
unarrive_reason,
keep_warm,
temperature,
pressure,
run_time,
pid_no,
pid_url,
pic_no,
pic_url,
toc_mark,
methane_mark,
vocs_mark,
remarks,
approve_status,
approve_time,
dept_id,
del_flag,
creater_code,
createdate,
updater_code,
updatedate,
#{netTestValue},
#{leakageDegree},
#{plantId},
#{regionId},
#{devId},
#{medium},
#{mediumType},
#{pointType},
#{layer},
#{groupPosition},
#{pointPosition},
#{groupCode},
#{extendCode},
#{subPointType},
#{dia},
#{unarrive},
#{unarriveReason},
#{keepWarm},
#{temperature},
#{pressure},
#{runTime},
#{pidNo},
#{pidUrl},
#{picNo},
#{picUrl},
#{tocMark},
#{methaneMark},
#{vocsMark},
#{remarks},
#{approveStatus},
#{approveTime},
#{deptId},
#{delFlag},
#{createrCode},
sysdate(),
#{updaterCode},
#{updatedate},
update t_base_point
net_test_value = #{netTestValue},
leakage_degree = #{leakageDegree},
plant_id = #{plantId},
region_id = #{regionId},
dev_id = #{devId},
medium = #{medium},
medium_type = #{mediumType},
point_type = #{pointType},
layer = #{layer},
group_position = #{groupPosition},
point_position = #{pointPosition},
group_code = #{groupCode},
extend_code = #{extendCode},
sub_point_type = #{subPointType},
dia = #{dia},
unarrive = #{unarrive},
unarrive_reason = #{unarriveReason},
keep_warm = #{keepWarm},
temperature = #{temperature},
pressure = #{pressure},
run_time = #{runTime},
pid_no = #{pidNo},
pid_url = #{pidUrl},
pic_no = #{picNo},
pic_url = #{picUrl},
toc_mark = #{tocMark},
methane_mark = #{methaneMark},
vocs_mark = #{vocsMark},
remarks = #{remarks},
approve_status = #{approveStatus},
approve_time = #{approveTime},
dept_id = #{deptId},
del_flag = #{delFlag},
creater_code = #{createrCode},
createdate = #{createdate},
updater_code = #{updaterCode},
updatedate = #{updatedate},
where point_id = #{pointId}
update t_base_point set del_flag=1 where point_id = #{pointId}
update t_base_point set del_flag=1 where point_id in
#{pointId}
update t_base_point set approve_status=#{approveStatus},approve_time=#{approveTime}
point_id in
#{pointId}
and approve_status=0
and approve_status=1
update t_base_point
pid_url = #{pidUrl},
updater_code = #{updaterCode},
updatedate = #{updatedate},
pic_url = #{picUrl},
and pid_no = #{fileName}
and pic_no = #{fileName}