日常更新
parent
23750f68c4
commit
9da05ef552
@ -0,0 +1,77 @@
|
||||
package com.sztzjy.money_management.entity;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
/**
|
||||
*
|
||||
* @author xcj
|
||||
* work_schedule
|
||||
*/
|
||||
public class WorkSchedule {
|
||||
@ApiModelProperty("工作日程ID")
|
||||
private String workScheduleId;
|
||||
|
||||
@ApiModelProperty("用户ID")
|
||||
private String userId;
|
||||
|
||||
@ApiModelProperty("客户姓名")
|
||||
private String clientName;
|
||||
|
||||
@ApiModelProperty("预约时间")
|
||||
private Date orderTime;
|
||||
|
||||
@ApiModelProperty("服务类型")
|
||||
private String serviceType;
|
||||
|
||||
@ApiModelProperty("计划内容")
|
||||
private String content;
|
||||
|
||||
public String getWorkScheduleId() {
|
||||
return workScheduleId;
|
||||
}
|
||||
|
||||
public void setWorkScheduleId(String workScheduleId) {
|
||||
this.workScheduleId = workScheduleId == null ? null : workScheduleId.trim();
|
||||
}
|
||||
|
||||
public String getUserId() {
|
||||
return userId;
|
||||
}
|
||||
|
||||
public void setUserId(String userId) {
|
||||
this.userId = userId == null ? null : userId.trim();
|
||||
}
|
||||
|
||||
public String getClientName() {
|
||||
return clientName;
|
||||
}
|
||||
|
||||
public void setClientName(String clientName) {
|
||||
this.clientName = clientName == null ? null : clientName.trim();
|
||||
}
|
||||
|
||||
public Date getOrderTime() {
|
||||
return orderTime;
|
||||
}
|
||||
|
||||
public void setOrderTime(Date orderTime) {
|
||||
this.orderTime = orderTime;
|
||||
}
|
||||
|
||||
public String getServiceType() {
|
||||
return serviceType;
|
||||
}
|
||||
|
||||
public void setServiceType(String serviceType) {
|
||||
this.serviceType = serviceType == null ? null : serviceType.trim();
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
|
||||
public void setContent(String content) {
|
||||
this.content = content == null ? null : content.trim();
|
||||
}
|
||||
}
|
@ -0,0 +1,610 @@
|
||||
package com.sztzjy.money_management.entity;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public class WorkScheduleExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public WorkScheduleExample() {
|
||||
oredCriteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public void setOrderByClause(String orderByClause) {
|
||||
this.orderByClause = orderByClause;
|
||||
}
|
||||
|
||||
public String getOrderByClause() {
|
||||
return orderByClause;
|
||||
}
|
||||
|
||||
public void setDistinct(boolean distinct) {
|
||||
this.distinct = distinct;
|
||||
}
|
||||
|
||||
public boolean isDistinct() {
|
||||
return distinct;
|
||||
}
|
||||
|
||||
public List<Criteria> getOredCriteria() {
|
||||
return oredCriteria;
|
||||
}
|
||||
|
||||
public void or(Criteria criteria) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
|
||||
public Criteria or() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
oredCriteria.add(criteria);
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public Criteria createCriteria() {
|
||||
Criteria criteria = createCriteriaInternal();
|
||||
if (oredCriteria.size() == 0) {
|
||||
oredCriteria.add(criteria);
|
||||
}
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected Criteria createCriteriaInternal() {
|
||||
Criteria criteria = new Criteria();
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public void clear() {
|
||||
oredCriteria.clear();
|
||||
orderByClause = null;
|
||||
distinct = false;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdIsNull() {
|
||||
addCriterion("work_schedule_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdIsNotNull() {
|
||||
addCriterion("work_schedule_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdEqualTo(String value) {
|
||||
addCriterion("work_schedule_id =", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdNotEqualTo(String value) {
|
||||
addCriterion("work_schedule_id <>", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdGreaterThan(String value) {
|
||||
addCriterion("work_schedule_id >", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("work_schedule_id >=", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdLessThan(String value) {
|
||||
addCriterion("work_schedule_id <", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("work_schedule_id <=", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdLike(String value) {
|
||||
addCriterion("work_schedule_id like", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdNotLike(String value) {
|
||||
addCriterion("work_schedule_id not like", value, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdIn(List<String> values) {
|
||||
addCriterion("work_schedule_id in", values, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdNotIn(List<String> values) {
|
||||
addCriterion("work_schedule_id not in", values, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdBetween(String value1, String value2) {
|
||||
addCriterion("work_schedule_id between", value1, value2, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andWorkScheduleIdNotBetween(String value1, String value2) {
|
||||
addCriterion("work_schedule_id not between", value1, value2, "workScheduleId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNull() {
|
||||
addCriterion("user_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIsNotNull() {
|
||||
addCriterion("user_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdEqualTo(String value) {
|
||||
addCriterion("user_id =", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotEqualTo(String value) {
|
||||
addCriterion("user_id <>", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThan(String value) {
|
||||
addCriterion("user_id >", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("user_id >=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThan(String value) {
|
||||
addCriterion("user_id <", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLessThanOrEqualTo(String value) {
|
||||
addCriterion("user_id <=", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdLike(String value) {
|
||||
addCriterion("user_id like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotLike(String value) {
|
||||
addCriterion("user_id not like", value, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdIn(List<String> values) {
|
||||
addCriterion("user_id in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotIn(List<String> values) {
|
||||
addCriterion("user_id not in", values, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdBetween(String value1, String value2) {
|
||||
addCriterion("user_id between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andUserIdNotBetween(String value1, String value2) {
|
||||
addCriterion("user_id not between", value1, value2, "userId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameIsNull() {
|
||||
addCriterion("client_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameIsNotNull() {
|
||||
addCriterion("client_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameEqualTo(String value) {
|
||||
addCriterion("client_name =", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameNotEqualTo(String value) {
|
||||
addCriterion("client_name <>", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameGreaterThan(String value) {
|
||||
addCriterion("client_name >", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("client_name >=", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameLessThan(String value) {
|
||||
addCriterion("client_name <", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("client_name <=", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameLike(String value) {
|
||||
addCriterion("client_name like", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameNotLike(String value) {
|
||||
addCriterion("client_name not like", value, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameIn(List<String> values) {
|
||||
addCriterion("client_name in", values, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameNotIn(List<String> values) {
|
||||
addCriterion("client_name not in", values, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameBetween(String value1, String value2) {
|
||||
addCriterion("client_name between", value1, value2, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andClientNameNotBetween(String value1, String value2) {
|
||||
addCriterion("client_name not between", value1, value2, "clientName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeIsNull() {
|
||||
addCriterion("order_time is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeIsNotNull() {
|
||||
addCriterion("order_time is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeEqualTo(Date value) {
|
||||
addCriterion("order_time =", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeNotEqualTo(Date value) {
|
||||
addCriterion("order_time <>", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeGreaterThan(Date value) {
|
||||
addCriterion("order_time >", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
|
||||
addCriterion("order_time >=", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeLessThan(Date value) {
|
||||
addCriterion("order_time <", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
|
||||
addCriterion("order_time <=", value, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeIn(List<Date> values) {
|
||||
addCriterion("order_time in", values, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeNotIn(List<Date> values) {
|
||||
addCriterion("order_time not in", values, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeBetween(Date value1, Date value2) {
|
||||
addCriterion("order_time between", value1, value2, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
|
||||
addCriterion("order_time not between", value1, value2, "orderTime");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeIsNull() {
|
||||
addCriterion("service_type is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeIsNotNull() {
|
||||
addCriterion("service_type is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeEqualTo(String value) {
|
||||
addCriterion("service_type =", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeNotEqualTo(String value) {
|
||||
addCriterion("service_type <>", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeGreaterThan(String value) {
|
||||
addCriterion("service_type >", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("service_type >=", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeLessThan(String value) {
|
||||
addCriterion("service_type <", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeLessThanOrEqualTo(String value) {
|
||||
addCriterion("service_type <=", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeLike(String value) {
|
||||
addCriterion("service_type like", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeNotLike(String value) {
|
||||
addCriterion("service_type not like", value, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeIn(List<String> values) {
|
||||
addCriterion("service_type in", values, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeNotIn(List<String> values) {
|
||||
addCriterion("service_type not in", values, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeBetween(String value1, String value2) {
|
||||
addCriterion("service_type between", value1, value2, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andServiceTypeNotBetween(String value1, String value2) {
|
||||
addCriterion("service_type not between", value1, value2, "serviceType");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNull() {
|
||||
addCriterion("content is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIsNotNull() {
|
||||
addCriterion("content is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentEqualTo(String value) {
|
||||
addCriterion("content =", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotEqualTo(String value) {
|
||||
addCriterion("content <>", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThan(String value) {
|
||||
addCriterion("content >", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("content >=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThan(String value) {
|
||||
addCriterion("content <", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLessThanOrEqualTo(String value) {
|
||||
addCriterion("content <=", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentLike(String value) {
|
||||
addCriterion("content like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotLike(String value) {
|
||||
addCriterion("content not like", value, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentIn(List<String> values) {
|
||||
addCriterion("content in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotIn(List<String> values) {
|
||||
addCriterion("content not in", values, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentBetween(String value1, String value2) {
|
||||
addCriterion("content between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andContentNotBetween(String value1, String value2) {
|
||||
addCriterion("content not between", value1, value2, "content");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
protected Criteria() {
|
||||
super();
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criterion {
|
||||
private String condition;
|
||||
|
||||
private Object value;
|
||||
|
||||
private Object secondValue;
|
||||
|
||||
private boolean noValue;
|
||||
|
||||
private boolean singleValue;
|
||||
|
||||
private boolean betweenValue;
|
||||
|
||||
private boolean listValue;
|
||||
|
||||
private String typeHandler;
|
||||
|
||||
public String getCondition() {
|
||||
return condition;
|
||||
}
|
||||
|
||||
public Object getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public Object getSecondValue() {
|
||||
return secondValue;
|
||||
}
|
||||
|
||||
public boolean isNoValue() {
|
||||
return noValue;
|
||||
}
|
||||
|
||||
public boolean isSingleValue() {
|
||||
return singleValue;
|
||||
}
|
||||
|
||||
public boolean isBetweenValue() {
|
||||
return betweenValue;
|
||||
}
|
||||
|
||||
public boolean isListValue() {
|
||||
return listValue;
|
||||
}
|
||||
|
||||
public String getTypeHandler() {
|
||||
return typeHandler;
|
||||
}
|
||||
|
||||
protected Criterion(String condition) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.typeHandler = null;
|
||||
this.noValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.typeHandler = typeHandler;
|
||||
if (value instanceof List<?>) {
|
||||
this.listValue = true;
|
||||
} else {
|
||||
this.singleValue = true;
|
||||
}
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value) {
|
||||
this(condition, value, null);
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
|
||||
super();
|
||||
this.condition = condition;
|
||||
this.value = value;
|
||||
this.secondValue = secondValue;
|
||||
this.typeHandler = typeHandler;
|
||||
this.betweenValue = true;
|
||||
}
|
||||
|
||||
protected Criterion(String condition, Object value, Object secondValue) {
|
||||
this(condition, value, secondValue, null);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package com.sztzjy.money_management.entity.dto;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.sztzjy.money_management.entity.SynthesisPlanScore;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class SynthesisPlanScoreDto {
|
||||
@ApiModelProperty("姓名")
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty("学号")
|
||||
private String studentId;
|
||||
|
||||
@ApiModelProperty("客户背景")
|
||||
private String customerBackdrop;
|
||||
|
||||
@ApiModelProperty("客户成绩")
|
||||
private Double totalScore;
|
||||
|
||||
@ApiModelProperty("审核内容")
|
||||
private PageInfo<SynthesisPlanScore> content;
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
package com.sztzjy.money_management.entity.dto;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class UserStatisticsDto {
|
||||
@ApiModelProperty("已有客户总数")
|
||||
private Integer yiYouTotalCount;
|
||||
|
||||
@ApiModelProperty("潜在客户总数")
|
||||
private Integer qianZaiTotalCount;
|
||||
|
||||
@ApiModelProperty("高净值已有客户总数")
|
||||
private Integer highNetClientHaveCount;
|
||||
|
||||
@ApiModelProperty("高净值潜在客户总数")
|
||||
private Integer highNetClientLatentCount;
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package com.sztzjy.money_management.mapper;
|
||||
|
||||
import com.sztzjy.money_management.entity.WorkSchedule;
|
||||
import com.sztzjy.money_management.entity.WorkScheduleExample;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@Mapper
|
||||
public interface WorkScheduleMapper {
|
||||
long countByExample(WorkScheduleExample example);
|
||||
|
||||
int deleteByExample(WorkScheduleExample example);
|
||||
|
||||
int deleteByPrimaryKey(String workScheduleId);
|
||||
|
||||
int insert(WorkSchedule record);
|
||||
|
||||
int insertSelective(WorkSchedule record);
|
||||
|
||||
List<WorkSchedule> selectByExample(WorkScheduleExample example);
|
||||
|
||||
WorkSchedule selectByPrimaryKey(String workScheduleId);
|
||||
|
||||
int updateByExampleSelective(@Param("record") WorkSchedule record, @Param("example") WorkScheduleExample example);
|
||||
|
||||
int updateByExample(@Param("record") WorkSchedule record, @Param("example") WorkScheduleExample example);
|
||||
|
||||
int updateByPrimaryKeySelective(WorkSchedule record);
|
||||
|
||||
int updateByPrimaryKey(WorkSchedule record);
|
||||
}
|
@ -0,0 +1,229 @@
|
||||
<?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.sztzjy.money_management.mapper.WorkScheduleMapper">
|
||||
<resultMap id="BaseResultMap" type="com.sztzjy.money_management.entity.WorkSchedule">
|
||||
<id column="work_schedule_id" jdbcType="VARCHAR" property="workScheduleId" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="client_name" jdbcType="VARCHAR" property="clientName" />
|
||||
<result column="order_time" jdbcType="TIMESTAMP" property="orderTime" />
|
||||
<result column="service_type" jdbcType="VARCHAR" property="serviceType" />
|
||||
<result column="content" jdbcType="VARCHAR" property="content" />
|
||||
</resultMap>
|
||||
<sql id="Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Update_By_Example_Where_Clause">
|
||||
<where>
|
||||
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
||||
<if test="criteria.valid">
|
||||
<trim prefix="(" prefixOverrides="and" suffix=")">
|
||||
<foreach collection="criteria.criteria" item="criterion">
|
||||
<choose>
|
||||
<when test="criterion.noValue">
|
||||
and ${criterion.condition}
|
||||
</when>
|
||||
<when test="criterion.singleValue">
|
||||
and ${criterion.condition} #{criterion.value}
|
||||
</when>
|
||||
<when test="criterion.betweenValue">
|
||||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
||||
</when>
|
||||
<when test="criterion.listValue">
|
||||
and ${criterion.condition}
|
||||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
||||
#{listItem}
|
||||
</foreach>
|
||||
</when>
|
||||
</choose>
|
||||
</foreach>
|
||||
</trim>
|
||||
</if>
|
||||
</foreach>
|
||||
</where>
|
||||
</sql>
|
||||
<sql id="Base_Column_List">
|
||||
work_schedule_id, user_id, client_name, order_time, service_type, content
|
||||
</sql>
|
||||
<select id="selectByExample" parameterType="com.sztzjy.money_management.entity.WorkScheduleExample" resultMap="BaseResultMap">
|
||||
select
|
||||
<if test="distinct">
|
||||
distinct
|
||||
</if>
|
||||
<include refid="Base_Column_List" />
|
||||
from work_schedule
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from work_schedule
|
||||
where work_schedule_id = #{workScheduleId,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<delete id="deleteByPrimaryKey" parameterType="java.lang.String">
|
||||
delete from work_schedule
|
||||
where work_schedule_id = #{workScheduleId,jdbcType=VARCHAR}
|
||||
</delete>
|
||||
<delete id="deleteByExample" parameterType="com.sztzjy.money_management.entity.WorkScheduleExample">
|
||||
delete from work_schedule
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</delete>
|
||||
<insert id="insert" parameterType="com.sztzjy.money_management.entity.WorkSchedule">
|
||||
insert into work_schedule (work_schedule_id, user_id, client_name,
|
||||
order_time, service_type, content
|
||||
)
|
||||
values (#{workScheduleId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{clientName,jdbcType=VARCHAR},
|
||||
#{orderTime,jdbcType=TIMESTAMP}, #{serviceType,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}
|
||||
)
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="com.sztzjy.money_management.entity.WorkSchedule">
|
||||
insert into work_schedule
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="workScheduleId != null">
|
||||
work_schedule_id,
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
client_name,
|
||||
</if>
|
||||
<if test="orderTime != null">
|
||||
order_time,
|
||||
</if>
|
||||
<if test="serviceType != null">
|
||||
service_type,
|
||||
</if>
|
||||
<if test="content != null">
|
||||
content,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="workScheduleId != null">
|
||||
#{workScheduleId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="userId != null">
|
||||
#{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
#{clientName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderTime != null">
|
||||
#{orderTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="serviceType != null">
|
||||
#{serviceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="content != null">
|
||||
#{content,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<select id="countByExample" parameterType="com.sztzjy.money_management.entity.WorkScheduleExample" resultType="java.lang.Long">
|
||||
select count(*) from work_schedule
|
||||
<if test="_parameter != null">
|
||||
<include refid="Example_Where_Clause" />
|
||||
</if>
|
||||
</select>
|
||||
<update id="updateByExampleSelective" parameterType="map">
|
||||
update work_schedule
|
||||
<set>
|
||||
<if test="record.workScheduleId != null">
|
||||
work_schedule_id = #{record.workScheduleId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.userId != null">
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.clientName != null">
|
||||
client_name = #{record.clientName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.orderTime != null">
|
||||
order_time = #{record.orderTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="record.serviceType != null">
|
||||
service_type = #{record.serviceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="record.content != null">
|
||||
content = #{record.content,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByExample" parameterType="map">
|
||||
update work_schedule
|
||||
set work_schedule_id = #{record.workScheduleId,jdbcType=VARCHAR},
|
||||
user_id = #{record.userId,jdbcType=VARCHAR},
|
||||
client_name = #{record.clientName,jdbcType=VARCHAR},
|
||||
order_time = #{record.orderTime,jdbcType=TIMESTAMP},
|
||||
service_type = #{record.serviceType,jdbcType=VARCHAR},
|
||||
content = #{record.content,jdbcType=VARCHAR}
|
||||
<if test="_parameter != null">
|
||||
<include refid="Update_By_Example_Where_Clause" />
|
||||
</if>
|
||||
</update>
|
||||
<update id="updateByPrimaryKeySelective" parameterType="com.sztzjy.money_management.entity.WorkSchedule">
|
||||
update work_schedule
|
||||
<set>
|
||||
<if test="userId != null">
|
||||
user_id = #{userId,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="clientName != null">
|
||||
client_name = #{clientName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="orderTime != null">
|
||||
order_time = #{orderTime,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
<if test="serviceType != null">
|
||||
service_type = #{serviceType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="content != null">
|
||||
content = #{content,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where work_schedule_id = #{workScheduleId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="com.sztzjy.money_management.entity.WorkSchedule">
|
||||
update work_schedule
|
||||
set user_id = #{userId,jdbcType=VARCHAR},
|
||||
client_name = #{clientName,jdbcType=VARCHAR},
|
||||
order_time = #{orderTime,jdbcType=TIMESTAMP},
|
||||
service_type = #{serviceType,jdbcType=VARCHAR},
|
||||
content = #{content,jdbcType=VARCHAR}
|
||||
where work_schedule_id = #{workScheduleId,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue