INSERT INTO text (text_id
,text_cnt
,reg_dt
,file_mng_id
,text_type_id
) VALUES (#{textId}
,#{textCnt}
,now()
,#{fileMngId}
,#{textTypeId}
);
UPDATE text
SET text_cnt = #{textCnt}
, file_mng_id = #{fileMngId}
, text_type_id = #{textTypeId}
WHERE text_id = #{textId}
DELETE FROM text
WHERE text_id = #{textId}