id,
site_id,
client_type,
form_name,
form_key,
form_content,
form_category,
status,
create_by,
update_by,
date_create,
date_update
INSERT INTO sc_task_form (
id,
site_id,
client_type,
form_name,
form_key,
form_content,
form_category,
status,
create_by,
update_by,
date_create,
date_update
) VALUES (
#{taskForm.id,jdbcType=INTEGER},
#{taskForm.siteId,jdbcType=INTEGER},
#{taskForm.clientType,jdbcType=VARCHAR},
#{taskForm.formName,jdbcType=VARCHAR},
#{taskForm.formKey,jdbcType=VARCHAR},
#{taskForm.formContent,jdbcType=VARCHAR},
#{taskForm.formCategory,jdbcType=VARCHAR},
#{taskForm.status,jdbcType=INTEGER},
#{taskForm.createBy,jdbcType=VARCHAR},
#{taskForm.updateBy,jdbcType=VARCHAR},
#{taskForm.dateCreate,jdbcType=TIMESTAMP},
#{taskForm.dateUpdate,jdbcType=TIMESTAMP}
)
INSERT INTO sc_task_form
id,
site_id,
form_name,
form_key,
form_content,
form_category,
status,
create_by,
update_by,
date_create,
date_update,
VALUES
#{taskForm.id,jdbcType=INTEGER},
#{taskForm.siteId,jdbcType=INTEGER},
#{taskForm.formName,jdbcType=VARCHAR},
#{taskForm.formKey,jdbcType=VARCHAR},
#{taskForm.formContent,jdbcType=VARCHAR},
#{taskForm.formCategory,jdbcType=VARCHAR},
#{taskForm.status,jdbcType=INTEGER},
#{taskForm.createBy,jdbcType=VARCHAR},
#{taskForm.updateBy,jdbcType=VARCHAR},
#{taskForm.dateCreate,jdbcType=TIMESTAMP},
#{taskForm.dateUpdate,jdbcType=TIMESTAMP},
INSERT INTO sc_task_form (
id,
site_id,
form_name,
form_key,
form_content,
form_category,
status,
create_by,
update_by,
date_create,
date_update
)VALUES
(
#{taskForm.id,jdbcType=INTEGER},
#{taskForm.siteId,jdbcType=INTEGER},
#{taskForm.formName,jdbcType=VARCHAR},
#{taskForm.formKey,jdbcType=VARCHAR},
#{taskForm.formContent,jdbcType=VARCHAR},
#{taskForm.formCategory,jdbcType=VARCHAR},
#{taskForm.status,jdbcType=INTEGER},
#{taskForm.createBy,jdbcType=VARCHAR},
#{taskForm.updateBy,jdbcType=VARCHAR},
#{taskForm.dateCreate,jdbcType=TIMESTAMP},
#{taskForm.dateUpdate,jdbcType=TIMESTAMP}
)
UPDATE sc_task_form
site_id= #{taskForm.siteId,jdbcType=INTEGER},
form_name= #{taskForm.formName,jdbcType=VARCHAR},
form_key= #{taskForm.formKey,jdbcType=VARCHAR},
form_content= #{taskForm.formContent,jdbcType=VARCHAR},
form_category= #{taskForm.formCategory,jdbcType=VARCHAR},
status= #{taskForm.status,jdbcType=INTEGER},
create_by= #{taskForm.createBy,jdbcType=VARCHAR},
update_by= #{taskForm.updateBy,jdbcType=VARCHAR},
date_create= #{taskForm.dateCreate,jdbcType=TIMESTAMP},
date_update= #{taskForm.dateUpdate,jdbcType=TIMESTAMP}
WHERE id = #{taskForm.id,jdbcType=INTEGER}