MS
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
Dim upd As String
|
||||
InWork = False
|
||||
If comment = "" Then
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET IN_WORK = {0} WHERE DocID = {1}", state, DocID)
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET Change_DateTime = GETDATE(), IN_WORK = {0} WHERE DocID = {1}", state, DocID)
|
||||
Else
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET IN_WORK = {0}, IN_WORK_USER = '{1}', IN_WORK_COMMENT = '{2}' WHERE DocID = {3}", state, USER_USERNAME, comment, DocID)
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET Change_DateTime = GETDATE(), IN_WORK = {0}, IN_WORK_USER = '{1}', IN_WORK_COMMENT = '{2}' WHERE DocID = {3}", state, USER_USERNAME, comment, DocID)
|
||||
End If
|
||||
If ClassDatabase.Execute_non_Query(upd) = True Then
|
||||
If LICENSE_PROXY = True And DD_LIB_Standards.clsDatabase.DB_PROXY_INITIALIZED Then
|
||||
@@ -27,7 +27,7 @@
|
||||
Public Shared Function Set_Displayname(Displayname As String)
|
||||
Try
|
||||
Dim upd As String
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET DISPLAY_NAME = '{0}' WHERE DocID = {1}", Displayname, DocID)
|
||||
upd = String.Format("UPDATE TBPMO_DOCRESULT_LIST SET DISPLAY_NAME = '{0}',Change_DateTime = GETDATE() WHERE DocID = {1}", Displayname, DocID)
|
||||
If ClassDatabase.Execute_non_Query(upd) = True Then
|
||||
If LICENSE_PROXY = True And DD_LIB_Standards.clsDatabase.DB_PROXY_INITIALIZED Then
|
||||
ClassDatabase.Execute_non_Query(upd, True)
|
||||
|
||||
Reference in New Issue
Block a user