Skip to content

Escape character ERROR #1812

Closed
Closed
@WUWEI111222333

Description

@WUWEI111222333

if sql contains a Escape character like ''' ,the parse will occur error
the sql is :
INSERT INTO recycle_record (id,order_no,site_id,ic_no,ic_card_id,provider_id,car_no,trace_source_code,trade_time,in_time,out_time,weight_gross,weight_tare,weight_net,weight_deduct,weight_settlement,product_code,product_name,product_type,deduct,price,total,rater,rater_id,reviewer,reviewer_id,reviewer_time,pay_status,pay_method,pay_time,deleted,data_source,equipment_code,equipment_id,create_time,modify_time,payer_id,payer_name,remark,project_id,data_type,creator_id,creator_name,bno,receiving_name,receiving_account,pay_amount,data_sync,batch_no,pay_review_id,pay_review_name,pay_msg,pay_review_time,adjustment_status,ic_name,ic_card_type,reviewer_mode,inventory_channel,third_data_push_status,quality_order_no) VALUES (262846,'RK20230625000316',30013,'LYZH13589001',270005,180036,'',NULL,'2023-06-25 00:00:00.000',NULL,NULL,210.00,0.00,210.00,NULL,210.00,'A00','纸张',1,NULL,0.800,168.00,NULL,NULL,'',NULL,'2023-06-25 11:26:00',3,4,'2023-06-25 23:24:45',0,3,NULL,NULL,'2023-06-25 11:25:38','2023-06-25 23:24:44',30525,'傅益玲',''',NULL,2,NULL,NULL,'83653692186728700711687663398101','','',0.00,2,NULL,NULL,NULL,NULL,NULL,0,'董建军',1,2,2,0,NULL);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions