保存成功后二次保存

https://doc.rg1008.com/docs/rg_mapper/rg_mapper-1d3jc5a2pcl2k

saveSqlExtand


  "saveSqlExtand": {
    "bo-user-share": {
      "sortId": 1,
      "sqlUpdate": null,
      "sqlInsert": "insert into bo_user_share (from_first_share_id,from_second_share_id,user_id) values  (@_userFromFirstShareId,@_userFromSecondShareId,@userId);"
    },
    "account-to-user": {
      "sortId": 1,
      "sqlUpdate": "update bo_user_account tb_ua,bo_user tb_a set tb_a.user_pwd =tb_ua.user_pwd,tb_a.user_name =tb_ua.user_name,tb_a.nike_name =tb_ua.nike_name where tb_a.user_id = tb_ua.user_id and tb_ua.user_id=@userId",
      "sqlInsert": "",
      //"connName": "ConnBo"
    }
  },

“saveSqlExtand”: true,

文档更新时间: 2022-09-18 13:25   作者:admin