insert into Sys_User(UserID, UserTypeID,LoginID,Password,Name,RecordStatus,CreateBy,CreateTime,UpdateBy,UpdateTime)
values
(#{item.userID},#{item.userTypeID},#{item.loginID},#{item.password},#{item.name},#{item.recordStatus},#{item.createBy},#{item.createTime},null,null)
insert into sys_user_sys_role(UserID, RoleID)
values
(#{item.userID},#{item.roleID})
update
`cf_student`
set
`userID` = #{item.userID},
`updateBy` = #{updateBy},
`updateTime` = sysdate()
where
studentID = #{item.studentID}
and userID is null