Commit ed30d013 by 叶立庆

Merge branch 'v5.8.6' into 'master'

上线合并

See merge request !3
2 parents dad40ad8 2ea79836
......@@ -15,7 +15,7 @@
<dependency>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-riskmanage-api</artifactId>
<version>5.8.1-SNAPSHOT</version>
<version>5.8.6-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cn.com.glsx.dj</groupId>
......
......@@ -9,6 +9,7 @@ import cn.com.glsx.dj.riskmanage.response.learningcenter.LevelExamDetailResponse
import cn.com.glsx.dj.riskmanage.response.learningcenter.LevelExamExportVO;
import cn.com.glsx.dj.riskmanage.response.learningcenter.LevelExamPageListResponse;
import cn.com.glsx.dj.riskmanage.response.learningcenter.LevelExamPersonDataExportVO;
import cn.com.glsx.dj.riskmanage.dto.learningcenter.LevelExamPositionBrandResponse;
import cn.com.glsx.dj.riskmanage.utils.CommonUtil;
import cn.com.glsx.dj.riskmanage.utils.excel.EasyExcelUtil;
import cn.com.glsx.dj.smartcarlife.dto.LoginUserDTO;
......@@ -265,4 +266,20 @@ public class LevelExamController {
}
}
@ApiOperation("等级考试-根据职务查询品牌筛选选项")
@ServiceMethod(method = "risk.manage.api.level.exam.position.brand.query", needInSession = NeedInSessionType.YES)
public RopResponse<List<LevelExamPositionBrandResponse>> queryPositionBrandOptions(LevelExamPositionBrandQueryRequest request) {
try {
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);
return RopResponse.error(e);
} catch (Exception e) {
log.info("risk.manage.api.level.exam.position.brand.query.exception!", e);
return RopResponse.result(DefaultErrorEnum.SERVICE_ERROR);
}
}
}
......@@ -73,4 +73,10 @@ public class LevelExamAddRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "考试等级")
private List<LevelExamLevelRequest> levelExamLevels;
@ApiModelProperty(notes = "品牌ID列表(逗号分隔)")
private String brandIds;
@ApiModelProperty(notes = "品牌名称列表(逗号分隔)")
private String brandNames;
}
\ No newline at end of file
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
......@@ -73,4 +73,10 @@ public class LevelExamUpdateRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "考试等级")
private List<LevelExamLevelRequest> levelExamLevels;
@ApiModelProperty(notes = "品牌ID列表(逗号分隔)")
private String brandIds;
@ApiModelProperty(notes = "品牌名称列表(逗号分隔)")
private String brandNames;
}
\ No newline at end of file
......@@ -102,5 +102,10 @@ public class LevelExamDetailResponse implements Serializable {
@ApiModelProperty(notes = "生效方式 (1:立即生效, 2:定时生效)")
private Byte effectiveType;
@ApiModelProperty(notes = "品牌ID列表(逗号分隔)")
private String brandIds;
@ApiModelProperty(notes = "品牌名称列表(逗号分隔)")
private String brandNames;
}
......@@ -53,6 +53,12 @@ public class LevelExamExportVO {
@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
private Date createdDate;
@ExcelProperty("品牌ID")
private String brandIds;
@ExcelProperty("品牌名称")
private String brandNames;
@ExcelProperty("生效时间")
@DateTimeFormat("yyyy-MM-dd HH:mm:ss")
private Date effectiveTime;
......
......@@ -40,6 +40,12 @@ public class LevelExamPageListResponse implements Serializable {
@ApiModelProperty(notes = "职务名称")
private String positionName;
@ApiModelProperty(notes = "品牌ID列表(逗号分隔)")
private String brandIds;
@ApiModelProperty(notes = "品牌名称列表(逗号分隔)")
private String brandNames;
/**
* 考试时间
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!