客户档案的体征、合同展示
This commit is contained in:
@ -2,6 +2,7 @@ package com.stdiet.custom.domain;
|
||||
|
||||
import com.stdiet.common.annotation.Excel;
|
||||
import com.stdiet.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
|
||||
@ -15,6 +16,7 @@ import java.util.Map;
|
||||
* @author wonder
|
||||
* @date 2020-10-23
|
||||
*/
|
||||
@Data
|
||||
public class SysContract extends BaseEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ -24,6 +26,11 @@ public class SysContract extends BaseEntity {
|
||||
@Excel(name = "合同编号")
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 客户ID
|
||||
*/
|
||||
private Long customerId;
|
||||
|
||||
/**
|
||||
* 调理项目ID
|
||||
*/
|
||||
@ -96,290 +103,9 @@ public class SysContract extends BaseEntity {
|
||||
|
||||
private String servePromise;
|
||||
|
||||
public String getSignName() {
|
||||
return signName;
|
||||
}
|
||||
|
||||
public void setSignName(String signName) {
|
||||
this.signName = signName;
|
||||
}
|
||||
|
||||
public String getTutor() {
|
||||
return tutor;
|
||||
}
|
||||
|
||||
public void setTutor(String tutor) {
|
||||
this.tutor = tutor;
|
||||
}
|
||||
|
||||
public String getServePromise() {
|
||||
return servePromise;
|
||||
}
|
||||
|
||||
public void setServePromise(String servePromise) {
|
||||
this.servePromise = servePromise;
|
||||
}
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public int getServeTime() {
|
||||
return serveTime;
|
||||
}
|
||||
|
||||
public void setServeTime(int serveTime) {
|
||||
this.serveTime = serveTime;
|
||||
}
|
||||
|
||||
public BigDecimal getAmount() {
|
||||
return amount;
|
||||
}
|
||||
|
||||
public void setAmount(BigDecimal amount) {
|
||||
this.amount = amount;
|
||||
}
|
||||
|
||||
public String getAmountUpper() {
|
||||
return amountUpper;
|
||||
}
|
||||
|
||||
public void setAmountUpper(String amountUpper) {
|
||||
this.amountUpper = amountUpper;
|
||||
}
|
||||
|
||||
public String getPath() {
|
||||
return path;
|
||||
}
|
||||
|
||||
public void setPath(String path) {
|
||||
this.path = path;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return Status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
Status = status;
|
||||
}
|
||||
|
||||
public String getCusId() {
|
||||
return cusId;
|
||||
}
|
||||
|
||||
public void setCusId(String cusId) {
|
||||
this.cusId = cusId;
|
||||
}
|
||||
|
||||
public String getSignDate() {
|
||||
return signDate;
|
||||
}
|
||||
|
||||
public void setSignDate(String signDate) {
|
||||
this.signDate = signDate;
|
||||
}
|
||||
|
||||
|
||||
public String getServeTimeStr() {
|
||||
return serveTimeStr;
|
||||
}
|
||||
|
||||
public void setServeTimeStr(String serveTimeStr) {
|
||||
this.serveTimeStr = serveTimeStr;
|
||||
}
|
||||
|
||||
public Long getProjectId() {
|
||||
return projectId;
|
||||
}
|
||||
|
||||
public void setProjectId(Long projectId) {
|
||||
this.projectId = projectId;
|
||||
}
|
||||
|
||||
public String getProjectName() {
|
||||
return projectName;
|
||||
}
|
||||
|
||||
public void setProjectName(String projectName) {
|
||||
this.projectName = projectName;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("cusId", getCusId())
|
||||
.append("status", getStatus())
|
||||
.append("phone", getPhone())
|
||||
.append("serveTime", getServeTime())
|
||||
.append("amount", getAmount())
|
||||
.append("amountUpper", getAmountUpper())
|
||||
.append("signDate", getSignDate())
|
||||
.append("path", getPath())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("tutor", getTutor())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.append("signName", getSignName())
|
||||
|
||||
.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* 微信用户对象 sys_wx_user_info
|
||||
*
|
||||
* @author wonder
|
||||
* @date 2020-11-28
|
||||
* 删除标识
|
||||
*/
|
||||
public static class SysWxUserInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
private Integer delFlag;
|
||||
|
||||
/** 微信openid */
|
||||
private String openid;
|
||||
|
||||
/** 昵称 */
|
||||
@Excel(name = "昵称")
|
||||
private String nickName;
|
||||
|
||||
/** 电话 */
|
||||
@Excel(name = "电话")
|
||||
private String phone;
|
||||
|
||||
/** 用户头像 */
|
||||
@Excel(name = "用户头像")
|
||||
private String avatarUrl;
|
||||
|
||||
/** 用户性别(0男 1女 2未知) */
|
||||
@Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
|
||||
private String sex;
|
||||
|
||||
/** 城市 */
|
||||
@Excel(name = "城市")
|
||||
private String city;
|
||||
|
||||
/** 省份 */
|
||||
@Excel(name = "省份")
|
||||
private String province;
|
||||
|
||||
/** 国家 */
|
||||
@Excel(name = "国家")
|
||||
private String country;
|
||||
|
||||
public void setOpenid(String openid)
|
||||
{
|
||||
this.openid = openid;
|
||||
}
|
||||
|
||||
public String getOpenid()
|
||||
{
|
||||
return openid;
|
||||
}
|
||||
public void setNickName(String nickName)
|
||||
{
|
||||
this.nickName = nickName;
|
||||
}
|
||||
|
||||
public String getNickName()
|
||||
{
|
||||
return nickName;
|
||||
}
|
||||
public void setPhone(String phone)
|
||||
{
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getPhone()
|
||||
{
|
||||
return phone;
|
||||
}
|
||||
public void setAvatarUrl(String avatarUrl)
|
||||
{
|
||||
this.avatarUrl = avatarUrl;
|
||||
}
|
||||
|
||||
public String getAvatarUrl()
|
||||
{
|
||||
return avatarUrl;
|
||||
}
|
||||
public void setSex(String sex)
|
||||
{
|
||||
this.sex = sex;
|
||||
}
|
||||
|
||||
public String getSex()
|
||||
{
|
||||
return sex;
|
||||
}
|
||||
public void setCity(String city)
|
||||
{
|
||||
this.city = city;
|
||||
}
|
||||
|
||||
public String getCity()
|
||||
{
|
||||
return city;
|
||||
}
|
||||
public void setProvince(String province)
|
||||
{
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
public String getProvince()
|
||||
{
|
||||
return province;
|
||||
}
|
||||
public void setCountry(String country)
|
||||
{
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
public String getCountry()
|
||||
{
|
||||
return country;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("openid", getOpenid())
|
||||
.append("nickName", getNickName())
|
||||
.append("phone", getPhone())
|
||||
.append("avatarUrl", getAvatarUrl())
|
||||
.append("sex", getSex())
|
||||
.append("city", getCity())
|
||||
.append("province", getProvince())
|
||||
.append("country", getCountry())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("updateBy", getUpdateBy())
|
||||
.append("updateTime", getUpdateTime())
|
||||
.append("remark", getRemark())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2,6 +2,7 @@ package com.stdiet.custom.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.stdiet.custom.domain.SysContract;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 合同Mapper接口
|
||||
|
@ -67,4 +67,9 @@ public interface SysCustomerHealthyMapper
|
||||
* @param phone
|
||||
*/
|
||||
SysCustomerHealthy selectSysCustomerHealthyByPhone(@Param("phone") String phone);
|
||||
|
||||
/**
|
||||
* 根据客户ID查询健康评估表信息
|
||||
*/
|
||||
SysCustomerHealthy selectSysCustomerHealthyByCustomerId(@Param("customerId")Long customerId);
|
||||
}
|
@ -59,4 +59,9 @@ public interface ISysCustomerHealthyService
|
||||
* @param phone
|
||||
*/
|
||||
SysCustomerHealthy selectSysCustomerHealthyByPhone(String phone);
|
||||
|
||||
/**
|
||||
* 根据客户ID查询健康评估表信息
|
||||
*/
|
||||
SysCustomerHealthy selectSysCustomerHealthyByCustomerId(Long customerId);
|
||||
}
|
@ -22,6 +22,11 @@ public interface ISysCustomerPhysicalSignsService {
|
||||
*/
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsById(Long id);
|
||||
|
||||
/**
|
||||
* 根据客户ID查询体征数据
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsByCusId(Long id);
|
||||
|
||||
/**
|
||||
|
@ -151,4 +151,11 @@ public class SysCustomerHealthyServiceImpl implements ISysCustomerHealthyService
|
||||
public SysCustomerHealthy selectSysCustomerHealthyByPhone(String phone){
|
||||
return sysCustomerHealthyMapper.selectSysCustomerHealthyByPhone(phone);
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据客户ID查询健康评估表信息
|
||||
*/
|
||||
public SysCustomerHealthy selectSysCustomerHealthyByCustomerId(Long customerId){
|
||||
return sysCustomerHealthyMapper.selectSysCustomerHealthyByCustomerId(customerId);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user