通过自己写的Action 进行数据插入,想实现从A表查询数据插入B表中,可是那个data只填写一个呀,应该怎么解决 代码如下
sql = " INSERT INTO ddt_assignment_project (fID,version,project_id_ass,tnumber,tname,description,org_id,status,amount,aror,paymentype,financing_term,targetType,loan_purpose,funds_operation,"+
"venturecapital_description,start_time,end_time,finish_time,createor,create_time,modifier,modified_time,remarks,service_rate,manage_rate,guarantee_rate,loan_period,file_content,file_path,apply_company_id)"+
"SELECT fID,version,project_id,tnumber,tname,description,org_id,status,amount,aror,paymentype,financing_term,targetType,loan_purpose,funds_operation,venturecapital_description,start_time,end_time,finish_time,"+
"createor,create_time,modifier,modified_time,remarks,service_rate,manage_rate,guarantee_rate,loan_period,file_content,file_path,apply_user_id FROM ddt_direct_project WHERE tnumber = 'ZT00000194' " ;
KSQL.executeUpdate(sql, null, "/loan/assignmentApply/data", null);
这个KSQL执行之后会报错,求大神帮帮忙呀...在线等!!!
|