id,
name,
type,
status,
create_date,
create_by,
update_date,
update_by
INSERT INTO sc_device_manufacturer (
id,
name,
type,
status,
create_date,
create_by,
update_date,
update_by
) VALUES (
#{deviceManufacturer.id,jdbcType=INTEGER},
#{deviceManufacturer.name,jdbcType=VARCHAR},
#{deviceManufacturer.type,jdbcType=INTEGER},
#{deviceManufacturer.status,jdbcType=INTEGER},
#{deviceManufacturer.createDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.createBy,jdbcType=VARCHAR},
#{deviceManufacturer.updateDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.updateBy,jdbcType=VARCHAR}
)
INSERT INTO sc_device_manufacturer
id,
name,
type,
status,
create_date,
create_by,
update_date,
update_by
VALUES
#{deviceManufacturer.id,jdbcType=INTEGER},
#{deviceManufacturer.name,jdbcType=VARCHAR},
#{deviceManufacturer.type,jdbcType=INTEGER},
#{deviceManufacturer.status,jdbcType=INTEGER},
#{deviceManufacturer.createDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.createBy,jdbcType=VARCHAR},
#{deviceManufacturer.updateDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.updateBy,jdbcType=VARCHAR}
INSERT INTO sc_device_manufacturer(
id,
name,
type,
status,
create_date,
create_by,
update_date,
update_by
)VALUES
(
#{deviceManufacturer.id,jdbcType=INTEGER},
#{deviceManufacturer.name,jdbcType=VARCHAR},
#{deviceManufacturer.type,jdbcType=INTEGER},
#{deviceManufacturer.status,jdbcType=INTEGER},
#{deviceManufacturer.createDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.createBy,jdbcType=VARCHAR},
#{deviceManufacturer.updateDate,jdbcType=TIMESTAMP},
#{deviceManufacturer.updateBy,jdbcType=VARCHAR}
)
UPDATE sc_device_manufacturer
id = #{deviceManufacturer.id,jdbcType=INTEGER},
name = #{deviceManufacturer.name,jdbcType=VARCHAR},
type = #{deviceManufacturer.type,jdbcType=INTEGER},
status = #{deviceManufacturer.status,jdbcType=INTEGER},
create_date = #{deviceManufacturer.createDate,jdbcType=TIMESTAMP},
create_by = #{deviceManufacturer.createBy,jdbcType=VARCHAR},
update_date = #{deviceManufacturer.updateDate,jdbcType=TIMESTAMP},
update_by = #{deviceManufacturer.updateBy,jdbcType=VARCHAR}
WHERE id = #{deviceManufacturer.id,jdbcType=INTEGER}