Commit 2ea79836 by 林永健

feat(learningcenter): 添加等级考试职务品牌查询请求类

- 创建了 LevelExamPositionBrandQueryRequest 请求类
- 修改 queryPositionBrandOptions 方法参数类型
- 添加请求转换逻辑将 QueryRequest 转为 Request 对象
1 parent d1899f68
......@@ -268,9 +268,10 @@ public class LevelExamController {
@ApiOperation("等级考试-根据职务查询品牌筛选选项")
@ServiceMethod(method = "risk.manage.api.level.exam.position.brand.query", needInSession = NeedInSessionType.YES)
public RopResponse<List<LevelExamPositionBrandResponse>> queryPositionBrandOptions(LevelExamPositionBrandRequest request) {
public RopResponse<List<LevelExamPositionBrandResponse>> queryPositionBrandOptions(LevelExamPositionBrandQueryRequest request) {
try {
RpcResponse<List<LevelExamPositionBrandResponse>> response = levelExamRemote.queryPositionBrandOptions(request);
LevelExamPositionBrandRequest req = CommonUtil.convertRequest(LevelExamPositionBrandRequest.class);
RpcResponse<List<LevelExamPositionBrandResponse>> response = levelExamRemote.queryPositionBrandOptions(req);
return CommonUtil.convertRopResponse(response);
} catch (RpcServiceException e) {
log.info("risk.manage.api.level.exam.position.brand.query.exception!", e);
......
package cn.com.glsx.dj.riskmanage.request.learningcenter;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
@Data
@EqualsAndHashCode(callSuper = true)
public class LevelExamPositionBrandQueryRequest extends AbstractRopRequest {
/**
* 职务名称
*/
@ApiModelProperty(notes = "职务名称")
private String positionName;
}
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!