|
@ -54,7 +54,7 @@ public class AdapterController extends BaseController {
|
|
|
@RequestParam(value = "rows", required = false) Integer rows,
|
|
|
@ApiParam(name = "page", value = "Start position of result set. Must be an integer")
|
|
|
@RequestParam(value = "page", required = false) Integer page) {
|
|
|
return adapterSchemeService.getEntityList(AdapterSchemeModel.class, condition, order, rows, page - 1, ErrorCode.GetSchemeListFailed);
|
|
|
return adapterSchemeService.getEntityList(AdapterSchemeModel.class, condition, order, rows, page, ErrorCode.GetSchemeListFailed);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@ -130,7 +130,7 @@ public class AdapterController extends BaseController {
|
|
|
@RequestParam(value = "rows", required = false) Integer rows,
|
|
|
@ApiParam(name = "page", value = "Start position of result set. Must be an integer")
|
|
|
@RequestParam(value = "page", required = false) Integer page) {
|
|
|
List<StandardModel> standardModelList = standardService.getList(condition, order, rows, page - 1);
|
|
|
List<StandardModel> standardModelList = standardService.getList(condition, order, rows, page);
|
|
|
DictionaryResult dictionaryResult = new DictionaryResult();
|
|
|
List<DictItem> detailModelList = new ArrayList<DictItem>();
|
|
|
for(StandardModel standardModel : standardModelList){
|
|
@ -153,8 +153,6 @@ public class AdapterController extends BaseController {
|
|
|
@RequestMapping(value = "/getVersions")
|
|
|
@ApiOperation(value = "获取标准版本列表", response = DictionaryResult.class, produces = "application/json", notes = "获取标准版本列表")
|
|
|
public DictionaryResult getVersionList(
|
|
|
@ApiParam(name = "apiVersion", value = "API版本号", defaultValue = "v1.0")
|
|
|
@PathVariable(value = "apiVersion") String apiVersion,
|
|
|
@ApiParam(name = "standardId", value = "标准ID")
|
|
|
@RequestParam(value = "standardId") Integer standardId,
|
|
|
@ApiParam(name = "condition", value = "Must be Json")
|
|
@ -165,7 +163,7 @@ public class AdapterController extends BaseController {
|
|
|
@RequestParam(value = "rows", required = false) Integer rows,
|
|
|
@ApiParam(name = "page", value = "Start position of result set. Must be an integer")
|
|
|
@RequestParam(value = "page", required = false) Integer page) {
|
|
|
List<StandardVersionModel> standardVersionModelList = standardVersionService.getList(standardId, condition, order, rows, page - 1);
|
|
|
List<StandardVersionModel> standardVersionModelList = standardVersionService.getVersionList(standardId, condition, order, rows, page);
|
|
|
DictionaryResult dictionaryResult = new DictionaryResult();
|
|
|
List<DictItem> detailModelList = new ArrayList<DictItem>();
|
|
|
for(StandardVersionModel standardVersionModel : standardVersionModelList){
|
|
@ -196,7 +194,7 @@ public class AdapterController extends BaseController {
|
|
|
@RequestParam(value = "rows", required = false) Integer rows,
|
|
|
@ApiParam(name = "page", value = "Start position of result set. Must be an integer")
|
|
|
@RequestParam(value = "page", required = false) Integer page) {
|
|
|
List<SystemOrganization> stdPublisherModelList = stdPublisherService.getList(condition, order, rows, page - 1);
|
|
|
List<SystemOrganization> stdPublisherModelList = stdPublisherService.getList(condition, order, rows, page);
|
|
|
DictionaryResult dictionaryResult = new DictionaryResult();
|
|
|
List<DictItem> detailModelList = new ArrayList<DictItem>();
|
|
|
for(SystemOrganization systemOrganization : stdPublisherModelList){
|