a.id AS "id", a.identification_flag AS "identificationFlag", a.sticker_no AS "stickerNo", a.sticker_class AS "stickerClass", a.create_by AS "createBy.id", a.create_date AS "createDate", a.update_by AS "updateBy.id", a.update_date AS "updateDate", a.remarks AS "remarks", a.del_flag AS "delFlag" INSERT INTO dog_sticker( id, identification_flag, sticker_no, sticker_class, create_by, create_date, update_by, update_date, remarks, del_flag ) VALUES ( #{id}, #{identificationFlag}, #{stickerNo}, #{stickerClass}, #{createBy.id}, #{createDate}, #{updateBy.id}, #{updateDate}, #{remarks}, #{delFlag} ) UPDATE dog_sticker SET identification_flag = #{identificationFlag}, sticker_no = #{stickerNo}, sticker_class = #{stickerClass}, update_by = #{updateBy.id}, update_date = #{updateDate}, remarks = #{remarks} WHERE id = #{id} UPDATE dog_sticker SET del_flag = #{DEL_FLAG_DELETE} WHERE id = #{id}