and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
ApproveRecordID, TableName, KeyID, StatusDictionaryCode, StatusID, ActionID, Comment,
ApproveUserID, ApproveTime
delete from sys_approve_record
where ApproveRecordID = #{approveRecordID,jdbcType=VARCHAR}
delete from sys_approve_record
insert into sys_approve_record (ApproveRecordID, TableName, KeyID,
StatusDictionaryCode, StatusID, ActionID,
Comment, ApproveUserID, ApproveTime
)
values (#{approveRecordID,jdbcType=VARCHAR}, #{tableName,jdbcType=VARCHAR}, #{keyID,jdbcType=VARCHAR},
#{statusDictionaryCode,jdbcType=VARCHAR}, #{statusID,jdbcType=INTEGER}, #{actionID,jdbcType=INTEGER},
#{comment,jdbcType=VARCHAR}, #{approveUserID,jdbcType=VARCHAR}, #{approveTime,jdbcType=TIMESTAMP}
)
insert into sys_approve_record
ApproveRecordID,
TableName,
KeyID,
StatusDictionaryCode,
StatusID,
ActionID,
Comment,
ApproveUserID,
ApproveTime,
#{approveRecordID,jdbcType=VARCHAR},
#{tableName,jdbcType=VARCHAR},
#{keyID,jdbcType=VARCHAR},
#{statusDictionaryCode,jdbcType=VARCHAR},
#{statusID,jdbcType=INTEGER},
#{actionID,jdbcType=INTEGER},
#{comment,jdbcType=VARCHAR},
#{approveUserID,jdbcType=VARCHAR},
#{approveTime,jdbcType=TIMESTAMP},
update sys_approve_record
ApproveRecordID = #{row.approveRecordID,jdbcType=VARCHAR},
TableName = #{row.tableName,jdbcType=VARCHAR},
KeyID = #{row.keyID,jdbcType=VARCHAR},
StatusDictionaryCode = #{row.statusDictionaryCode,jdbcType=VARCHAR},
StatusID = #{row.statusID,jdbcType=INTEGER},
ActionID = #{row.actionID,jdbcType=INTEGER},
Comment = #{row.comment,jdbcType=VARCHAR},
ApproveUserID = #{row.approveUserID,jdbcType=VARCHAR},
ApproveTime = #{row.approveTime,jdbcType=TIMESTAMP},
update sys_approve_record
set ApproveRecordID = #{row.approveRecordID,jdbcType=VARCHAR},
TableName = #{row.tableName,jdbcType=VARCHAR},
KeyID = #{row.keyID,jdbcType=VARCHAR},
StatusDictionaryCode = #{row.statusDictionaryCode,jdbcType=VARCHAR},
StatusID = #{row.statusID,jdbcType=INTEGER},
ActionID = #{row.actionID,jdbcType=INTEGER},
Comment = #{row.comment,jdbcType=VARCHAR},
ApproveUserID = #{row.approveUserID,jdbcType=VARCHAR},
ApproveTime = #{row.approveTime,jdbcType=TIMESTAMP}
update sys_approve_record
TableName = #{tableName,jdbcType=VARCHAR},
KeyID = #{keyID,jdbcType=VARCHAR},
StatusDictionaryCode = #{statusDictionaryCode,jdbcType=VARCHAR},
StatusID = #{statusID,jdbcType=INTEGER},
ActionID = #{actionID,jdbcType=INTEGER},
Comment = #{comment,jdbcType=VARCHAR},
ApproveUserID = #{approveUserID,jdbcType=VARCHAR},
ApproveTime = #{approveTime,jdbcType=TIMESTAMP},
where ApproveRecordID = #{approveRecordID,jdbcType=VARCHAR}
update sys_approve_record
set TableName = #{tableName,jdbcType=VARCHAR},
KeyID = #{keyID,jdbcType=VARCHAR},
StatusDictionaryCode = #{statusDictionaryCode,jdbcType=VARCHAR},
StatusID = #{statusID,jdbcType=INTEGER},
ActionID = #{actionID,jdbcType=INTEGER},
Comment = #{comment,jdbcType=VARCHAR},
ApproveUserID = #{approveUserID,jdbcType=VARCHAR},
ApproveTime = #{approveTime,jdbcType=TIMESTAMP}
where ApproveRecordID = #{approveRecordID,jdbcType=VARCHAR}