id, site_id, customer_name, customer_phone, customer_contact_person, remark, `status`, customer_org_id, push_url, customer_no, token, date_create, date_update, create_by, update_by delete from sc_customer where id = #{id,jdbcType=INTEGER} insert into sc_customer (site_id, customer_name, customer_phone, customer_contact_person, remark, `status`, customer_org_id, push_url, customer_no, token, date_create, date_update, create_by, update_by) values (#{siteId,jdbcType=INTEGER}, #{customerName,jdbcType=VARCHAR}, #{customerPhone,jdbcType=VARCHAR}, #{customerContactPerson,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{customerOrgId,jdbcType=INTEGER}, #{pushUrl,jdbcType=VARCHAR}, #{customerNo,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR}, #{dateCreate,jdbcType=TIMESTAMP}, #{dateUpdate,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}) insert into sc_customer site_id, customer_name, customer_phone, customer_contact_person, remark, `status`, customer_org_id, push_url, customer_no, token, date_create, date_update, create_by, update_by, #{siteId,jdbcType=INTEGER}, #{customerName,jdbcType=VARCHAR}, #{customerPhone,jdbcType=VARCHAR}, #{customerContactPerson,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{customerOrgId,jdbcType=INTEGER}, #{pushUrl,jdbcType=VARCHAR}, #{customerNo,jdbcType=VARCHAR}, #{token,jdbcType=VARCHAR}, #{dateCreate,jdbcType=TIMESTAMP}, #{dateUpdate,jdbcType=TIMESTAMP}, #{createBy,jdbcType=VARCHAR}, #{updateBy,jdbcType=VARCHAR}, update sc_customer site_id = #{siteId,jdbcType=INTEGER}, customer_name = #{customerName,jdbcType=VARCHAR}, customer_phone = #{customerPhone,jdbcType=VARCHAR}, customer_contact_person = #{customerContactPerson,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER}, customer_org_id = #{customerOrgId,jdbcType=INTEGER}, push_url = #{pushUrl,jdbcType=VARCHAR}, customer_no = #{customerNo,jdbcType=VARCHAR}, token = #{token,jdbcType=VARCHAR}, date_create = #{dateCreate,jdbcType=TIMESTAMP}, date_update = #{dateUpdate,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update sc_customer set site_id = #{siteId,jdbcType=INTEGER}, customer_name = #{customerName,jdbcType=VARCHAR}, customer_phone = #{customerPhone,jdbcType=VARCHAR}, customer_contact_person = #{customerContactPerson,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, `status` = #{status,jdbcType=INTEGER}, customer_org_id = #{customerOrgId,jdbcType=INTEGER}, push_url = #{pushUrl,jdbcType=VARCHAR}, customer_no = #{customerNo,jdbcType=VARCHAR}, token = #{token,jdbcType=VARCHAR}, date_create = #{dateCreate,jdbcType=TIMESTAMP}, date_update = #{dateUpdate,jdbcType=TIMESTAMP}, create_by = #{createBy,jdbcType=VARCHAR}, update_by = #{updateBy,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}