Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
@@ -23,6 +23,16 @@
|
||||
VALUES (#{id}, #{type}, #{status}, #{startAt}, now())
|
||||
</insert>
|
||||
|
||||
<!-- 에러 로그 insert -->
|
||||
<insert id="createError">
|
||||
<selectKey keyProperty="id" resultType="long" order="BEFORE">
|
||||
SELECT nextval('batch_log_seq')
|
||||
</selectKey>
|
||||
|
||||
INSERT INTO batch_log (id, type, status, error_message, start_at, created_at, created_host)
|
||||
VALUES (#{id}, #{type}, #{status}, #{errorMessage}, now(), now(), #{hostName})
|
||||
</insert>
|
||||
|
||||
<!-- 상태 업데이트 -->
|
||||
<update id="update">
|
||||
UPDATE batch_log
|
||||
|
||||
Reference in New Issue
Block a user