|
版本: |
X5.2.7 |
小版本号: |
|
|
|
数据库: |
MS SQLServer |
服务器操作系统: |
Windows |
应用服务器: |
|
客户端操作系统: |
|
浏览器: |
|
|
|
本帖最后由 rookiefern 于 2018-5-25 11:39 编辑
我用ksql查询除了一个table: "select g.* from GZPL_BIZ_TRADING_SALES_CONTRACT_MATE g where g.fMasterID = :sData1";修改了table:- for(Iterator<Row> it = table.iterator(); it.hasNext();){
- Row row = it.next();
- row.setString("fMasterID", newID);
- row.setString("g", CommonUtils.createGUID());
- }
复制代码 然后我要把这个table插入到另一张表:GZPL_BIZ_TRADING_SALES_ORDER_MATE
这张表的结构和我查询table的表GZPL_BIZ_TRADING_SALES_CONTRACT_MATE 是一样的。
然后我这有保存数据:
BizData.save(table, "GZPL_BIZ_TRADING_SALES_ORDER_MATE", null, null, null, null, null, "/GZPL/trading/sales/data", null);
返回了0,没有保存任何数据。
请问要怎么保存?
|
|