Browse Source

conflict

master
6 years ago
parent
commit
2985b78ebe
  1. 2
      .gitignore
  2. 117
      tall/src/main/java/com/ccsens/tall/bean/po/ProShow.java
  3. 751
      tall/src/main/java/com/ccsens/tall/bean/po/ProShowExample.java
  4. 6
      tall/src/main/java/com/ccsens/tall/bean/po/ProSubTimeMember.java
  5. 20
      tall/src/main/java/com/ccsens/tall/bean/po/ProSubTimeMemberExample.java
  6. 128
      tall/src/main/java/com/ccsens/tall/bean/po/SysDomain.java
  7. 841
      tall/src/main/java/com/ccsens/tall/bean/po/SysDomainExample.java
  8. 32
      tall/src/main/java/com/ccsens/tall/bean/vo/DomainVo.java
  9. 11
      tall/src/main/java/com/ccsens/tall/bean/vo/ProjectVo.java
  10. 8
      tall/src/main/java/com/ccsens/tall/persist/dao/ProShowDao.java
  11. 8
      tall/src/main/java/com/ccsens/tall/persist/dao/SysDomainDao.java
  12. 30
      tall/src/main/java/com/ccsens/tall/persist/mapper/ProShowMapper.java
  13. 3
      tall/src/main/java/com/ccsens/tall/persist/mapper/ProSubTimeMemberMapper.java
  14. 30
      tall/src/main/java/com/ccsens/tall/persist/mapper/SysDomainMapper.java
  15. 7
      tall/src/main/java/com/ccsens/tall/service/ExcelService.java
  16. 7
      tall/src/main/java/com/ccsens/tall/service/IProShowService.java
  17. 7
      tall/src/main/java/com/ccsens/tall/service/ISysDomainService.java
  18. 2
      tall/src/main/java/com/ccsens/tall/service/ProRoleService.java
  19. 17
      tall/src/main/java/com/ccsens/tall/service/ProShowService.java
  20. 6
      tall/src/main/java/com/ccsens/tall/service/ProTaskDetailService.java
  21. 10
      tall/src/main/java/com/ccsens/tall/service/ProjectService.java
  22. 36
      tall/src/main/java/com/ccsens/tall/service/SysDomainService.java
  23. 9
      tall/src/main/java/com/ccsens/tall/service/TaskDeliverService.java
  24. 8
      tall/src/main/java/com/ccsens/tall/service/TaskSubTimeService.java
  25. 36
      tall/src/main/java/com/ccsens/tall/web/DomainController.java
  26. 4
      tall/src/main/resources/application.yml
  27. 275
      tall/src/main/resources/mapper_raw/ProShowMapper.xml
  28. 14
      tall/src/main/resources/mapper_raw/ProSubTimeMemberMapper.xml
  29. 291
      tall/src/main/resources/mapper_raw/SysDomainMapper.xml
  30. 7
      tall/src/main/resources/mbg.xml

2
.gitignore

@ -35,4 +35,4 @@ gen
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
mbg.xml
mbg.xml

117
tall/src/main/java/com/ccsens/tall/bean/po/ProShow.java

@ -0,0 +1,117 @@
package com.ccsens.tall.bean.po;
import java.io.Serializable;
import java.util.Date;
public class ProShow implements Serializable {
private Long id;
private Long projectId;
private Byte slide;
private Byte filter;
private String timeShow;
private Byte duration;
private Date createdAt;
private Date updatedAt;
private Byte recStatus;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getProjectId() {
return projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public Byte getSlide() {
return slide;
}
public void setSlide(Byte slide) {
this.slide = slide;
}
public Byte getFilter() {
return filter;
}
public void setFilter(Byte filter) {
this.filter = filter;
}
public String getTimeShow() {
return timeShow;
}
public void setTimeShow(String timeShow) {
this.timeShow = timeShow == null ? null : timeShow.trim();
}
public Byte getDuration() {
return duration;
}
public void setDuration(Byte duration) {
this.duration = duration;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public Byte getRecStatus() {
return recStatus;
}
public void setRecStatus(Byte recStatus) {
this.recStatus = recStatus;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", projectId=").append(projectId);
sb.append(", slide=").append(slide);
sb.append(", filter=").append(filter);
sb.append(", timeShow=").append(timeShow);
sb.append(", duration=").append(duration);
sb.append(", createdAt=").append(createdAt);
sb.append(", updatedAt=").append(updatedAt);
sb.append(", recStatus=").append(recStatus);
sb.append("]");
return sb.toString();
}
}

751
tall/src/main/java/com/ccsens/tall/bean/po/ProShowExample.java

@ -0,0 +1,751 @@
package com.ccsens.tall.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class ProShowExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ProShowExample() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criterion>();
}
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 andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andProjectIdIsNull() {
addCriterion("project_id is null");
return (Criteria) this;
}
public Criteria andProjectIdIsNotNull() {
addCriterion("project_id is not null");
return (Criteria) this;
}
public Criteria andProjectIdEqualTo(Long value) {
addCriterion("project_id =", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotEqualTo(Long value) {
addCriterion("project_id <>", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdGreaterThan(Long value) {
addCriterion("project_id >", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdGreaterThanOrEqualTo(Long value) {
addCriterion("project_id >=", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdLessThan(Long value) {
addCriterion("project_id <", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdLessThanOrEqualTo(Long value) {
addCriterion("project_id <=", value, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdIn(List<Long> values) {
addCriterion("project_id in", values, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotIn(List<Long> values) {
addCriterion("project_id not in", values, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdBetween(Long value1, Long value2) {
addCriterion("project_id between", value1, value2, "projectId");
return (Criteria) this;
}
public Criteria andProjectIdNotBetween(Long value1, Long value2) {
addCriterion("project_id not between", value1, value2, "projectId");
return (Criteria) this;
}
public Criteria andSlideIsNull() {
addCriterion("slide is null");
return (Criteria) this;
}
public Criteria andSlideIsNotNull() {
addCriterion("slide is not null");
return (Criteria) this;
}
public Criteria andSlideEqualTo(Byte value) {
addCriterion("slide =", value, "slide");
return (Criteria) this;
}
public Criteria andSlideNotEqualTo(Byte value) {
addCriterion("slide <>", value, "slide");
return (Criteria) this;
}
public Criteria andSlideGreaterThan(Byte value) {
addCriterion("slide >", value, "slide");
return (Criteria) this;
}
public Criteria andSlideGreaterThanOrEqualTo(Byte value) {
addCriterion("slide >=", value, "slide");
return (Criteria) this;
}
public Criteria andSlideLessThan(Byte value) {
addCriterion("slide <", value, "slide");
return (Criteria) this;
}
public Criteria andSlideLessThanOrEqualTo(Byte value) {
addCriterion("slide <=", value, "slide");
return (Criteria) this;
}
public Criteria andSlideIn(List<Byte> values) {
addCriterion("slide in", values, "slide");
return (Criteria) this;
}
public Criteria andSlideNotIn(List<Byte> values) {
addCriterion("slide not in", values, "slide");
return (Criteria) this;
}
public Criteria andSlideBetween(Byte value1, Byte value2) {
addCriterion("slide between", value1, value2, "slide");
return (Criteria) this;
}
public Criteria andSlideNotBetween(Byte value1, Byte value2) {
addCriterion("slide not between", value1, value2, "slide");
return (Criteria) this;
}
public Criteria andFilterIsNull() {
addCriterion("filter is null");
return (Criteria) this;
}
public Criteria andFilterIsNotNull() {
addCriterion("filter is not null");
return (Criteria) this;
}
public Criteria andFilterEqualTo(Byte value) {
addCriterion("filter =", value, "filter");
return (Criteria) this;
}
public Criteria andFilterNotEqualTo(Byte value) {
addCriterion("filter <>", value, "filter");
return (Criteria) this;
}
public Criteria andFilterGreaterThan(Byte value) {
addCriterion("filter >", value, "filter");
return (Criteria) this;
}
public Criteria andFilterGreaterThanOrEqualTo(Byte value) {
addCriterion("filter >=", value, "filter");
return (Criteria) this;
}
public Criteria andFilterLessThan(Byte value) {
addCriterion("filter <", value, "filter");
return (Criteria) this;
}
public Criteria andFilterLessThanOrEqualTo(Byte value) {
addCriterion("filter <=", value, "filter");
return (Criteria) this;
}
public Criteria andFilterIn(List<Byte> values) {
addCriterion("filter in", values, "filter");
return (Criteria) this;
}
public Criteria andFilterNotIn(List<Byte> values) {
addCriterion("filter not in", values, "filter");
return (Criteria) this;
}
public Criteria andFilterBetween(Byte value1, Byte value2) {
addCriterion("filter between", value1, value2, "filter");
return (Criteria) this;
}
public Criteria andFilterNotBetween(Byte value1, Byte value2) {
addCriterion("filter not between", value1, value2, "filter");
return (Criteria) this;
}
public Criteria andTimeShowIsNull() {
addCriterion("time_show is null");
return (Criteria) this;
}
public Criteria andTimeShowIsNotNull() {
addCriterion("time_show is not null");
return (Criteria) this;
}
public Criteria andTimeShowEqualTo(String value) {
addCriterion("time_show =", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowNotEqualTo(String value) {
addCriterion("time_show <>", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowGreaterThan(String value) {
addCriterion("time_show >", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowGreaterThanOrEqualTo(String value) {
addCriterion("time_show >=", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowLessThan(String value) {
addCriterion("time_show <", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowLessThanOrEqualTo(String value) {
addCriterion("time_show <=", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowLike(String value) {
addCriterion("time_show like", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowNotLike(String value) {
addCriterion("time_show not like", value, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowIn(List<String> values) {
addCriterion("time_show in", values, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowNotIn(List<String> values) {
addCriterion("time_show not in", values, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowBetween(String value1, String value2) {
addCriterion("time_show between", value1, value2, "timeShow");
return (Criteria) this;
}
public Criteria andTimeShowNotBetween(String value1, String value2) {
addCriterion("time_show not between", value1, value2, "timeShow");
return (Criteria) this;
}
public Criteria andDurationIsNull() {
addCriterion("duration is null");
return (Criteria) this;
}
public Criteria andDurationIsNotNull() {
addCriterion("duration is not null");
return (Criteria) this;
}
public Criteria andDurationEqualTo(Byte value) {
addCriterion("duration =", value, "duration");
return (Criteria) this;
}
public Criteria andDurationNotEqualTo(Byte value) {
addCriterion("duration <>", value, "duration");
return (Criteria) this;
}
public Criteria andDurationGreaterThan(Byte value) {
addCriterion("duration >", value, "duration");
return (Criteria) this;
}
public Criteria andDurationGreaterThanOrEqualTo(Byte value) {
addCriterion("duration >=", value, "duration");
return (Criteria) this;
}
public Criteria andDurationLessThan(Byte value) {
addCriterion("duration <", value, "duration");
return (Criteria) this;
}
public Criteria andDurationLessThanOrEqualTo(Byte value) {
addCriterion("duration <=", value, "duration");
return (Criteria) this;
}
public Criteria andDurationIn(List<Byte> values) {
addCriterion("duration in", values, "duration");
return (Criteria) this;
}
public Criteria andDurationNotIn(List<Byte> values) {
addCriterion("duration not in", values, "duration");
return (Criteria) this;
}
public Criteria andDurationBetween(Byte value1, Byte value2) {
addCriterion("duration between", value1, value2, "duration");
return (Criteria) this;
}
public Criteria andDurationNotBetween(Byte value1, Byte value2) {
addCriterion("duration not between", value1, value2, "duration");
return (Criteria) this;
}
public Criteria andCreatedAtIsNull() {
addCriterion("created_at is null");
return (Criteria) this;
}
public Criteria andCreatedAtIsNotNull() {
addCriterion("created_at is not null");
return (Criteria) this;
}
public Criteria andCreatedAtEqualTo(Date value) {
addCriterion("created_at =", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotEqualTo(Date value) {
addCriterion("created_at <>", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtGreaterThan(Date value) {
addCriterion("created_at >", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
addCriterion("created_at >=", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtLessThan(Date value) {
addCriterion("created_at <", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
addCriterion("created_at <=", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtIn(List<Date> values) {
addCriterion("created_at in", values, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotIn(List<Date> values) {
addCriterion("created_at not in", values, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtBetween(Date value1, Date value2) {
addCriterion("created_at between", value1, value2, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
addCriterion("created_at not between", value1, value2, "createdAt");
return (Criteria) this;
}
public Criteria andUpdatedAtIsNull() {
addCriterion("updated_at is null");
return (Criteria) this;
}
public Criteria andUpdatedAtIsNotNull() {
addCriterion("updated_at is not null");
return (Criteria) this;
}
public Criteria andUpdatedAtEqualTo(Date value) {
addCriterion("updated_at =", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotEqualTo(Date value) {
addCriterion("updated_at <>", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtGreaterThan(Date value) {
addCriterion("updated_at >", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
addCriterion("updated_at >=", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtLessThan(Date value) {
addCriterion("updated_at <", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
addCriterion("updated_at <=", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtIn(List<Date> values) {
addCriterion("updated_at in", values, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotIn(List<Date> values) {
addCriterion("updated_at not in", values, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtBetween(Date value1, Date value2) {
addCriterion("updated_at between", value1, value2, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
addCriterion("updated_at not between", value1, value2, "updatedAt");
return (Criteria) this;
}
public Criteria andRecStatusIsNull() {
addCriterion("rec_status is null");
return (Criteria) this;
}
public Criteria andRecStatusIsNotNull() {
addCriterion("rec_status is not null");
return (Criteria) this;
}
public Criteria andRecStatusEqualTo(Byte value) {
addCriterion("rec_status =", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotEqualTo(Byte value) {
addCriterion("rec_status <>", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusGreaterThan(Byte value) {
addCriterion("rec_status >", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("rec_status >=", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusLessThan(Byte value) {
addCriterion("rec_status <", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
addCriterion("rec_status <=", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusIn(List<Byte> values) {
addCriterion("rec_status in", values, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotIn(List<Byte> values) {
addCriterion("rec_status not in", values, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusBetween(Byte value1, Byte value2) {
addCriterion("rec_status between", value1, value2, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
addCriterion("rec_status not between", value1, value2, "recStatus");
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);
}
}
}

6
tall/src/main/java/com/ccsens/tall/bean/po/ProSubTimeMember.java

@ -10,7 +10,7 @@ public class ProSubTimeMember implements Serializable {
private Long memberId;
private Integer complatedStatus;
private Byte complatedStatus;
private Long realFinishTime;
@ -46,11 +46,11 @@ public class ProSubTimeMember implements Serializable {
this.memberId = memberId;
}
public Integer getComplatedStatus() {
public Byte getComplatedStatus() {
return complatedStatus;
}
public void setComplatedStatus(Integer complatedStatus) {
public void setComplatedStatus(Byte complatedStatus) {
this.complatedStatus = complatedStatus;
}

20
tall/src/main/java/com/ccsens/tall/bean/po/ProSubTimeMemberExample.java

@ -295,52 +295,52 @@ public class ProSubTimeMemberExample {
return (Criteria) this;
}
public Criteria andComplatedStatusEqualTo(Integer value) {
public Criteria andComplatedStatusEqualTo(Byte value) {
addCriterion("complated_status =", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusNotEqualTo(Integer value) {
public Criteria andComplatedStatusNotEqualTo(Byte value) {
addCriterion("complated_status <>", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusGreaterThan(Integer value) {
public Criteria andComplatedStatusGreaterThan(Byte value) {
addCriterion("complated_status >", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusGreaterThanOrEqualTo(Integer value) {
public Criteria andComplatedStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("complated_status >=", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusLessThan(Integer value) {
public Criteria andComplatedStatusLessThan(Byte value) {
addCriterion("complated_status <", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusLessThanOrEqualTo(Integer value) {
public Criteria andComplatedStatusLessThanOrEqualTo(Byte value) {
addCriterion("complated_status <=", value, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusIn(List<Integer> values) {
public Criteria andComplatedStatusIn(List<Byte> values) {
addCriterion("complated_status in", values, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusNotIn(List<Integer> values) {
public Criteria andComplatedStatusNotIn(List<Byte> values) {
addCriterion("complated_status not in", values, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusBetween(Integer value1, Integer value2) {
public Criteria andComplatedStatusBetween(Byte value1, Byte value2) {
addCriterion("complated_status between", value1, value2, "complatedStatus");
return (Criteria) this;
}
public Criteria andComplatedStatusNotBetween(Integer value1, Integer value2) {
public Criteria andComplatedStatusNotBetween(Byte value1, Byte value2) {
addCriterion("complated_status not between", value1, value2, "complatedStatus");
return (Criteria) this;
}

128
tall/src/main/java/com/ccsens/tall/bean/po/SysDomain.java

@ -0,0 +1,128 @@
package com.ccsens.tall.bean.po;
import java.io.Serializable;
import java.util.Date;
public class SysDomain implements Serializable {
private Long id;
private String domainName;
private String logo;
private String companyName;
private String systemName;
private Byte showCalendar;
private Long showProjectId;
private Date createdAt;
private Date updatedAt;
private Byte recStatus;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getDomainName() {
return domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName == null ? null : domainName.trim();
}
public String getLogo() {
return logo;
}
public void setLogo(String logo) {
this.logo = logo == null ? null : logo.trim();
}
public String getCompanyName() {
return companyName;
}
public void setCompanyName(String companyName) {
this.companyName = companyName == null ? null : companyName.trim();
}
public String getSystemName() {
return systemName;
}
public void setSystemName(String systemName) {
this.systemName = systemName == null ? null : systemName.trim();
}
public Byte getShowCalendar() {
return showCalendar;
}
public void setShowCalendar(Byte showCalendar) {
this.showCalendar = showCalendar;
}
public Long getShowProjectId() {
return showProjectId;
}
public void setShowProjectId(Long showProjectId) {
this.showProjectId = showProjectId;
}
public Date getCreatedAt() {
return createdAt;
}
public void setCreatedAt(Date createdAt) {
this.createdAt = createdAt;
}
public Date getUpdatedAt() {
return updatedAt;
}
public void setUpdatedAt(Date updatedAt) {
this.updatedAt = updatedAt;
}
public Byte getRecStatus() {
return recStatus;
}
public void setRecStatus(Byte recStatus) {
this.recStatus = recStatus;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", domainName=").append(domainName);
sb.append(", logo=").append(logo);
sb.append(", companyName=").append(companyName);
sb.append(", systemName=").append(systemName);
sb.append(", showCalendar=").append(showCalendar);
sb.append(", showProjectId=").append(showProjectId);
sb.append(", createdAt=").append(createdAt);
sb.append(", updatedAt=").append(updatedAt);
sb.append(", recStatus=").append(recStatus);
sb.append("]");
return sb.toString();
}
}

841
tall/src/main/java/com/ccsens/tall/bean/po/SysDomainExample.java

@ -0,0 +1,841 @@
package com.ccsens.tall.bean.po;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class SysDomainExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public SysDomainExample() {
oredCriteria = new ArrayList<Criteria>();
}
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<Criterion>();
}
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 andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andDomainNameIsNull() {
addCriterion("domain_name is null");
return (Criteria) this;
}
public Criteria andDomainNameIsNotNull() {
addCriterion("domain_name is not null");
return (Criteria) this;
}
public Criteria andDomainNameEqualTo(String value) {
addCriterion("domain_name =", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameNotEqualTo(String value) {
addCriterion("domain_name <>", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameGreaterThan(String value) {
addCriterion("domain_name >", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameGreaterThanOrEqualTo(String value) {
addCriterion("domain_name >=", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameLessThan(String value) {
addCriterion("domain_name <", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameLessThanOrEqualTo(String value) {
addCriterion("domain_name <=", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameLike(String value) {
addCriterion("domain_name like", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameNotLike(String value) {
addCriterion("domain_name not like", value, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameIn(List<String> values) {
addCriterion("domain_name in", values, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameNotIn(List<String> values) {
addCriterion("domain_name not in", values, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameBetween(String value1, String value2) {
addCriterion("domain_name between", value1, value2, "domainName");
return (Criteria) this;
}
public Criteria andDomainNameNotBetween(String value1, String value2) {
addCriterion("domain_name not between", value1, value2, "domainName");
return (Criteria) this;
}
public Criteria andLogoIsNull() {
addCriterion("logo is null");
return (Criteria) this;
}
public Criteria andLogoIsNotNull() {
addCriterion("logo is not null");
return (Criteria) this;
}
public Criteria andLogoEqualTo(String value) {
addCriterion("logo =", value, "logo");
return (Criteria) this;
}
public Criteria andLogoNotEqualTo(String value) {
addCriterion("logo <>", value, "logo");
return (Criteria) this;
}
public Criteria andLogoGreaterThan(String value) {
addCriterion("logo >", value, "logo");
return (Criteria) this;
}
public Criteria andLogoGreaterThanOrEqualTo(String value) {
addCriterion("logo >=", value, "logo");
return (Criteria) this;
}
public Criteria andLogoLessThan(String value) {
addCriterion("logo <", value, "logo");
return (Criteria) this;
}
public Criteria andLogoLessThanOrEqualTo(String value) {
addCriterion("logo <=", value, "logo");
return (Criteria) this;
}
public Criteria andLogoLike(String value) {
addCriterion("logo like", value, "logo");
return (Criteria) this;
}
public Criteria andLogoNotLike(String value) {
addCriterion("logo not like", value, "logo");
return (Criteria) this;
}
public Criteria andLogoIn(List<String> values) {
addCriterion("logo in", values, "logo");
return (Criteria) this;
}
public Criteria andLogoNotIn(List<String> values) {
addCriterion("logo not in", values, "logo");
return (Criteria) this;
}
public Criteria andLogoBetween(String value1, String value2) {
addCriterion("logo between", value1, value2, "logo");
return (Criteria) this;
}
public Criteria andLogoNotBetween(String value1, String value2) {
addCriterion("logo not between", value1, value2, "logo");
return (Criteria) this;
}
public Criteria andCompanyNameIsNull() {
addCriterion("company_name is null");
return (Criteria) this;
}
public Criteria andCompanyNameIsNotNull() {
addCriterion("company_name is not null");
return (Criteria) this;
}
public Criteria andCompanyNameEqualTo(String value) {
addCriterion("company_name =", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameNotEqualTo(String value) {
addCriterion("company_name <>", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameGreaterThan(String value) {
addCriterion("company_name >", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
addCriterion("company_name >=", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameLessThan(String value) {
addCriterion("company_name <", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameLessThanOrEqualTo(String value) {
addCriterion("company_name <=", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameLike(String value) {
addCriterion("company_name like", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameNotLike(String value) {
addCriterion("company_name not like", value, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameIn(List<String> values) {
addCriterion("company_name in", values, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameNotIn(List<String> values) {
addCriterion("company_name not in", values, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameBetween(String value1, String value2) {
addCriterion("company_name between", value1, value2, "companyName");
return (Criteria) this;
}
public Criteria andCompanyNameNotBetween(String value1, String value2) {
addCriterion("company_name not between", value1, value2, "companyName");
return (Criteria) this;
}
public Criteria andSystemNameIsNull() {
addCriterion("system_name is null");
return (Criteria) this;
}
public Criteria andSystemNameIsNotNull() {
addCriterion("system_name is not null");
return (Criteria) this;
}
public Criteria andSystemNameEqualTo(String value) {
addCriterion("system_name =", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameNotEqualTo(String value) {
addCriterion("system_name <>", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameGreaterThan(String value) {
addCriterion("system_name >", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameGreaterThanOrEqualTo(String value) {
addCriterion("system_name >=", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameLessThan(String value) {
addCriterion("system_name <", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameLessThanOrEqualTo(String value) {
addCriterion("system_name <=", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameLike(String value) {
addCriterion("system_name like", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameNotLike(String value) {
addCriterion("system_name not like", value, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameIn(List<String> values) {
addCriterion("system_name in", values, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameNotIn(List<String> values) {
addCriterion("system_name not in", values, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameBetween(String value1, String value2) {
addCriterion("system_name between", value1, value2, "systemName");
return (Criteria) this;
}
public Criteria andSystemNameNotBetween(String value1, String value2) {
addCriterion("system_name not between", value1, value2, "systemName");
return (Criteria) this;
}
public Criteria andShowCalendarIsNull() {
addCriterion("show_calendar is null");
return (Criteria) this;
}
public Criteria andShowCalendarIsNotNull() {
addCriterion("show_calendar is not null");
return (Criteria) this;
}
public Criteria andShowCalendarEqualTo(Byte value) {
addCriterion("show_calendar =", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarNotEqualTo(Byte value) {
addCriterion("show_calendar <>", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarGreaterThan(Byte value) {
addCriterion("show_calendar >", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarGreaterThanOrEqualTo(Byte value) {
addCriterion("show_calendar >=", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarLessThan(Byte value) {
addCriterion("show_calendar <", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarLessThanOrEqualTo(Byte value) {
addCriterion("show_calendar <=", value, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarIn(List<Byte> values) {
addCriterion("show_calendar in", values, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarNotIn(List<Byte> values) {
addCriterion("show_calendar not in", values, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarBetween(Byte value1, Byte value2) {
addCriterion("show_calendar between", value1, value2, "showCalendar");
return (Criteria) this;
}
public Criteria andShowCalendarNotBetween(Byte value1, Byte value2) {
addCriterion("show_calendar not between", value1, value2, "showCalendar");
return (Criteria) this;
}
public Criteria andShowProjectIdIsNull() {
addCriterion("show_project_id is null");
return (Criteria) this;
}
public Criteria andShowProjectIdIsNotNull() {
addCriterion("show_project_id is not null");
return (Criteria) this;
}
public Criteria andShowProjectIdEqualTo(Long value) {
addCriterion("show_project_id =", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdNotEqualTo(Long value) {
addCriterion("show_project_id <>", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdGreaterThan(Long value) {
addCriterion("show_project_id >", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdGreaterThanOrEqualTo(Long value) {
addCriterion("show_project_id >=", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdLessThan(Long value) {
addCriterion("show_project_id <", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdLessThanOrEqualTo(Long value) {
addCriterion("show_project_id <=", value, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdIn(List<Long> values) {
addCriterion("show_project_id in", values, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdNotIn(List<Long> values) {
addCriterion("show_project_id not in", values, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdBetween(Long value1, Long value2) {
addCriterion("show_project_id between", value1, value2, "showProjectId");
return (Criteria) this;
}
public Criteria andShowProjectIdNotBetween(Long value1, Long value2) {
addCriterion("show_project_id not between", value1, value2, "showProjectId");
return (Criteria) this;
}
public Criteria andCreatedAtIsNull() {
addCriterion("created_at is null");
return (Criteria) this;
}
public Criteria andCreatedAtIsNotNull() {
addCriterion("created_at is not null");
return (Criteria) this;
}
public Criteria andCreatedAtEqualTo(Date value) {
addCriterion("created_at =", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotEqualTo(Date value) {
addCriterion("created_at <>", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtGreaterThan(Date value) {
addCriterion("created_at >", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
addCriterion("created_at >=", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtLessThan(Date value) {
addCriterion("created_at <", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
addCriterion("created_at <=", value, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtIn(List<Date> values) {
addCriterion("created_at in", values, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotIn(List<Date> values) {
addCriterion("created_at not in", values, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtBetween(Date value1, Date value2) {
addCriterion("created_at between", value1, value2, "createdAt");
return (Criteria) this;
}
public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
addCriterion("created_at not between", value1, value2, "createdAt");
return (Criteria) this;
}
public Criteria andUpdatedAtIsNull() {
addCriterion("updated_at is null");
return (Criteria) this;
}
public Criteria andUpdatedAtIsNotNull() {
addCriterion("updated_at is not null");
return (Criteria) this;
}
public Criteria andUpdatedAtEqualTo(Date value) {
addCriterion("updated_at =", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotEqualTo(Date value) {
addCriterion("updated_at <>", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtGreaterThan(Date value) {
addCriterion("updated_at >", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
addCriterion("updated_at >=", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtLessThan(Date value) {
addCriterion("updated_at <", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
addCriterion("updated_at <=", value, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtIn(List<Date> values) {
addCriterion("updated_at in", values, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotIn(List<Date> values) {
addCriterion("updated_at not in", values, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtBetween(Date value1, Date value2) {
addCriterion("updated_at between", value1, value2, "updatedAt");
return (Criteria) this;
}
public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
addCriterion("updated_at not between", value1, value2, "updatedAt");
return (Criteria) this;
}
public Criteria andRecStatusIsNull() {
addCriterion("rec_status is null");
return (Criteria) this;
}
public Criteria andRecStatusIsNotNull() {
addCriterion("rec_status is not null");
return (Criteria) this;
}
public Criteria andRecStatusEqualTo(Byte value) {
addCriterion("rec_status =", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotEqualTo(Byte value) {
addCriterion("rec_status <>", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusGreaterThan(Byte value) {
addCriterion("rec_status >", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) {
addCriterion("rec_status >=", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusLessThan(Byte value) {
addCriterion("rec_status <", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusLessThanOrEqualTo(Byte value) {
addCriterion("rec_status <=", value, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusIn(List<Byte> values) {
addCriterion("rec_status in", values, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotIn(List<Byte> values) {
addCriterion("rec_status not in", values, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusBetween(Byte value1, Byte value2) {
addCriterion("rec_status between", value1, value2, "recStatus");
return (Criteria) this;
}
public Criteria andRecStatusNotBetween(Byte value1, Byte value2) {
addCriterion("rec_status not between", value1, value2, "recStatus");
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);
}
}
}

32
tall/src/main/java/com/ccsens/tall/bean/vo/DomainVo.java

@ -0,0 +1,32 @@
package com.ccsens.tall.bean.vo;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
@Data
public class DomainVo {
@ApiModel
@Getter
@Setter
public static class DomainInfo{
@ApiModelProperty("配置信息的id")
private Long id;
@ApiModelProperty("域名")
private String domainName;
@ApiModelProperty("Logo")
private String logo;
@ApiModelProperty("公司名")
private String companyName;
@ApiModelProperty("系统名")
private String systemName;
@ApiModelProperty("是否显示日历")
private int showCalender;
@ApiModelProperty("不展示日历时。显示的项目的id")
private Long showProjectId;
}
}

11
tall/src/main/java/com/ccsens/tall/bean/vo/ProjectVo.java

@ -35,6 +35,8 @@ public class ProjectVo {
private int power;
@ApiModelProperty("当前用户是否是本项目的创建者")
private boolean creator;
@ApiModelProperty("项目配置")
private ProjectConfig projectConfig;
public Long getTotalDuration(){
if(ObjectUtil.isNotNull(endTime) && ObjectUtil.isNotNull(beginTime)){
@ -79,6 +81,15 @@ public class ProjectVo {
}
}
@ApiModel
@Data
public static class ProjectConfig{
@ApiModelProperty("上下滑动类型 0:上下滑动 1:只支持向下滑 2:只支持上滑 4:上下都不滑动")
private int slide;
@ApiModelProperty("筛选框显示 0:都显示 1:都不显示 2.只展示时间轴/清单")
private int filter;
}
@ApiModel
@Getter
@Setter

8
tall/src/main/java/com/ccsens/tall/persist/dao/ProShowDao.java

@ -0,0 +1,8 @@
package com.ccsens.tall.persist.dao;
import com.ccsens.tall.persist.mapper.ProShowMapper;
import org.springframework.stereotype.Repository;
@Repository
public interface ProShowDao extends ProShowMapper{
}

8
tall/src/main/java/com/ccsens/tall/persist/dao/SysDomainDao.java

@ -0,0 +1,8 @@
package com.ccsens.tall.persist.dao;
import com.ccsens.tall.persist.mapper.SysDomainMapper;
import org.springframework.stereotype.Repository;
@Repository
public interface SysDomainDao extends SysDomainMapper{
}

30
tall/src/main/java/com/ccsens/tall/persist/mapper/ProShowMapper.java

@ -0,0 +1,30 @@
package com.ccsens.tall.persist.mapper;
import com.ccsens.tall.bean.po.ProShow;
import com.ccsens.tall.bean.po.ProShowExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ProShowMapper {
long countByExample(ProShowExample example);
int deleteByExample(ProShowExample example);
int deleteByPrimaryKey(Long id);
int insert(ProShow record);
int insertSelective(ProShow record);
List<ProShow> selectByExample(ProShowExample example);
ProShow selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") ProShow record, @Param("example") ProShowExample example);
int updateByExample(@Param("record") ProShow record, @Param("example") ProShowExample example);
int updateByPrimaryKeySelective(ProShow record);
int updateByPrimaryKey(ProShow record);
}

3
tall/src/main/java/com/ccsens/tall/persist/mapper/ProSubTimeMemberMapper.java

@ -2,9 +2,8 @@ package com.ccsens.tall.persist.mapper;
import com.ccsens.tall.bean.po.ProSubTimeMember;
import com.ccsens.tall.bean.po.ProSubTimeMemberExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface ProSubTimeMemberMapper {
long countByExample(ProSubTimeMemberExample example);

30
tall/src/main/java/com/ccsens/tall/persist/mapper/SysDomainMapper.java

@ -0,0 +1,30 @@
package com.ccsens.tall.persist.mapper;
import com.ccsens.tall.bean.po.SysDomain;
import com.ccsens.tall.bean.po.SysDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface SysDomainMapper {
long countByExample(SysDomainExample example);
int deleteByExample(SysDomainExample example);
int deleteByPrimaryKey(Long id);
int insert(SysDomain record);
int insertSelective(SysDomain record);
List<SysDomain> selectByExample(SysDomainExample example);
SysDomain selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") SysDomain record, @Param("example") SysDomainExample example);
int updateByExample(@Param("record") SysDomain record, @Param("example") SysDomainExample example);
int updateByPrimaryKeySelective(SysDomain record);
int updateByPrimaryKey(SysDomain record);
}

7
tall/src/main/java/com/ccsens/tall/service/ExcelService.java

@ -35,6 +35,8 @@ public class ExcelService implements IExcelService {
@Autowired
private IProjectService projectService;
@Autowired
private IProShowService proShowService;
@Autowired
private Snowflake snowflake;
@Autowired
private IProRoleService proRoleService;
@ -165,6 +167,11 @@ public class ExcelService implements IExcelService {
sysProject.setTemplate((byte) 0);
projectService.saveProject(sysProject);
System.out.println(sysProject);
//TODO 添加项目的展示配置 暂时全是默认
ProShow proShow = new ProShow();
proShow.setId(snowflake.nextId());
proShow.setProjectId(sysProject.getId());
proShowService.saveProShow(proShow);
}else {
//没有开始结束时间
throw new BaseException(CodeEnum.WBS_NOT_PROJECT_TIME);

7
tall/src/main/java/com/ccsens/tall/service/IProShowService.java

@ -0,0 +1,7 @@
package com.ccsens.tall.service;
import com.ccsens.tall.bean.po.ProShow;
public interface IProShowService{
void saveProShow(ProShow proShow);
}

7
tall/src/main/java/com/ccsens/tall/service/ISysDomainService.java

@ -0,0 +1,7 @@
package com.ccsens.tall.service;
import com.ccsens.tall.bean.vo.DomainVo;
public interface ISysDomainService {
DomainVo.DomainInfo getDomainByName(String domainName);
}

2
tall/src/main/java/com/ccsens/tall/service/ProRoleService.java

@ -57,7 +57,7 @@ public class ProRoleService implements IProRoleService {
//是否mine
if (CollectionUtil.isNotEmpty(memberRoleList)) {
//获取用户在项目中的角色
List<ProRole> roleList = proMemberService.selectRolesByUserIdAndProjectId(projectId, currentUserId);
List<ProRole> roleList = proMemberService.selectRolesByUserIdAndProjectId(currentUserId, projectId);
for (ProjectVo.RoleInfo memberRole : memberRoleList) {
if (ObjectUtil.isNotNull(roleList)) {
for(ProRole role:roleList){

17
tall/src/main/java/com/ccsens/tall/service/ProShowService.java

@ -0,0 +1,17 @@
package com.ccsens.tall.service;
import com.ccsens.tall.bean.po.ProShow;
import com.ccsens.tall.persist.dao.ProShowDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class ProShowService implements IProShowService{
@Autowired
private ProShowDao proShowDao;
@Override
public void saveProShow(ProShow proShow) {
proShowDao.insertSelective(proShow);
}
}

6
tall/src/main/java/com/ccsens/tall/service/ProTaskDetailService.java

@ -714,7 +714,7 @@ public class ProTaskDetailService implements IProTaskDetailService {
ProTaskDetail taskDetail = taskDetailDao.selectByPrimaryKey(subTime.getTaskDetailId());
if (taskDetail.getFinishNeedAll() == 0) {
ProSubTimeMemberExample subTimeMemberExample = new ProSubTimeMemberExample();
subTimeMemberExample.createCriteria().andTaskSubTimeIdEqualTo(subTimeId).andComplatedStatusEqualTo(2);
subTimeMemberExample.createCriteria().andTaskSubTimeIdEqualTo(subTimeId).andComplatedStatusEqualTo((byte) 2);
subTimeMemberExample.setOrderByClause("real_finish_time DESC");
List<ProSubTimeMember> subTimeMemberList = proSubTimeMemberDao.selectByExample(subTimeMemberExample);
if (CollectionUtil.isNotEmpty(subTimeMemberList)) {
@ -729,7 +729,7 @@ public class ProTaskDetailService implements IProTaskDetailService {
if (role.getName().equalsIgnoreCase(WebConstant.ROLE_NAME.AllMember.phase) || isBelongRole) {
ProSubTimeMemberExample subTimeMemberExample = new ProSubTimeMemberExample();
subTimeMemberExample.createCriteria().andTaskSubTimeIdEqualTo(subTimeId)
.andMemberIdEqualTo(porMember.getId()).andComplatedStatusEqualTo(2);
.andMemberIdEqualTo(porMember.getId()).andComplatedStatusEqualTo((byte) 2);
List<ProSubTimeMember> subTimeMemberList = proSubTimeMemberDao.selectByExample(subTimeMemberExample);
if (CollectionUtil.isNotEmpty(subTimeMemberList)) {
subTimeMember = subTimeMemberList.get(0);
@ -741,7 +741,7 @@ public class ProTaskDetailService implements IProTaskDetailService {
for (ProMember member : memberList) {
ProSubTimeMemberExample subTimeMemberExample = new ProSubTimeMemberExample();
subTimeMemberExample.createCriteria().andTaskSubTimeIdEqualTo(subTimeId)
.andMemberIdEqualTo(member.getId()).andComplatedStatusEqualTo(2);
.andMemberIdEqualTo(member.getId()).andComplatedStatusEqualTo((byte) 2);
subTimeMemberExample.setOrderByClause("real_finish_time");
List<ProSubTimeMember> subTimeMemberList = proSubTimeMemberDao.selectByExample(subTimeMemberExample);
if (CollectionUtil.isEmpty(subTimeMemberList)) {

10
tall/src/main/java/com/ccsens/tall/service/ProjectService.java

@ -237,6 +237,16 @@ public class ProjectService implements IProjectService {
//用户在项目中的最高权限
int power = proRoleService.selectPowerByRoleName(proRoles);
projectInfo.setPower(power);
//获取项目配置
ProShowExample proShowExample = new ProShowExample();
proShowExample.createCriteria().andProjectIdEqualTo(projectId);
List<ProShow> proShowList = new ArrayList<>();
if(CollectionUtil.isNotEmpty(proShowList)){
ProjectVo.ProjectConfig projectConfig = new ProjectVo.ProjectConfig();
projectConfig.setSlide(proShowList.get(0).getSlide());
projectConfig.setFilter(proShowList.get(0).getFilter());
projectInfo.setProjectConfig(projectConfig);
}
return projectInfo;
}

36
tall/src/main/java/com/ccsens/tall/service/SysDomainService.java

@ -0,0 +1,36 @@
package com.ccsens.tall.service;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.ccsens.tall.bean.po.SysDomain;
import com.ccsens.tall.bean.po.SysDomainExample;
import com.ccsens.tall.bean.vo.DomainVo;
import com.ccsens.tall.persist.dao.SysDomainDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public class SysDomainService implements ISysDomainService{
@Autowired
private SysDomainDao sysDomainDao;
/**
* 根据域名获取域的配置信息
*/
@Override
public DomainVo.DomainInfo getDomainByName(String domainName) {
DomainVo.DomainInfo domainInfo = new DomainVo.DomainInfo();
SysDomainExample domainExample = new SysDomainExample();
domainExample.createCriteria().andDomainNameEqualTo(domainName);
List<SysDomain> domainList = sysDomainDao.selectByExample(domainExample);
if(CollectionUtil.isNotEmpty(domainList)){
for(SysDomain domain :domainList){
BeanUtil.copyProperties(domain,domainInfo);
}
}
return domainInfo;
}
}

9
tall/src/main/java/com/ccsens/tall/service/TaskDeliverService.java

@ -101,13 +101,14 @@ public class TaskDeliverService implements ITaskDeliverService {
for (ProTaskDeliverPostLogChecker checker : postLogCheckerList) {
if (checker.getCheckStatus() == 0) {
deliverInfoByMVP.setStatus("待检查");
isChecker = true;
} else {
isChecker = false;
} else if(checker.getCheckStatus() == -1) {
deliverInfoByMVP.setStatus("未通过");
isChecker = false;
break;
}
}
if (!isChecker) {
if(isChecker){
deliverInfoByMVP.setStatus("已通过");
}
}
@ -576,7 +577,7 @@ public class TaskDeliverService implements ITaskDeliverService {
List<ProSubTimeMember> subTimeMemberList = proSubTimeMemberDao.selectByExample(subTimeMemberExample);
if(CollectionUtil.isNotEmpty(subTimeMemberList)){
for(ProSubTimeMember proSubTimeMember:subTimeMemberList){
proSubTimeMember.setComplatedStatus(0);
proSubTimeMember.setComplatedStatus((byte) 0);
proSubTimeMember.setRealFinishTime(0L);
proSubTimeMemberDao.updateByPrimaryKeySelective(proSubTimeMember);
}

8
tall/src/main/java/com/ccsens/tall/service/TaskSubTimeService.java

@ -120,26 +120,26 @@ public class TaskSubTimeService implements ITaskSubTimeService {
if(ObjectUtil.isNull(subTimeMember)){
subTimeMember = new ProSubTimeMember();
subTimeMember.setId(snowflake.nextId());
subTimeMember.setComplatedStatus(2);
subTimeMember.setComplatedStatus((byte) 2);
subTimeMember.setMemberId(member.getId());
subTimeMember.setTaskSubTimeId(subTimeId.getId());
subTimeMember.setRealFinishTime(System.currentTimeMillis());
proSubTimeMemberDao.insertSelective(subTimeMember);
}else {
subTimeMember.setComplatedStatus(2);
subTimeMember.setComplatedStatus((byte) 2);
subTimeMember.setRealFinishTime(System.currentTimeMillis());
proSubTimeMemberDao.updateByPrimaryKeySelective(subTimeMember);
}
}else {
ProSubTimeMember subTimeMember = isFinishTask(member.getId(),subTimeId.getId());
if(ObjectUtil.isNotNull(subTimeMember)){
subTimeMember.setComplatedStatus(2);
subTimeMember.setComplatedStatus((byte) 2);
subTimeMember.setRealFinishTime(System.currentTimeMillis());
proSubTimeMemberDao.updateByPrimaryKeySelective(subTimeMember);
}else {
subTimeMember = new ProSubTimeMember();
subTimeMember.setId(snowflake.nextId());
subTimeMember.setComplatedStatus(2);
subTimeMember.setComplatedStatus((byte) 2);
subTimeMember.setTaskSubTimeId(subTimeId.getId());
subTimeMember.setMemberId(member.getId());
subTimeMember.setRealFinishTime(System.currentTimeMillis());

36
tall/src/main/java/com/ccsens/tall/web/DomainController.java

@ -0,0 +1,36 @@
package com.ccsens.tall.web;
import com.ccsens.tall.bean.vo.DomainVo;
import com.ccsens.tall.bean.vo.ProjectVo;
import com.ccsens.tall.service.ISysDomainService;
import com.ccsens.util.JsonResponse;
import com.ccsens.util.WebConstant;
import io.jsonwebtoken.Claims;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.util.List;
@Api(tags = "域相关API", description = "")
@RestController
@RequestMapping("/domain")
public class DomainController {
@Autowired
private ISysDomainService domainService;
@ApiOperation(value = "通过域名查找域的信息",notes = "")
@ApiImplicitParams({
@ApiImplicitParam(name = "id", value = "项目Id", required = true, paramType = "path")
})
@RequestMapping(value = "", method = RequestMethod.GET, produces = {"application/json;charset=UTF-8"})
public JsonResponse<DomainVo.DomainInfo> getDomainByName(HttpServletRequest request,
@RequestParam(required = true) String domainName) throws Exception {
DomainVo.DomainInfo domainInfo = domainService.getDomainByName(domainName);
return JsonResponse.newInstance().ok();
}
}

4
tall/src/main/resources/application.yml

@ -1,4 +1,4 @@
spring:
profiles:
active: test
include: util-test,common
active: dev
include: util-dev,common

275
tall/src/main/resources/mapper_raw/ProShowMapper.xml

@ -0,0 +1,275 @@
<?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.ccsens.tall.persist.mapper.ProShowMapper">
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.ProShow">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="project_id" jdbcType="BIGINT" property="projectId" />
<result column="slide" jdbcType="TINYINT" property="slide" />
<result column="filter" jdbcType="TINYINT" property="filter" />
<result column="time_show" jdbcType="VARCHAR" property="timeShow" />
<result column="duration" jdbcType="TINYINT" property="duration" />
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="rec_status" jdbcType="TINYINT" property="recStatus" />
</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">
id, project_id, slide, filter, time_show, duration, created_at, updated_at, rec_status
</sql>
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from t_pro_show
<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.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from t_pro_show
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from t_pro_show
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample">
delete from t_pro_show
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.ccsens.tall.bean.po.ProShow">
insert into t_pro_show (id, project_id, slide,
filter, time_show, duration,
created_at, updated_at, rec_status
)
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{slide,jdbcType=TINYINT},
#{filter,jdbcType=TINYINT}, #{timeShow,jdbcType=VARCHAR}, #{duration,jdbcType=TINYINT},
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}
)
</insert>
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProShow">
insert into t_pro_show
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="projectId != null">
project_id,
</if>
<if test="slide != null">
slide,
</if>
<if test="filter != null">
filter,
</if>
<if test="timeShow != null">
time_show,
</if>
<if test="duration != null">
duration,
</if>
<if test="createdAt != null">
created_at,
</if>
<if test="updatedAt != null">
updated_at,
</if>
<if test="recStatus != null">
rec_status,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="projectId != null">
#{projectId,jdbcType=BIGINT},
</if>
<if test="slide != null">
#{slide,jdbcType=TINYINT},
</if>
<if test="filter != null">
#{filter,jdbcType=TINYINT},
</if>
<if test="timeShow != null">
#{timeShow,jdbcType=VARCHAR},
</if>
<if test="duration != null">
#{duration,jdbcType=TINYINT},
</if>
<if test="createdAt != null">
#{createdAt,jdbcType=TIMESTAMP},
</if>
<if test="updatedAt != null">
#{updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="recStatus != null">
#{recStatus,jdbcType=TINYINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProShowExample" resultType="java.lang.Long">
select count(*) from t_pro_show
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update t_pro_show
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.projectId != null">
project_id = #{record.projectId,jdbcType=BIGINT},
</if>
<if test="record.slide != null">
slide = #{record.slide,jdbcType=TINYINT},
</if>
<if test="record.filter != null">
filter = #{record.filter,jdbcType=TINYINT},
</if>
<if test="record.timeShow != null">
time_show = #{record.timeShow,jdbcType=VARCHAR},
</if>
<if test="record.duration != null">
duration = #{record.duration,jdbcType=TINYINT},
</if>
<if test="record.createdAt != null">
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
</if>
<if test="record.updatedAt != null">
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="record.recStatus != null">
rec_status = #{record.recStatus,jdbcType=TINYINT},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update t_pro_show
set id = #{record.id,jdbcType=BIGINT},
project_id = #{record.projectId,jdbcType=BIGINT},
slide = #{record.slide,jdbcType=TINYINT},
filter = #{record.filter,jdbcType=TINYINT},
time_show = #{record.timeShow,jdbcType=VARCHAR},
duration = #{record.duration,jdbcType=TINYINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.ProShow">
update t_pro_show
<set>
<if test="projectId != null">
project_id = #{projectId,jdbcType=BIGINT},
</if>
<if test="slide != null">
slide = #{slide,jdbcType=TINYINT},
</if>
<if test="filter != null">
filter = #{filter,jdbcType=TINYINT},
</if>
<if test="timeShow != null">
time_show = #{timeShow,jdbcType=VARCHAR},
</if>
<if test="duration != null">
duration = #{duration,jdbcType=TINYINT},
</if>
<if test="createdAt != null">
created_at = #{createdAt,jdbcType=TIMESTAMP},
</if>
<if test="updatedAt != null">
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="recStatus != null">
rec_status = #{recStatus,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.ProShow">
update t_pro_show
set project_id = #{projectId,jdbcType=BIGINT},
slide = #{slide,jdbcType=TINYINT},
filter = #{filter,jdbcType=TINYINT},
time_show = #{timeShow,jdbcType=VARCHAR},
duration = #{duration,jdbcType=TINYINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>

14
tall/src/main/resources/mapper_raw/ProSubTimeMemberMapper.xml

@ -5,7 +5,7 @@
<id column="id" jdbcType="BIGINT" property="id" />
<result column="task_sub_time_id" jdbcType="BIGINT" property="taskSubTimeId" />
<result column="member_id" jdbcType="BIGINT" property="memberId" />
<result column="complated_status" jdbcType="INTEGER" property="complatedStatus" />
<result column="complated_status" jdbcType="TINYINT" property="complatedStatus" />
<result column="real_finish_time" jdbcType="BIGINT" property="realFinishTime" />
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
@ -108,7 +108,7 @@
complated_status, real_finish_time, created_at,
updated_at, rec_status)
values (#{id,jdbcType=BIGINT}, #{taskSubTimeId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT},
#{complatedStatus,jdbcType=INTEGER}, #{realFinishTime,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP},
#{complatedStatus,jdbcType=TINYINT}, #{realFinishTime,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT})
</insert>
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProSubTimeMember">
@ -150,7 +150,7 @@
#{memberId,jdbcType=BIGINT},
</if>
<if test="complatedStatus != null">
#{complatedStatus,jdbcType=INTEGER},
#{complatedStatus,jdbcType=TINYINT},
</if>
<if test="realFinishTime != null">
#{realFinishTime,jdbcType=BIGINT},
@ -185,7 +185,7 @@
member_id = #{record.memberId,jdbcType=BIGINT},
</if>
<if test="record.complatedStatus != null">
complated_status = #{record.complatedStatus,jdbcType=INTEGER},
complated_status = #{record.complatedStatus,jdbcType=TINYINT},
</if>
<if test="record.realFinishTime != null">
real_finish_time = #{record.realFinishTime,jdbcType=BIGINT},
@ -209,7 +209,7 @@
set id = #{record.id,jdbcType=BIGINT},
task_sub_time_id = #{record.taskSubTimeId,jdbcType=BIGINT},
member_id = #{record.memberId,jdbcType=BIGINT},
complated_status = #{record.complatedStatus,jdbcType=INTEGER},
complated_status = #{record.complatedStatus,jdbcType=TINYINT},
real_finish_time = #{record.realFinishTime,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
@ -228,7 +228,7 @@
member_id = #{memberId,jdbcType=BIGINT},
</if>
<if test="complatedStatus != null">
complated_status = #{complatedStatus,jdbcType=INTEGER},
complated_status = #{complatedStatus,jdbcType=TINYINT},
</if>
<if test="realFinishTime != null">
real_finish_time = #{realFinishTime,jdbcType=BIGINT},
@ -249,7 +249,7 @@
update t_pro_sub_time_member
set task_sub_time_id = #{taskSubTimeId,jdbcType=BIGINT},
member_id = #{memberId,jdbcType=BIGINT},
complated_status = #{complatedStatus,jdbcType=INTEGER},
complated_status = #{complatedStatus,jdbcType=TINYINT},
real_finish_time = #{realFinishTime,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},

291
tall/src/main/resources/mapper_raw/SysDomainMapper.xml

@ -0,0 +1,291 @@
<?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.ccsens.tall.persist.mapper.SysDomainMapper">
<resultMap id="BaseResultMap" type="com.ccsens.tall.bean.po.SysDomain">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="domain_name" jdbcType="VARCHAR" property="domainName" />
<result column="logo" jdbcType="VARCHAR" property="logo" />
<result column="company_name" jdbcType="VARCHAR" property="companyName" />
<result column="system_name" jdbcType="VARCHAR" property="systemName" />
<result column="show_calendar" jdbcType="TINYINT" property="showCalendar" />
<result column="show_project_id" jdbcType="BIGINT" property="showProjectId" />
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" />
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="rec_status" jdbcType="TINYINT" property="recStatus" />
</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">
id, domain_name, logo, company_name, system_name, show_calendar, show_project_id,
created_at, updated_at, rec_status
</sql>
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.SysDomainExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from t_sys_domain
<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.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from t_sys_domain
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from t_sys_domain
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.ccsens.tall.bean.po.SysDomainExample">
delete from t_sys_domain
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.ccsens.tall.bean.po.SysDomain">
insert into t_sys_domain (id, domain_name, logo,
company_name, system_name, show_calendar,
show_project_id, created_at, updated_at,
rec_status)
values (#{id,jdbcType=BIGINT}, #{domainName,jdbcType=VARCHAR}, #{logo,jdbcType=VARCHAR},
#{companyName,jdbcType=VARCHAR}, #{systemName,jdbcType=VARCHAR}, #{showCalendar,jdbcType=TINYINT},
#{showProjectId,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP},
#{recStatus,jdbcType=TINYINT})
</insert>
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.SysDomain">
insert into t_sys_domain
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null">
id,
</if>
<if test="domainName != null">
domain_name,
</if>
<if test="logo != null">
logo,
</if>
<if test="companyName != null">
company_name,
</if>
<if test="systemName != null">
system_name,
</if>
<if test="showCalendar != null">
show_calendar,
</if>
<if test="showProjectId != null">
show_project_id,
</if>
<if test="createdAt != null">
created_at,
</if>
<if test="updatedAt != null">
updated_at,
</if>
<if test="recStatus != null">
rec_status,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
#{id,jdbcType=BIGINT},
</if>
<if test="domainName != null">
#{domainName,jdbcType=VARCHAR},
</if>
<if test="logo != null">
#{logo,jdbcType=VARCHAR},
</if>
<if test="companyName != null">
#{companyName,jdbcType=VARCHAR},
</if>
<if test="systemName != null">
#{systemName,jdbcType=VARCHAR},
</if>
<if test="showCalendar != null">
#{showCalendar,jdbcType=TINYINT},
</if>
<if test="showProjectId != null">
#{showProjectId,jdbcType=BIGINT},
</if>
<if test="createdAt != null">
#{createdAt,jdbcType=TIMESTAMP},
</if>
<if test="updatedAt != null">
#{updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="recStatus != null">
#{recStatus,jdbcType=TINYINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.SysDomainExample" resultType="java.lang.Long">
select count(*) from t_sys_domain
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update t_sys_domain
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.domainName != null">
domain_name = #{record.domainName,jdbcType=VARCHAR},
</if>
<if test="record.logo != null">
logo = #{record.logo,jdbcType=VARCHAR},
</if>
<if test="record.companyName != null">
company_name = #{record.companyName,jdbcType=VARCHAR},
</if>
<if test="record.systemName != null">
system_name = #{record.systemName,jdbcType=VARCHAR},
</if>
<if test="record.showCalendar != null">
show_calendar = #{record.showCalendar,jdbcType=TINYINT},
</if>
<if test="record.showProjectId != null">
show_project_id = #{record.showProjectId,jdbcType=BIGINT},
</if>
<if test="record.createdAt != null">
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
</if>
<if test="record.updatedAt != null">
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="record.recStatus != null">
rec_status = #{record.recStatus,jdbcType=TINYINT},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update t_sys_domain
set id = #{record.id,jdbcType=BIGINT},
domain_name = #{record.domainName,jdbcType=VARCHAR},
logo = #{record.logo,jdbcType=VARCHAR},
company_name = #{record.companyName,jdbcType=VARCHAR},
system_name = #{record.systemName,jdbcType=VARCHAR},
show_calendar = #{record.showCalendar,jdbcType=TINYINT},
show_project_id = #{record.showProjectId,jdbcType=BIGINT},
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.tall.bean.po.SysDomain">
update t_sys_domain
<set>
<if test="domainName != null">
domain_name = #{domainName,jdbcType=VARCHAR},
</if>
<if test="logo != null">
logo = #{logo,jdbcType=VARCHAR},
</if>
<if test="companyName != null">
company_name = #{companyName,jdbcType=VARCHAR},
</if>
<if test="systemName != null">
system_name = #{systemName,jdbcType=VARCHAR},
</if>
<if test="showCalendar != null">
show_calendar = #{showCalendar,jdbcType=TINYINT},
</if>
<if test="showProjectId != null">
show_project_id = #{showProjectId,jdbcType=BIGINT},
</if>
<if test="createdAt != null">
created_at = #{createdAt,jdbcType=TIMESTAMP},
</if>
<if test="updatedAt != null">
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
</if>
<if test="recStatus != null">
rec_status = #{recStatus,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.ccsens.tall.bean.po.SysDomain">
update t_sys_domain
set domain_name = #{domainName,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
company_name = #{companyName,jdbcType=VARCHAR},
system_name = #{systemName,jdbcType=VARCHAR},
show_calendar = #{showCalendar,jdbcType=TINYINT},
show_project_id = #{showProjectId,jdbcType=BIGINT},
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>

7
tall/src/main/resources/mbg.xml

@ -76,7 +76,12 @@
<table tableName="t_msg_log" domainObjectName="MsgLog"></table>
<table tableName="t_stakeholder" domainObjectName="Stakeholder"></table>
<table tableName="t_task_hardware" domainObjectName="TaskHardware"></table>-->
<table tableName="t_sys_user" domainObjectName="SysUser"></table>
<!--<table tableName="t_sys_user" domainObjectName="SysUser"></table>-->
<table tableName="t_pro_sub_time_member" domainObjectName="ProSubTimeMember"></table>
<table tableName="t_sys_domain" domainObjectName="SysDomain"></table>
<table tableName="t_pro_show" domainObjectName="ProShow"></table>
<!-- 有些表的字段需要指定java类型
<table schema="" tableName="">
<columnOverride column="" javaType="" />

Loading…
Cancel
Save