id, attend_date, plan_id, user_id, first_clock_time, last_clock_time, is_abnormal, description, status, date_create, date_update, create_by, update_by INSERT INTO sc_user_atendance ( id, attend_date, plan_id, user_id, first_clock_time, last_clock_time, is_abnormal, description, status, date_create, date_update, create_by, update_by ) VALUES ( #{userAtendance.id,jdbcType=INTEGER}, #{userAtendance.attendDate,jdbcType=INTEGER}, #{userAtendance.planId,jdbcType=INTEGER}, #{userAtendance.userId,jdbcType=INTEGER}, #{userAtendance.firstClockTime,jdbcType=TIMESTAMP}, #{userAtendance.lastClockTime,jdbcType=TIMESTAMP}, #{userAtendance.isAbnormal,jdbcType=VARCHAR}, #{userAtendance.description,jdbcType=VARCHAR}, #{userAtendance.status,jdbcType=INTEGER}, #{userAtendance.dateCreate,jdbcType=TIMESTAMP}, #{userAtendance.dateUpdate,jdbcType=TIMESTAMP}, #{userAtendance.createBy,jdbcType=VARCHAR}, #{userAtendance.updateBy,jdbcType=VARCHAR} ) INSERT INTO sc_user_atendance id, attend_date, plan_id, user_id, first_clock_time, last_clock_time, is_abnormal, description, status, date_create, date_update, create_by, update_by, VALUES #{userAtendance.id,jdbcType=INTEGER}, #{userAtendance.attendDate,jdbcType=INTEGER}, #{userAtendance.planId,jdbcType=INTEGER}, #{userAtendance.userId,jdbcType=INTEGER}, #{userAtendance.firstClockTime,jdbcType=TIMESTAMP}, #{userAtendance.lastClockTime,jdbcType=TIMESTAMP}, #{userAtendance.isAbnormal,jdbcType=VARCHAR}, #{userAtendance.description,jdbcType=VARCHAR}, #{userAtendance.status,jdbcType=INTEGER}, #{userAtendance.dateCreate,jdbcType=TIMESTAMP}, #{userAtendance.dateUpdate,jdbcType=TIMESTAMP}, #{userAtendance.createBy,jdbcType=VARCHAR}, #{userAtendance.updateBy,jdbcType=VARCHAR}, INSERT INTO sc_user_atendance ( id, site_id, attend_date, plan_id, user_id, org_id, first_clock_time, last_clock_time, is_abnormal, description, status, date_create, date_update, create_by, update_by )VALUES ( #{userAtendance.id,jdbcType=INTEGER}, #{userAtendance.siteId,jdbcType=INTEGER}, #{userAtendance.attendDate,jdbcType=INTEGER}, #{userAtendance.planId,jdbcType=INTEGER}, #{userAtendance.userId,jdbcType=INTEGER}, #{userAtendance.orgId,jdbcType=INTEGER}, #{userAtendance.firstClockTime,jdbcType=TIMESTAMP}, #{userAtendance.lastClockTime,jdbcType=TIMESTAMP}, #{userAtendance.isAbnormal,jdbcType=VARCHAR}, #{userAtendance.description,jdbcType=VARCHAR}, #{userAtendance.status,jdbcType=INTEGER}, #{userAtendance.dateCreate,jdbcType=TIMESTAMP}, #{userAtendance.dateUpdate,jdbcType=TIMESTAMP}, #{userAtendance.createBy,jdbcType=VARCHAR}, #{userAtendance.updateBy,jdbcType=VARCHAR} ) UPDATE sc_user_atendance attend_date= #{userAtendance.attendDate,jdbcType=INTEGER}, plan_id= #{userAtendance.planId,jdbcType=INTEGER}, user_id= #{userAtendance.userId,jdbcType=INTEGER}, first_clock_time= #{userAtendance.firstClockTime,jdbcType=TIMESTAMP}, last_clock_time= #{userAtendance.lastClockTime,jdbcType=TIMESTAMP}, is_abnormal= #{userAtendance.isAbnormal,jdbcType=VARCHAR}, abnormal_type= #{userAtendance.abnormalType,jdbcType=INTEGER}, work_time= #{userAtendance.workTime,jdbcType=DOUBLE}, description= #{userAtendance.description,jdbcType=VARCHAR}, status= #{userAtendance.status,jdbcType=INTEGER}, date_create= #{userAtendance.dateCreate,jdbcType=TIMESTAMP}, date_update= #{userAtendance.dateUpdate,jdbcType=TIMESTAMP}, create_by= #{userAtendance.createBy,jdbcType=VARCHAR}, update_by= #{userAtendance.updateBy,jdbcType=VARCHAR} WHERE id = #{userAtendance.id,jdbcType=INTEGER}