def Update_RequestName(dbConn, iRecID, ustrRequestorName):
     ustrRequestorName = CTYLB_MainSys_MiscFunc.SafeGetUnicode(
         ustrRequestorName)
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ea_brain_exec_task.s_strTableName, strClause,
         "who_request_name", ustrRequestorName)
 def Update_ExTime_Status(dbConn, iRecID, execTime, iNewStatus):
     CSkLBDB_CommFuncShare.ExecUpdateRecField_To_DateTime(
         dbConn, CSkLBDB_ea_brain_chatcontent.s_strTableName, "exec_time",
         execTime, "id", str(iRecID))
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ea_brain_chatcontent.s_strTableName, strClause,
         "exec_status", str(iNewStatus))
Exemple #3
0
 def Update_ExStatus(dbConn, iRecID, iNewStatus):
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_funcbot_op_display.s_strTableName, strClause,
         "exec_status", str(iNewStatus))
 def Update_ExStatus(dbConn, iRecID, iNewStatus):
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ow_bot_out_chatcontent.s_strTableName, strClause,
         "ex_status", str(iNewStatus))
 def Update_PropValue(dbConn, iRecID, ustrPropValue):
     ustrPropValue = CTYLB_MainSys_MiscFunc.SafeGetUnicode(ustrPropValue)
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ea_brain_enviru_property.s_strTableName, strClause,
         "prop_value", ustrPropValue)
 def Update_ExStatus(dbConn, iRecID, iNewStatus):
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ea_brain_exec_result.s_strTableName, strClause,
         "exec_status", str(iNewStatus))
 def Update_RunParam(dbConn, iRecID, ustrRunParam):
     ustrRunParam = CTYLB_MainSys_MiscFunc.SafeGetUnicode(ustrRunParam)
     strClause = "id=%d" % (iRecID)
     CSkLBDB_CommFuncShare.ExecUpdateRecField1(
         dbConn, CSkLBDB_ea_brain_exec_task.s_strTableName, strClause,
         "task_run_param", ustrRunParam)