mg
2022-10-21 11ccf7821465570b887c05f41104e8f486d1f12f
更新图片资源
3个文件已修改
24 ■■■■■ 已修改文件
ycl-platform/src/main/java/com/ycl/entity/caseHandler/DispatchInfo.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/java/com/ycl/entity/common/ImageResources.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/java/com/ycl/service/caseHandler/impl/BaseCaseServiceImpl.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/java/com/ycl/entity/caseHandler/DispatchInfo.java
@@ -33,7 +33,7 @@
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    private Long id;
    /**
     * 案件id(同ums_base_case表id)
     */
ycl-platform/src/main/java/com/ycl/entity/common/ImageResources.java
@@ -14,7 +14,7 @@
/**
 * <p>
 * 类说明
 * 图片资源
 * </p>
 *
 * @author mg
@@ -31,31 +31,37 @@
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id",dataType = "Integer")
    private Integer id;
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 所属Id
     */
    @TableField("belong_to_id")
    @ApiModelProperty(value = "所属Id")
    private Long belongToId;
    /**
     * 图片类型
     */
    @TableField("type")
    @ApiModelProperty(value = "图片类型",dataType = "String")
    @ApiModelProperty(value = "图片类型")
    private String type;
    /**
     * 路径
     */
    @TableField("url")
    @ApiModelProperty(value = "路径",dataType = "String")
    @ApiModelProperty(value = "路径")
    private String url;
    /**
     * 创建人
     */
    @TableField("create_user")
    @ApiModelProperty(value = "创建人",dataType = "Integer")
    @ApiModelProperty(value = "创建人")
    private Integer createUser;
    /**
     * 创建时间
     */
    @TableField("create_time")
    @ApiModelProperty(value = "创建时间",dataType = "Date")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
ycl-platform/src/main/java/com/ycl/service/caseHandler/impl/BaseCaseServiceImpl.java
@@ -320,7 +320,7 @@
        //3.查询案卷图片信息
        FilesPictureVo filesPictureVo = new FilesPictureVo();
        QueryWrapper<ImageResources> wrapperIr = new QueryWrapper<>();
        wrapperIr.lambda().eq(ImageResources::getType, "01").or().eq(ImageResources::getType, "02");
        wrapperIr.lambda().eq(ImageResources::getBelongToId,baseCase.getId());
        List<ImageResources> irs = imageResourcesMapper.selectList(wrapperIr);
        filesPictureVo.setImageResources(irs);
        bcd.setFilesPictureVo(filesPictureVo);