<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ## 一、概述 有時候同一個實體,在不同業務中,需要將字段改為另外一個名字顯示; ## 二、解決方案 在controller中,加上配置; ``` @RayDynamicRenameFieldsInListEntityGroup({ // @RayDynamicRenameFieldsInListEntity(renameFieldPairs = "showUsedFlow:usedFlow;showLeftFlow:leftFlow;showFlowQuota:flowQuota")// }) ``` ## 三、完整方案 可以支持分頁、普通列表以及單個實體的字段改名,支持多重組合等; 分頁: ``` @RayDynamicRenameFieldsInPageEntityGroup @RayDynamicRenameFieldsInPageEntity ``` 普通列表: ``` @RayDynamicRenameFieldsInListEntityGroup @RayDynamicRenameFieldsInListEntity ``` 單個實體: ``` @RayDynamicRenameFieldsInSingleEntityGroup @RayDynamicRenameFieldsInSingleEntity ``` 其他一些注意事項可以類比參考:[項目實戰/后端開發/返回結果處理/返回字段過濾](%E8%BF%94%E5%9B%9E%E5%AD%97%E6%AE%B5%E8%BF%87%E6%BB%A4.md) ## 四、組合使用實例 ``` @PostMapping(RayOauthServerConstants.rayOauthApiUrlPrefix + apiRequestSimpleUrl) @RayDynamicFilterFieldsInListEntityGroup({ // @RayDynamicFilterFieldsInListEntity(listObject = "listobject", excludeFields = "relaxRate,executeRate,usedFlow,leftFlow,flowQuota"), // @RayDynamicFilterFieldsInListEntity(listObject = "historyList", excludeFields = "relaxRate,executeRate,usedFlow,leftFlow,flowQuota")// }) @RayDynamicRenameFieldsInListEntityGroup({ // @RayDynamicRenameFieldsInListEntity(listObject = "listobject", renameFieldPairs = "showUsedFlow:usedFlow;showLeftFlow:leftFlow;showFlowQuota:flowQuota"), // @RayDynamicRenameFieldsInListEntity(listObject = "historyList", renameFieldPairs = "showUsedFlow:usedFlow;showLeftFlow:leftFlow;showFlowQuota:flowQuota")// }) public ResponseEntity<ResponseObject> view(@RequestHeader(required = false) String rayOauthServerAppId, @RequestHeader(required = false) String rayOauthServerTimeStamp, @RequestHeader(required = false) String rayOauthServerSignature, @RequestParam(required = false) String userCode) throws Exception { return ResponseEntity.ok(commonQueryFlow.response(getOauthClient(), getOauthApi(), getOauthApiRequest(), getOauthRequestParameters())); } ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看