diwenzheng commented on issue #2569:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/2569#issuecomment-917320908


   指的是jsonProperty. 
   
       @GetMapping("/")
       @CommonResponseResult
       @ResponseBody
       public ResponseResult queryLicenseInfo()
       {
           return succ(licenseService.queryLicenseInfo());
       }
   
   
   
   public License queryLicenseInfo() {
   
           LicInfo licInfo = infoMapper.queryByLicense();
   
           if (licInfo == null) {
               return License.builder().build();
           }
   
           List<ControlItem> controlItems = 
controlItemMapper.queryByControlItemsById(licInfo.getId());
   
           return License.builder().licInfo(licInfo).controlItems(controlItems)
                   .build();
       }
   代码很简单,普通查询


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to