select id, project_id, dept_id, group_dept_id, check_type, main_image, image_urls, working_position_type, check_working_position, checking_num, check_result, intro, quality_user, quality_user_name, supervise_user, supervise_user_name, group_dept_user, group_dept_user_name, checking_date, checking_files, is_del, create_by, create_time, update_by, update_time, remark from sur_project_checking
insert into sur_project_checking
project_id,
dept_id,
group_dept_id,
check_type,
main_image,
image_urls,
working_position_type,
check_working_position,
checking_num,
check_result,
intro,
quality_user,
quality_user_name,
supervise_user,
supervise_user_name,
group_dept_user,
group_dept_user_name,
checking_date,
checking_files,
is_del,
create_by,
create_time,
update_by,
update_time,
remark,
#{projectId},
#{deptId},
#{groupDeptId},
#{checkType},
#{mainImage},
#{imageUrls},
#{workingPositionType},
#{checkWorkingPosition},
#{checkingNum},
#{checkResult},
#{intro},
#{qualityUser},
#{qualityUserName},
#{superviseUser},
#{superviseUserName},
#{groupDeptUser},
#{groupDeptUserName},
#{checkingDate},
#{checkingFiles},
#{isDel},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
update sur_project_checking
project_id = #{projectId},
dept_id = #{deptId},
group_dept_id = #{groupDeptId},
check_type = #{checkType},
main_image = #{mainImage},
image_urls = #{imageUrls},
working_position_type = #{workingPositionType},
check_working_position = #{checkWorkingPosition},
checking_num = #{checkingNum},
check_result = #{checkResult},
intro = #{intro},
quality_user = #{qualityUser},
quality_user_name = #{qualityUserName},
supervise_user = #{superviseUser},
supervise_user_name = #{superviseUserName},
group_dept_user = #{groupDeptUser},
group_dept_user_name = #{groupDeptUserName},
checking_date = #{checkingDate},
checking_files = #{checkingFiles},
is_del = #{isDel},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
where id = #{id}
delete from sur_project_checking where id = #{id}
delete from sur_project_checking where id in
#{id}