forked from rongchao/epmet-cloud-rizhao
10 changed files with 365 additions and 3 deletions
@ -0,0 +1,35 @@ |
|||
package com.epmet.dto.form; |
|||
|
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotBlank; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class ServiceProjectFeedbackFormDTO { |
|||
|
|||
private String serviceProjectId; |
|||
private String serviceGoal; |
|||
private String serviceEffect; |
|||
private Integer servicePeopleNumber; |
|||
/** |
|||
* 服务状态。in_service服务中;completed:已完成 |
|||
*/ |
|||
private String serviceStatus; |
|||
/** |
|||
* 满意度。不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
private String longitude; |
|||
private String latitude; |
|||
private String address; |
|||
private List<Feedback> attachmentList; |
|||
|
|||
@Data |
|||
public static class Feedback { |
|||
private String attachmentName; |
|||
private String attachmentFormat; |
|||
private String attachmentType; |
|||
private String attachmentUrl; |
|||
} |
|||
} |
|||
@ -0,0 +1,16 @@ |
|||
package com.epmet.dao; |
|||
|
|||
import com.epmet.commons.mybatis.dao.BaseDao; |
|||
import com.epmet.entity.IcServiceFeedbackEntity; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2022-05-30 |
|||
*/ |
|||
@Mapper |
|||
public interface IcServiceFeedbackDao extends BaseDao<IcServiceFeedbackEntity> { |
|||
|
|||
} |
|||
@ -0,0 +1,83 @@ |
|||
package com.epmet.entity; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.FieldFill; |
|||
import com.baomidou.mybatisplus.annotation.TableField; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
import com.epmet.commons.mybatis.entity.BaseEpmetEntity; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
|
|||
import java.util.Date; |
|||
|
|||
/** |
|||
* |
|||
* |
|||
* @author generator generator@elink-cn.com |
|||
* @since v1.0.0 2022-05-30 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper=false) |
|||
@TableName("ic_service_feedback") |
|||
public class IcServiceFeedbackEntity extends BaseEpmetEntity { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
@TableField(fill = FieldFill.INSERT) |
|||
private String customerId; |
|||
/** |
|||
* 服务类别ID |
|||
*/ |
|||
private String serviceCategoryKey; |
|||
|
|||
/** |
|||
* 服务项目ID |
|||
*/ |
|||
private String serviceProjectId; |
|||
|
|||
/** |
|||
* 服务组织ID |
|||
*/ |
|||
private String serviceOrgId; |
|||
|
|||
/** |
|||
* 服务目标 |
|||
*/ |
|||
private String serviceGoal; |
|||
|
|||
/** |
|||
* 服务效果 |
|||
*/ |
|||
private String serviceEffect; |
|||
|
|||
/** |
|||
* 服务人数 |
|||
*/ |
|||
private Integer servicePeopleNumber; |
|||
|
|||
/** |
|||
* 满意度。满意度 - 不满意:bad、基本满意:good、非常满意:perfect |
|||
*/ |
|||
private String satisfaction; |
|||
|
|||
/** |
|||
* 地址经度 |
|||
*/ |
|||
private String longitude; |
|||
|
|||
/** |
|||
* 地址纬度 |
|||
*/ |
|||
private String latitude; |
|||
|
|||
/** |
|||
* 地址 |
|||
*/ |
|||
private String address; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String serviceRecordId; |
|||
|
|||
} |
|||
@ -0,0 +1,28 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
|
|||
<mapper namespace="com.epmet.dao.IcServiceFeedbackDao"> |
|||
|
|||
<resultMap type="com.epmet.entity.IcServiceFeedbackEntity" id="icServiceFeedbackMap"> |
|||
<result property="id" column="ID"/> |
|||
<result property="serviceCategoryKey" column="SERVICE_CATEGORY_KEY"/> |
|||
<result property="serviceProjectId" column="SERVICE_PROJECT_ID"/> |
|||
<result property="serviceOrgId" column="SERVICE_ORG_ID"/> |
|||
<result property="serviceGoal" column="SERVICE_GOAL"/> |
|||
<result property="serviceEffect" column="SERVICE_EFFECT"/> |
|||
<result property="servicePeopleNumber" column="SERVICE_PEOPLE_NUMBER"/> |
|||
<result property="satisfaction" column="SATISFACTION"/> |
|||
<result property="longitude" column="LONGITUDE"/> |
|||
<result property="latitude" column="LATITUDE"/> |
|||
<result property="address" column="address"/> |
|||
<result property="revision" column="REVISION"/> |
|||
<result property="createdBy" column="CREATED_BY"/> |
|||
<result property="createdTime" column="CREATED_TIME"/> |
|||
<result property="updatedBy" column="UPDATED_BY"/> |
|||
<result property="updatedTime" column="UPDATED_TIME"/> |
|||
<result property="delFlag" column="DEL_FLAG"/> |
|||
<result property="serviceRecordId" column="SERVICE_RECORD_ID"/> |
|||
</resultMap> |
|||
|
|||
|
|||
</mapper> |
|||
Loading…
Reference in new issue