|
@ -492,7 +492,9 @@ public class CodeServiceImpl implements CodeService { |
|
|
public PageData history(CodeCommonFormDTO formDTO) { |
|
|
public PageData history(CodeCommonFormDTO formDTO) { |
|
|
PageHelper.startPage(formDTO.getPage(), formDTO.getLimit()); |
|
|
PageHelper.startPage(formDTO.getPage(), formDTO.getLimit()); |
|
|
//获取上传代码信息
|
|
|
//获取上传代码信息
|
|
|
List<CodeHistoryResultDTO> list = codeOperationHistoryService.getHistoryList(formDTO.getCodeId()); |
|
|
CodeCustomerDTO code = codeCustomerService.get(formDTO.getCodeId()); |
|
|
|
|
|
//获取上传代码信息
|
|
|
|
|
|
List<CodeHistoryResultDTO> list = codeOperationHistoryService.getHistoryList(code.getCustomerId(), code.getClientType()); |
|
|
PageInfo<CodeHistoryResultDTO> pageInfo = new PageInfo<>(list); |
|
|
PageInfo<CodeHistoryResultDTO> pageInfo = new PageInfo<>(list); |
|
|
return new PageData<>(list, pageInfo.getTotal()); |
|
|
return new PageData<>(list, pageInfo.getTotal()); |
|
|
} |
|
|
} |
|
|