实用工具,文件中心增加项目id
This commit is contained in:
@ -37,6 +37,11 @@ public class BusSygj extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String gjUrl;
|
private String gjUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 图片id
|
* 图片id
|
||||||
|
|||||||
@ -37,6 +37,10 @@ public class BusWjzx extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String wjId;
|
private String wjId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -36,6 +36,11 @@ public class BusSygjBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String gjUrl;
|
private String gjUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
private Long imgId;
|
private Long imgId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -31,6 +31,11 @@ public class BusWjzxBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private String wjm;
|
private String wjm;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文件上传路径
|
* 文件上传路径
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -46,6 +46,11 @@ public class BusSygjVo implements Serializable {
|
|||||||
@ExcelProperty(value = "工具路径")
|
@ExcelProperty(value = "工具路径")
|
||||||
private String gjUrl;
|
private String gjUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 审核标志
|
* 审核标志
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -46,6 +46,11 @@ public class BusWjzxVo implements Serializable {
|
|||||||
@ExcelProperty(value = "文件上传路径")
|
@ExcelProperty(value = "文件上传路径")
|
||||||
private String wjId;
|
private String wjId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目id
|
||||||
|
*/
|
||||||
|
private Long projectId;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文件描述
|
* 文件描述
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -90,6 +90,7 @@ public class BusSygjServiceImpl extends ServiceImpl<BusSygjMapper, BusSygj> impl
|
|||||||
lqw.eq(StringUtils.isNotBlank(bo.getAuditStatus()), BusSygj::getAuditStatus, bo.getAuditStatus());
|
lqw.eq(StringUtils.isNotBlank(bo.getAuditStatus()), BusSygj::getAuditStatus, bo.getAuditStatus());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getType()), BusSygj::getType, bo.getType());
|
lqw.eq(StringUtils.isNotBlank(bo.getType()), BusSygj::getType, bo.getType());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getGnms()), BusSygj::getGnms, bo.getGnms());
|
lqw.eq(StringUtils.isNotBlank(bo.getGnms()), BusSygj::getGnms, bo.getGnms());
|
||||||
|
lqw.eq(bo.getProjectId() != null , BusSygj::getProjectId, bo.getProjectId());
|
||||||
lqw.eq(bo.getCreateBy() != null, BusSygj::getCreateBy, bo.getCreateBy());
|
lqw.eq(bo.getCreateBy() != null, BusSygj::getCreateBy, bo.getCreateBy());
|
||||||
return lqw;
|
return lqw;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -98,6 +98,7 @@ public class BusWjzxServiceImpl extends ServiceImpl<BusWjzxMapper, BusWjzx> impl
|
|||||||
LambdaQueryWrapper<BusWjzx> lqw = Wrappers.lambdaQuery();
|
LambdaQueryWrapper<BusWjzx> lqw = Wrappers.lambdaQuery();
|
||||||
lqw.orderByDesc(BusWjzx::getId);
|
lqw.orderByDesc(BusWjzx::getId);
|
||||||
lqw.like(StringUtils.isNotBlank(bo.getWjm()), BusWjzx::getWjm, bo.getWjm());
|
lqw.like(StringUtils.isNotBlank(bo.getWjm()), BusWjzx::getWjm, bo.getWjm());
|
||||||
|
lqw.eq(bo.getProjectId() != null, BusWjzx::getProjectId, bo.getProjectId());
|
||||||
lqw.eq(StringUtils.isNotBlank(bo.getAuditStatus()), BusWjzx::getAuditStatus, bo.getAuditStatus());
|
lqw.eq(StringUtils.isNotBlank(bo.getAuditStatus()), BusWjzx::getAuditStatus, bo.getAuditStatus());
|
||||||
lqw.eq(bo.getCreateBy() != null, BusWjzx::getCreateBy, bo.getCreateBy());
|
lqw.eq(bo.getCreateBy() != null, BusWjzx::getCreateBy, bo.getCreateBy());
|
||||||
return lqw;
|
return lqw;
|
||||||
|
|||||||
Reference in New Issue
Block a user