Commit dfc09604 authored by unset's avatar unset

添加意见反馈添加信息

parent 6da72f22
package com.upyuns.platform.rs.website.entity;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* 反馈信息
*
* @author zjw
* @email jiaoruizhen@126.com
* @date 2020-12-22 13:38:56
*/
@Data
@Table(name = "feedback_info")
public class FeedbackInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@ApiModelProperty("")
private Integer id;
/**
* 姓名
*/
@Column(name = "name")
@ApiModelProperty(value = "姓名")
private String name;
/**
* 联系电话
*/
@Column(name = "phone")
@ApiModelProperty(value = "联系电话")
private String phone;
/**
* 内容
*/
@Column(name = "content")
@ApiModelProperty(value = "内容")
private String content;
/**
*
*/
@Column(name = "order_no")
@ApiModelProperty(value = "")
private String orderNo;
/**
*
*/
@Column(name = "crt_time")
@ApiModelProperty(value = "", hidden = true )
private Date crtTime;
/**
*
*/
@Column(name = "upd_time")
@ApiModelProperty(value = "", hidden = true )
private Date updTime;
/**
*
*/
@Column(name = "user_id")
@ApiModelProperty(value = "")
private Integer userId;
/**
* 1、联系客服,2、意见反馈,3、订单反馈
*/
@Column(name = "type")
@ApiModelProperty(value = "1、联系客服,2、意见反馈,3、订单反馈")
private Integer type;
}
package com.upyuns.platform.rs.website.biz;
import org.springframework.stereotype.Service;
import com.upyuns.platform.rs.website.entity.FeedbackInfo;
import com.upyuns.platform.rs.website.mapper.FeedbackInfoMapper;
import com.github.wxiaoqi.security.common.biz.BaseBiz;
/**
* 反馈信息
*
* @author zjw
* @email jiaoruizhen@126.com
* @date 2020-12-22 13:38:56
*/
@Service
public class FeedbackInfoBiz extends BaseBiz<FeedbackInfoMapper,FeedbackInfo> {
}
\ No newline at end of file
package com.upyuns.platform.rs.website.controller;
import com.github.wxiaoqi.security.common.rest.BaseController;
import com.upyuns.platform.rs.website.biz.FeedbackInfoBiz;
import com.upyuns.platform.rs.website.entity.FeedbackInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("feedbackInfo")
public class FeedbackInfoController extends BaseController<FeedbackInfoBiz,FeedbackInfo> {
}
\ No newline at end of file
package com.upyuns.platform.rs.website.controller.web;
import com.github.wxiaoqi.security.common.rest.BaseController;
import com.upyuns.platform.rs.website.biz.FeedbackInfoBiz;
import com.upyuns.platform.rs.website.entity.FeedbackInfo;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("feedbackInfo/web")
public class FeedbackInfoWebController extends BaseController<FeedbackInfoBiz,FeedbackInfo> {
}
\ No newline at end of file
package com.upyuns.platform.rs.website.mapper;
import com.upyuns.platform.rs.website.entity.FeedbackInfo;
import tk.mybatis.mapper.common.Mapper;
/**
* 反馈信息
*
* @author zjw
* @email jiaoruizhen@126.com
* @date 2020-12-22 13:38:56
*/
public interface FeedbackInfoMapper extends Mapper<FeedbackInfo> {
}
<?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.upyuns.platform.rs.website.mapper.FeedbackInfoMapper">
</mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment