提交 dbc6ef99 编写于 作者: sq3536's avatar sq3536

提交

上级 0b487594
......@@ -233,7 +233,7 @@ public class LiteCoreResource {
@RequestMapping(method = RequestMethod.GET, value = "/lite/{system}/metaentitys")
public ResponseEntity<List<MetaEntity>> getMetaEntitys(@PathVariable("system") String system) {
return ResponseEntity.status(HttpStatus.OK).body(metaEntityService.list());
return ResponseEntity.status(HttpStatus.OK).body(metaEntityService.list(Wrappers.<MetaEntity>lambdaQuery().eq(MetaEntity::getSystemId,system)));
}
@RequestMapping(method = RequestMethod.GET, value = "/lite/{system}/metafieles")
......
......@@ -2,6 +2,7 @@ package cn.ibizlab.util.client;
import cn.ibizlab.util.dict.CodeList;
import com.alibaba.fastjson.JSONArray;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
......@@ -14,7 +15,7 @@ public interface IBZDictFeignClient
@RequestMapping(method = RequestMethod.POST, value = "/dictionarys/catalogs/sync")
Boolean syncRuntimeDict(@RequestBody JSONArray catalogs);
@Cacheable( value="dictcatalog",key = "'codelist:'+#p0")
@RequestMapping(method = RequestMethod.GET, value = "/dictionarys/codelist/{code}")
CodeList getCodeList(@PathVariable("code") String code);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册