select id, comId, projectId, userId, userName, sub_dept_group, sub_dept_group_name, craft_type, craft_post,
eventGuid,inPhoto,outPhoto,
inTime, inData, outTime, outData, deviceNo, is_del, state, remark, create_by, create_time, update_by, update_time from attendance_ubi_data
insert into attendance_ubi_data
comId,
projectId,
userId,
userName,
sub_dept_group,
sub_dept_group_name,
craft_type,
craft_post,
inTime,
inData,
outTime,
outData,
deviceNo,
is_del,
eventGuid,
inPhoto,
outPhoto,
state,
remark,
create_by,
create_time,
update_by,
update_time,
#{comId},
#{projectId},
#{userId},
#{userName},
#{subDeptGroup},
#{subDeptGroupName},
#{craftType},
#{craftPost},
#{inTime},
#{inData},
#{outTime},
#{outData},
#{deviceNo},
#{isDel},
#{eventGuid},
#{inPhoto},
#{outPhoto},
#{state},
#{remark},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update attendance_ubi_data
comId = #{comId},
projectId = #{projectId},
userId = #{userId},
userName = #{userName},
sub_dept_group = #{subDeptGroup},
sub_dept_group_name = #{subDeptGroupName},
craft_type = #{craftType},
craft_post = #{craftPost},
inTime = #{inTime},
inData = #{inData},
outTime = #{outTime},
outData = #{outData},
deviceNo = #{deviceNo},
is_del = #{isDel},
is_del = #{eventGuid},
is_del = #{inPhoto},
is_del = #{outPhoto},
state = #{state},
remark = #{remark},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where id = #{id}
delete from attendance_ubi_data where id = #{id}
delete from attendance_ubi_data where id in
#{id}