Commit 75c40a85 authored by 刘林's avatar 刘林

fix(jg):移装变更接口修改

parent 7f65dd8c
......@@ -150,8 +150,7 @@ public class JgChangeRegistrationReformController extends BaseController {
@RequestParam(value = "EQU_CATEGORY_CODE", required = false) String EQU_CATEGORY_CODE,
@RequestParam(value = "equList", required = false) String equList,
@RequestParam(value = "receiveCompanyCode") String receiveCompanyCode,
@RequestParam(value = "certificateStatus", required = false) String certificateStatus
) {
@RequestParam(value = "transferType", required = false) String transferType) {
JgUseRegistrationManageDto dto = new JgUseRegistrationManageDto();
Page<JgUseRegistrationManageDto> page = new Page<JgUseRegistrationManageDto>();
page.setCurrent(current);
......@@ -183,7 +182,7 @@ public class JgChangeRegistrationReformController extends BaseController {
dto.setReceiveCompanyCode(codes[0]);
}
}
dto.setCertificateStatus(!ObjectUtils.isEmpty(certificateStatus) ? certificateStatus : "已登记");
dto.setCertificateStatus("1".equals(transferType) ? "已注销" : "已登记");
return ResponseHelper.buildResponse(jgChangeRegistrationReformServiceImpl.getUseRegistrationCodeData(page, dto));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment