Exemple #1
0
def add_edu_robot_room_chat_data(data):
    chat = EduWxRobotChatRoomData()
    common.set_data_to_record(chat, data)
    return common.insert_data(chat)
Exemple #2
0
def add_friend_chat_data(data):
    ewrc = EduWxRobotChatFriendData()
    common.set_data_to_record(ewrc, data)
    return common.insert_data(ewrc)
Exemple #3
0
def add_edu_robot_room_data(data):
    room = EduWxRobotChatRoom()
    common.set_data_to_record(room, data)
    return common.insert_data(room)
Exemple #4
0
def add_edu_robot_room_member_data(data):
    member = EduWxRobotChatRoomMember()
    common.set_data_to_record(member, data)
    return common.insert_data(member)
Exemple #5
0
def add_edu_robot_data(data):
    robot = EduWxRobot()
    common.set_data_to_record(robot, data)
    return common.insert_data(robot)
Exemple #6
0
def add_school_notice_data(data):
    notice = Edu_School_Notice()
    common.set_data_to_record(notice, data)
    return common.insert_data(notice)
Exemple #7
0
def add_school_class_data(data):
    sclass = Edu_School_Class()
    common.set_data_to_record(sclass, data)
    return common.insert_data(sclass)
Exemple #8
0
def add_room_files_data(data):
    roomfilse = EduWxRobotChatRoomFiles()
    common.set_data_to_record(roomfilse, data)
    return common.insert_data(roomfilse)
Exemple #9
0
def add_edu_friend_data(data):
    friend = EduWxRobotFriend()
    common.set_data_to_record(friend, data)
    return common.insert_data(friend)