{
  "responseField": {
    "global": {
      "dataFromType": "Database",
      "show": "comm_id",
      "auth": true
    },
    "manager": {
      //"show": "comm_id,comm_name,merc_id,supplier_id,retail_price,sale_price,unit,img_url,from_sale_type,merc_start_date,merc_end_date,merc_coupon,merc_discount,supplier_start_date,supplier_end_date,supplier_coupon,supplier_discount,tag,show_num,create_user_id,create_date,modify_user_id,modify_date,audit_status,audit_user_id,audit_date,opinion,content",
      // #region 显示字段扩展
      "bridgeColumnExtand": "files",
      "allExtand": "",
      // comm_id 转换 object_id 用于子表 ,comm_id object_id
      "showExtand": "'' files",
      "originalExtand": ""
      // #andregion 显示字段扩展
    },
    "manager_detail": {
      //"show": "comm_id,comm_name,merc_id,supplier_id,retail_price,sale_price,unit,img_url,from_sale_type,merc_start_date,merc_end_date,merc_coupon,merc_discount,supplier_start_date,supplier_end_date,supplier_coupon,supplier_discount,tag,show_num,audit_status,opinion,content",
      // #region 开启扩展入库配置
      "saveSqlExtand": true,
      // #endregion 开启扩展入库配置
      // #region 显示字段扩展
      "bridgeColumnExtand": "files",
      "allExtand": "",
      // comm_id 转换 object_id 用于子表 ,comm_id object_id
      "showExtand": "'' files",
      "originalExtand": "",
      // #andregion 显示字段扩展
      "fieldChild": {
        //1对多  11 情况下 继承操作
        //#region 1对多配置
        "files": {
          "moduleKey": "mall-commodity-file",
          "responseField": "file_detail",
          "showMethod": "child",
          "columnBridges": {}
        }
        //#endregion 1对多配置
      }
    }
  },
  // #region 开启扩展入库配置
  "saveSqlExtand": {
    "mall-commodity-audit": {
      "sortId": 1,
      "connName": "ConnMall",
      "sqlUpdate": null,
      "sqlInsert": "insert into mall_commodity_audit (audit_id,audit_user_name,audit_user_id,audit_status,audit_date,opinion,object_id) values  (@_primaryIdV,@_userPushName,@_userId,@auditStatus,@_currentDate,@opinion,@commId);"
    }
  }
  // #endregion 开启扩展入库配置
}
文档更新时间: 2022-02-04 15:59   作者:admin