This commit is contained in:
parent
6ede822c35
commit
c66c81b434
@ -56,7 +56,22 @@ public class CleanOrder extends TenantEntity {
|
|||||||
* 单价
|
* 单价
|
||||||
*/
|
*/
|
||||||
private Double prices;
|
private Double prices;
|
||||||
|
/**
|
||||||
|
* 保洁类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 评价
|
||||||
|
*/
|
||||||
|
private Integer serviceEvalua;
|
||||||
|
/**
|
||||||
|
* 评价文本
|
||||||
|
*/
|
||||||
|
private String serviceEvaluaText;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
/**
|
/**
|
||||||
* 总价
|
* 总价
|
||||||
*/
|
*/
|
||||||
|
@ -32,6 +32,16 @@ public class Meet extends TenantEntity {
|
|||||||
* 会议室名称
|
* 会议室名称
|
||||||
*/
|
*/
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 会议室类型(
|
||||||
|
* 1标准会议室
|
||||||
|
* 2培训会议室
|
||||||
|
* 3治谈会议室
|
||||||
|
* 4多媒体会议室
|
||||||
|
* 5圆形会议室
|
||||||
|
* 6贵宾会议室)
|
||||||
|
*/
|
||||||
|
private String meetingRoomType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 位置
|
* 位置
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package org.dromara.property.domain;
|
package org.dromara.property.domain;
|
||||||
|
|
||||||
|
import cn.idev.excel.annotation.ExcelProperty;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@ -38,7 +39,10 @@ public class ServiceWorkOrders extends TenantEntity {
|
|||||||
* 工单名称
|
* 工单名称
|
||||||
*/
|
*/
|
||||||
private String orderName;
|
private String orderName;
|
||||||
|
/**
|
||||||
|
* 权重
|
||||||
|
*/
|
||||||
|
private String processingWeight;
|
||||||
/**
|
/**
|
||||||
* 工单类型
|
* 工单类型
|
||||||
*/
|
*/
|
||||||
@ -74,6 +78,7 @@ public class ServiceWorkOrders extends TenantEntity {
|
|||||||
*/
|
*/
|
||||||
private String location;
|
private String location;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 计划完成时间
|
* 计划完成时间
|
||||||
*/
|
*/
|
||||||
@ -88,6 +93,18 @@ public class ServiceWorkOrders extends TenantEntity {
|
|||||||
* 评价
|
* 评价
|
||||||
*/
|
*/
|
||||||
private Integer serviceEvalua;
|
private Integer serviceEvalua;
|
||||||
|
/**
|
||||||
|
* 评价文本
|
||||||
|
*/
|
||||||
|
private String serviceEvaluaText;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否超时
|
* 是否超时
|
||||||
|
@ -84,6 +84,13 @@ public class TbRoom extends TenantEntity {
|
|||||||
* 状态('空置','已售','已租','自用')
|
* 状态('空置','已售','已租','自用')
|
||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 是否重要(1非常重要、2重要、3一般)
|
||||||
|
*/
|
||||||
|
private String isMatter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否重要(1非常重要、2重要、3一般)
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,11 @@ public class CleanOrderBo extends BaseEntity {
|
|||||||
* 面积
|
* 面积
|
||||||
*/
|
*/
|
||||||
private Double area;
|
private Double area;
|
||||||
|
/**
|
||||||
|
* 保洁类型
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "保洁类型不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||||
|
private String type;
|
||||||
/**
|
/**
|
||||||
* 保洁id
|
* 保洁id
|
||||||
*/
|
*/
|
||||||
@ -91,6 +95,18 @@ public class CleanOrderBo extends BaseEntity {
|
|||||||
* 单位id
|
* 单位id
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "单位id不能为空", groups = {AddGroup.class, EditGroup.class})
|
@NotNull(message = "单位id不能为空", groups = {AddGroup.class, EditGroup.class})
|
||||||
|
/**
|
||||||
|
* 评价
|
||||||
|
*/
|
||||||
|
private Integer serviceEvalua;
|
||||||
|
/**
|
||||||
|
* 评价文本
|
||||||
|
*/
|
||||||
|
private String serviceEvaluaText;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
private Long unitId;
|
private Long unitId;
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
package org.dromara.property.domain.bo;
|
package org.dromara.property.domain.bo;
|
||||||
|
|
||||||
|
import cn.idev.excel.annotation.ExcelProperty;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import org.dromara.property.domain.Meet;
|
import org.dromara.property.domain.Meet;
|
||||||
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
||||||
@ -35,7 +36,17 @@ public class MeetBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
@NotBlank(message = "会议室名称不能为空")
|
@NotBlank(message = "会议室名称不能为空")
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 会议室类型(
|
||||||
|
* 1标准会议室
|
||||||
|
* 2培训会议室
|
||||||
|
* 3治谈会议室
|
||||||
|
* 4多媒体会议室
|
||||||
|
* 5圆形会议室
|
||||||
|
* 6贵宾会议室)
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "会议室类型不能为空")
|
||||||
|
private String meetingRoomType;
|
||||||
/**
|
/**
|
||||||
* 位置
|
* 位置
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package org.dromara.property.domain.bo;
|
package org.dromara.property.domain.bo;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.idev.excel.annotation.ExcelProperty;
|
||||||
import io.github.linpeilie.annotations.AutoMapper;
|
import io.github.linpeilie.annotations.AutoMapper;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@ -38,7 +39,11 @@ public class ServiceWorkOrdersBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
@NotNull(message = "工单名称不能为空", groups = { EditGroup.class })
|
@NotNull(message = "工单名称不能为空", groups = { EditGroup.class })
|
||||||
private String orderName;
|
private String orderName;
|
||||||
|
/**
|
||||||
|
* 权重
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "权重")
|
||||||
|
private String processingWeight;
|
||||||
/**
|
/**
|
||||||
* 工单类型
|
* 工单类型
|
||||||
*/
|
*/
|
||||||
@ -76,7 +81,7 @@ public class ServiceWorkOrdersBo extends BaseEntity {
|
|||||||
/**
|
/**
|
||||||
* 计划完成时间
|
* 计划完成时间
|
||||||
*/
|
*/
|
||||||
@NotNull(message = "计划完成时间不能为空", groups = { EditGroup.class })
|
//@NotNull(message = "计划完成时间不能为空", groups = { EditGroup.class })
|
||||||
private Date planCompleTime;
|
private Date planCompleTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -88,6 +93,18 @@ public class ServiceWorkOrdersBo extends BaseEntity {
|
|||||||
* 评价
|
* 评价
|
||||||
*/
|
*/
|
||||||
private Integer serviceEvalua;
|
private Integer serviceEvalua;
|
||||||
|
/**
|
||||||
|
* 评价文本
|
||||||
|
*/
|
||||||
|
private String serviceEvaluaText;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否超时
|
* 是否超时
|
||||||
|
@ -71,5 +71,12 @@ public class TbRoomBo extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否重要(1非常重要、2重要、3一般)
|
||||||
|
*/
|
||||||
|
private String isMatter;
|
||||||
|
/**
|
||||||
|
* 是否重要(1非常重要、2重要、3一般)
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,22 @@ public class CleanOrderVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "面积")
|
@ExcelProperty(value = "面积")
|
||||||
private Long area;
|
private Long area;
|
||||||
|
/**
|
||||||
|
* 保洁类型
|
||||||
|
*/
|
||||||
|
private String type;
|
||||||
|
/**
|
||||||
|
* 评价
|
||||||
|
*/
|
||||||
|
private Integer serviceEvalua;
|
||||||
|
/**
|
||||||
|
* 评价文本
|
||||||
|
*/
|
||||||
|
private String serviceEvaluaText;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
// /**
|
// /**
|
||||||
// * 保洁id
|
// * 保洁id
|
||||||
// */
|
// */
|
||||||
|
@ -37,7 +37,17 @@ public class MeetVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "会议室名称")
|
@ExcelProperty(value = "会议室名称")
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 会议室类型(
|
||||||
|
* 1标准会议室
|
||||||
|
* 2培训会议室
|
||||||
|
* 3治谈会议室
|
||||||
|
* 4多媒体会议室
|
||||||
|
* 5圆形会议室
|
||||||
|
* 6贵宾会议室)
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "会议室类型")
|
||||||
|
private String meetingRoomType;
|
||||||
/**
|
/**
|
||||||
* 会议室位置
|
* 会议室位置
|
||||||
*/
|
*/
|
||||||
|
@ -39,6 +39,20 @@ public class ServiceWorkOrderAnalysisVo {
|
|||||||
this.orderCount = orderCount;
|
this.orderCount = orderCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*获取不满意工单名称
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public static class DissatisfactionVo {
|
||||||
|
private String orderName; // 工单名称
|
||||||
|
private Long id; // 工单id
|
||||||
|
public DissatisfactionVo(String orderName, Long id) {
|
||||||
|
this.orderName = orderName;
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* 满意度图表数据对象
|
* 满意度图表数据对象
|
||||||
*/
|
*/
|
||||||
@ -86,6 +100,7 @@ public class ServiceWorkOrderAnalysisVo {
|
|||||||
private List<SatisfactionChartVo> satisfactionRateList;
|
private List<SatisfactionChartVo> satisfactionRateList;
|
||||||
private List<PieChartVo> satisfactionChartList;
|
private List<PieChartVo> satisfactionChartList;
|
||||||
private List<BarChartVo> recentSixMonthWorkOrders;
|
private List<BarChartVo> recentSixMonthWorkOrders;
|
||||||
|
private List<DissatisfactionVo> dissatisfactionVos;
|
||||||
|
|
||||||
// 私有构造函数,确保使用Builder模式构建对象
|
// 私有构造函数,确保使用Builder模式构建对象
|
||||||
private ServiceWorkOrderAnalysisVo() {}
|
private ServiceWorkOrderAnalysisVo() {}
|
||||||
@ -107,6 +122,7 @@ public class ServiceWorkOrderAnalysisVo {
|
|||||||
private List<SatisfactionChartVo> satisfactionRateList;
|
private List<SatisfactionChartVo> satisfactionRateList;
|
||||||
private List<PieChartVo> satisfactionChartList;
|
private List<PieChartVo> satisfactionChartList;
|
||||||
private List<BarChartVo> recentSixMonthWorkOrders;
|
private List<BarChartVo> recentSixMonthWorkOrders;
|
||||||
|
private List<DissatisfactionVo> dissatisfactionVos;
|
||||||
|
|
||||||
public ServiceWorkOrderAnalysisVo build() {
|
public ServiceWorkOrderAnalysisVo build() {
|
||||||
ServiceWorkOrderAnalysisVo vo = new ServiceWorkOrderAnalysisVo();
|
ServiceWorkOrderAnalysisVo vo = new ServiceWorkOrderAnalysisVo();
|
||||||
@ -123,6 +139,7 @@ public class ServiceWorkOrderAnalysisVo {
|
|||||||
vo.satisfactionRateList = this.satisfactionRateList;
|
vo.satisfactionRateList = this.satisfactionRateList;
|
||||||
vo.satisfactionChartList = this.satisfactionChartList;
|
vo.satisfactionChartList = this.satisfactionChartList;
|
||||||
vo.recentSixMonthWorkOrders = this.recentSixMonthWorkOrders;
|
vo.recentSixMonthWorkOrders = this.recentSixMonthWorkOrders;
|
||||||
|
vo.dissatisfactionVos = this.dissatisfactionVos;
|
||||||
return vo;
|
return vo;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,6 +37,11 @@ public class ServiceWorkOrdersVo implements Serializable {
|
|||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "工单编号")
|
@ExcelProperty(value = "工单编号")
|
||||||
private String orderNo;
|
private String orderNo;
|
||||||
|
/**
|
||||||
|
* 权重
|
||||||
|
*/
|
||||||
|
@ExcelProperty(value = "权重")
|
||||||
|
private String processingWeight;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 工单名称
|
* 工单名称
|
||||||
@ -123,14 +128,20 @@ public class ServiceWorkOrdersVo implements Serializable {
|
|||||||
private String isTimeOut;
|
private String isTimeOut;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 搜索值
|
* 评价文本
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "搜索值")
|
private String serviceEvaluaText;
|
||||||
private String searchValue;
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
@ExcelProperty(value = "创建时间")
|
|
||||||
private Date createTime;
|
private Date createTime;
|
||||||
}
|
}
|
||||||
|
@ -112,5 +112,12 @@ public class TbRoomVo implements Serializable {
|
|||||||
|
|
||||||
@Translation(type = TransConstant.DICT_TYPE_TO_LABEL, mapper = "status", other = "wy_fjzt")
|
@Translation(type = TransConstant.DICT_TYPE_TO_LABEL, mapper = "status", other = "wy_fjzt")
|
||||||
private String statusName;
|
private String statusName;
|
||||||
|
/**
|
||||||
|
* 是否重要(1非常重要、2重要、3一般)
|
||||||
|
*/
|
||||||
|
private String isMatter;
|
||||||
|
/**
|
||||||
|
* 图片
|
||||||
|
*/
|
||||||
|
private String imgUrl;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,7 @@ public class MeetAttachServiceImpl implements IMeetAttachService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MeetAttachVo> queryList(MeetAttachBo bo) {
|
public List<MeetAttachVo> queryList(MeetAttachBo bo) {
|
||||||
bo.setState(0);
|
bo.setState(1);
|
||||||
LambdaQueryWrapper<MeetAttach> lqw = buildQueryWrapper(bo);
|
LambdaQueryWrapper<MeetAttach> lqw = buildQueryWrapper(bo);
|
||||||
return baseMapper.selectVoList(lqw);
|
return baseMapper.selectVoList(lqw);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user