def Transactions_Code_2009(self_uid, self_username, json_data):
    json_back = {'code': 0, 'msg': '', 'pam': ''}
    uid = int(json_data['uid'])
    s_wid = int(json_data['s_wid'])
    s_lid = int(json_data['s_lid'])
    log = json_data['log']
    score = int(json_data['score'])
    P_UID = int(json_data['P_UID'])
    ctype = int(json_data['ctype'])
    DB = DBManager()
    json_back['code'] = interface_workmark.DoWorkMark(DB, self_uid, s_wid, s_lid, uid, score, log, P_UID, ctype)
    DB.destroy()
    return json_back
def Transactions_Code_2009(self_uid, self_username, json_data):
    json_back = {'code': 0, 'msg': , 'pam': }
    uid = int(json_data['uid'])
    s_wid = int(json_data['s_wid'])
    s_lid = int(json_data['s_lid'])
    log = json_data['log']
    score = int(json_data['score'])
    P_UID = int(json_data['P_UID'])
    ctype = int(json_data['ctype'])
    DB = DBManager()
    json_back['code'] = interface_workmark.DoWorkMark(DB, self_uid, s_wid, s_lid, uid, score, log, P_UID, ctype)
    DB.destroy()
    return json_back