insert into BaiduFaceRecorder values (#{name},#{userId},#{score},#{time},#{uploadImgUrl},#{userImgUrl})
insert into AC_DeviceAuthRecord
(ShiDuan ,StudentType, SchoolId , Sno,StartTime , EndTime , State , WeekDays ,Sex,GrantState,AuthType,aType)
values
(#{shiduan},#{studentType}, #{schoolId}, #{sno}, #{startTime}, #{endTime}, 1, #{weekDays}, #{sex}, #{grantState},#{authType},#{aType})
update AC_DeviceAuthRecord set State = 0 where id = #{id}
update AC_DeviceAuthRecord set GrantState = #{grantState} where id = #{id}
update SZ_User set face = #{face} where user_id = #{userId}
insert into HS_StudentUpdateCard
(UserId ,CustomerId,StudentType,UserType,Name,ClassId,ClassName,OldCard ,Card,SchoolId,IsNew,UpdateType,AddTime ,Sex,Face,StudentCode,mobile)
values
(#{userId},#{customerId}, #{studentType}, #{userType}, #{name}, #{classId}, #{className}, #{oldCard}, #{card},#{schoolId},#{isNew},#{updateType}, #{addTime}, #{sex}, #{face}, #{studentCode}, #{mobile})
insert into sz_student_bak values (#{name},#{userId},#{cardNum},#{clientId},#{className},#{status},#{schoolId})
update sz_student_bak set status = 1 where id = #{id}