Browse Source

修改健康首页等级评估数据源

xieshengjie 3 years ago
parent
commit
2d61f83308

+ 96 - 0
src/main/java/com/gyee/frame/mapper/auto/DailyratingmainMapper.java

@@ -0,0 +1,96 @@
+package com.gyee.frame.mapper.auto;
+
+import com.gyee.frame.model.auto.Dailyratingmain;
+import com.gyee.frame.model.auto.DailyratingmainExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface DailyratingmainMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    long countByExample(DailyratingmainExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(DailyratingmainExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Short id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int insert(Dailyratingmain record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int insertSelective(Dailyratingmain record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    List<Dailyratingmain> selectByExample(DailyratingmainExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    Dailyratingmain selectByPrimaryKey(Short id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") Dailyratingmain record, @Param("example") DailyratingmainExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") Dailyratingmain record, @Param("example") DailyratingmainExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(Dailyratingmain record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(Dailyratingmain record);
+}

+ 279 - 0
src/main/java/com/gyee/frame/model/auto/Dailyratingmain.java

@@ -0,0 +1,279 @@
+package com.gyee.frame.model.auto;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+public class Dailyratingmain implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.ID
+     *
+     * @mbg.generated
+     */
+    private Long id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.RECORDDATE
+     *
+     * @mbg.generated
+     */
+    private Date recorddate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.WTID
+     *
+     * @mbg.generated
+     */
+    private String wtid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.WPID
+     *
+     * @mbg.generated
+     */
+    private String wpid;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.GRADE
+     *
+     * @mbg.generated
+     */
+    private String grade;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.RANKING
+     *
+     * @mbg.generated
+     */
+    private Integer ranking;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.SCORE
+     *
+     * @mbg.generated
+     */
+    private Double score;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column DAILYRATINGMAIN.TID
+     *
+     * @mbg.generated
+     */
+    private Long tid;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.ID
+     *
+     * @return the value of DAILYRATINGMAIN.ID
+     *
+     * @mbg.generated
+     */
+    public Long getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.ID
+     *
+     * @param id the value for DAILYRATINGMAIN.ID
+     *
+     * @mbg.generated
+     */
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.RECORDDATE
+     *
+     * @return the value of DAILYRATINGMAIN.RECORDDATE
+     *
+     * @mbg.generated
+     */
+    public Date getRecorddate() {
+        return recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.RECORDDATE
+     *
+     * @param recorddate the value for DAILYRATINGMAIN.RECORDDATE
+     *
+     * @mbg.generated
+     */
+    public void setRecorddate(Date recorddate) {
+        this.recorddate = recorddate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.WTID
+     *
+     * @return the value of DAILYRATINGMAIN.WTID
+     *
+     * @mbg.generated
+     */
+    public String getWtid() {
+        return wtid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.WTID
+     *
+     * @param wtid the value for DAILYRATINGMAIN.WTID
+     *
+     * @mbg.generated
+     */
+    public void setWtid(String wtid) {
+        this.wtid = wtid == null ? null : wtid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.WPID
+     *
+     * @return the value of DAILYRATINGMAIN.WPID
+     *
+     * @mbg.generated
+     */
+    public String getWpid() {
+        return wpid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.WPID
+     *
+     * @param wpid the value for DAILYRATINGMAIN.WPID
+     *
+     * @mbg.generated
+     */
+    public void setWpid(String wpid) {
+        this.wpid = wpid == null ? null : wpid.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.GRADE
+     *
+     * @return the value of DAILYRATINGMAIN.GRADE
+     *
+     * @mbg.generated
+     */
+    public String getGrade() {
+        return grade;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.GRADE
+     *
+     * @param grade the value for DAILYRATINGMAIN.GRADE
+     *
+     * @mbg.generated
+     */
+    public void setGrade(String grade) {
+        this.grade = grade == null ? null : grade.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.RANKING
+     *
+     * @return the value of DAILYRATINGMAIN.RANKING
+     *
+     * @mbg.generated
+     */
+    public Integer getRanking() {
+        return ranking;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.RANKING
+     *
+     * @param ranking the value for DAILYRATINGMAIN.RANKING
+     *
+     * @mbg.generated
+     */
+    public void setRanking(Integer ranking) {
+        this.ranking = ranking;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.SCORE
+     *
+     * @return the value of DAILYRATINGMAIN.SCORE
+     *
+     * @mbg.generated
+     */
+    public Double getScore() {
+        return score;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.SCORE
+     *
+     * @param score the value for DAILYRATINGMAIN.SCORE
+     *
+     * @mbg.generated
+     */
+    public void setScore(Double score) {
+        this.score = score;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column DAILYRATINGMAIN.TID
+     *
+     * @return the value of DAILYRATINGMAIN.TID
+     *
+     * @mbg.generated
+     */
+    public Long getTid() {
+        return tid;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column DAILYRATINGMAIN.TID
+     *
+     * @param tid the value for DAILYRATINGMAIN.TID
+     *
+     * @mbg.generated
+     */
+    public void setTid(Long tid) {
+        this.tid = tid;
+    }
+}

+ 814 - 0
src/main/java/com/gyee/frame/model/auto/DailyratingmainExample.java

@@ -0,0 +1,814 @@
+package com.gyee.frame.model.auto;
+
+import java.math.BigDecimal;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class DailyratingmainExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public DailyratingmainExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    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(Short value) {
+            addCriterion("ID =", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(Short value) {
+            addCriterion("ID <>", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(Short value) {
+            addCriterion("ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(Short value) {
+            addCriterion("ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(Short value) {
+            addCriterion("ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(Short value) {
+            addCriterion("ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<Short> values) {
+            addCriterion("ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<Short> values) {
+            addCriterion("ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(Short value1, Short value2) {
+            addCriterion("ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(Short value1, Short value2) {
+            addCriterion("ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNull() {
+            addCriterion("RECORDDATE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIsNotNull() {
+            addCriterion("RECORDDATE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateEqualTo(Date value) {
+            addCriterion("RECORDDATE =", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotEqualTo(Date value) {
+            addCriterion("RECORDDATE <>", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThan(Date value) {
+            addCriterion("RECORDDATE >", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
+            addCriterion("RECORDDATE >=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThan(Date value) {
+            addCriterion("RECORDDATE <", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
+            addCriterion("RECORDDATE <=", value, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateIn(List<Date> values) {
+            addCriterion("RECORDDATE in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotIn(List<Date> values) {
+            addCriterion("RECORDDATE not in", values, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateBetween(Date value1, Date value2) {
+            addCriterion("RECORDDATE between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
+            addCriterion("RECORDDATE not between", value1, value2, "recorddate");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidIsNull() {
+            addCriterion("WTID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidIsNotNull() {
+            addCriterion("WTID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidEqualTo(String value) {
+            addCriterion("WTID =", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidNotEqualTo(String value) {
+            addCriterion("WTID <>", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidGreaterThan(String value) {
+            addCriterion("WTID >", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidGreaterThanOrEqualTo(String value) {
+            addCriterion("WTID >=", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidLessThan(String value) {
+            addCriterion("WTID <", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidLessThanOrEqualTo(String value) {
+            addCriterion("WTID <=", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidLike(String value) {
+            addCriterion("WTID like", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidNotLike(String value) {
+            addCriterion("WTID not like", value, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidIn(List<String> values) {
+            addCriterion("WTID in", values, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidNotIn(List<String> values) {
+            addCriterion("WTID not in", values, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidBetween(String value1, String value2) {
+            addCriterion("WTID between", value1, value2, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWtidNotBetween(String value1, String value2) {
+            addCriterion("WTID not between", value1, value2, "wtid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidIsNull() {
+            addCriterion("WPID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidIsNotNull() {
+            addCriterion("WPID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidEqualTo(String value) {
+            addCriterion("WPID =", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidNotEqualTo(String value) {
+            addCriterion("WPID <>", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidGreaterThan(String value) {
+            addCriterion("WPID >", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidGreaterThanOrEqualTo(String value) {
+            addCriterion("WPID >=", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidLessThan(String value) {
+            addCriterion("WPID <", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidLessThanOrEqualTo(String value) {
+            addCriterion("WPID <=", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidLike(String value) {
+            addCriterion("WPID like", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidNotLike(String value) {
+            addCriterion("WPID not like", value, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidIn(List<String> values) {
+            addCriterion("WPID in", values, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidNotIn(List<String> values) {
+            addCriterion("WPID not in", values, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidBetween(String value1, String value2) {
+            addCriterion("WPID between", value1, value2, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andWpidNotBetween(String value1, String value2) {
+            addCriterion("WPID not between", value1, value2, "wpid");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeIsNull() {
+            addCriterion("GRADE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeIsNotNull() {
+            addCriterion("GRADE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeEqualTo(String value) {
+            addCriterion("GRADE =", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeNotEqualTo(String value) {
+            addCriterion("GRADE <>", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeGreaterThan(String value) {
+            addCriterion("GRADE >", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeGreaterThanOrEqualTo(String value) {
+            addCriterion("GRADE >=", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeLessThan(String value) {
+            addCriterion("GRADE <", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeLessThanOrEqualTo(String value) {
+            addCriterion("GRADE <=", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeLike(String value) {
+            addCriterion("GRADE like", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeNotLike(String value) {
+            addCriterion("GRADE not like", value, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeIn(List<String> values) {
+            addCriterion("GRADE in", values, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeNotIn(List<String> values) {
+            addCriterion("GRADE not in", values, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeBetween(String value1, String value2) {
+            addCriterion("GRADE between", value1, value2, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andGradeNotBetween(String value1, String value2) {
+            addCriterion("GRADE not between", value1, value2, "grade");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingIsNull() {
+            addCriterion("RANKING is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingIsNotNull() {
+            addCriterion("RANKING is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingEqualTo(Short value) {
+            addCriterion("RANKING =", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingNotEqualTo(Short value) {
+            addCriterion("RANKING <>", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingGreaterThan(Short value) {
+            addCriterion("RANKING >", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingGreaterThanOrEqualTo(Short value) {
+            addCriterion("RANKING >=", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingLessThan(Short value) {
+            addCriterion("RANKING <", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingLessThanOrEqualTo(Short value) {
+            addCriterion("RANKING <=", value, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingIn(List<Short> values) {
+            addCriterion("RANKING in", values, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingNotIn(List<Short> values) {
+            addCriterion("RANKING not in", values, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingBetween(Short value1, Short value2) {
+            addCriterion("RANKING between", value1, value2, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andRankingNotBetween(Short value1, Short value2) {
+            addCriterion("RANKING not between", value1, value2, "ranking");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreIsNull() {
+            addCriterion("SCORE is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreIsNotNull() {
+            addCriterion("SCORE is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreEqualTo(BigDecimal value) {
+            addCriterion("SCORE =", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreNotEqualTo(BigDecimal value) {
+            addCriterion("SCORE <>", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreGreaterThan(BigDecimal value) {
+            addCriterion("SCORE >", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreGreaterThanOrEqualTo(BigDecimal value) {
+            addCriterion("SCORE >=", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreLessThan(BigDecimal value) {
+            addCriterion("SCORE <", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreLessThanOrEqualTo(BigDecimal value) {
+            addCriterion("SCORE <=", value, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreIn(List<BigDecimal> values) {
+            addCriterion("SCORE in", values, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreNotIn(List<BigDecimal> values) {
+            addCriterion("SCORE not in", values, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("SCORE between", value1, value2, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andScoreNotBetween(BigDecimal value1, BigDecimal value2) {
+            addCriterion("SCORE not between", value1, value2, "score");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidIsNull() {
+            addCriterion("TID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidIsNotNull() {
+            addCriterion("TID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidEqualTo(Short value) {
+            addCriterion("TID =", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidNotEqualTo(Short value) {
+            addCriterion("TID <>", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidGreaterThan(Short value) {
+            addCriterion("TID >", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidGreaterThanOrEqualTo(Short value) {
+            addCriterion("TID >=", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidLessThan(Short value) {
+            addCriterion("TID <", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidLessThanOrEqualTo(Short value) {
+            addCriterion("TID <=", value, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidIn(List<Short> values) {
+            addCriterion("TID in", values, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidNotIn(List<Short> values) {
+            addCriterion("TID not in", values, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidBetween(Short value1, Short value2) {
+            addCriterion("TID between", value1, value2, "tid");
+            return (Criteria) this;
+        }
+
+        public Criteria andTidNotBetween(Short value1, Short value2) {
+            addCriterion("TID not between", value1, value2, "tid");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table DAILYRATINGMAIN
+     *
+     * @mbg.generated
+     */
+    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);
+        }
+    }
+}

+ 118 - 0
src/main/java/com/gyee/frame/service/DailyratingmainService.java

@@ -0,0 +1,118 @@
+package com.gyee.frame.service;
+
+import com.gyee.frame.common.base.BaseService;
+import com.gyee.frame.common.support.Convert;
+import com.gyee.frame.mapper.auto.DailyratingmainMapper;
+import com.gyee.frame.mapper.auto.Daylygradeassessmentmain2Mapper;
+import com.gyee.frame.model.auto.Dailyratingmain;
+import com.gyee.frame.model.auto.DailyratingmainExample;
+import com.gyee.frame.model.auto.Daylygradeassessmentmain2;
+import com.gyee.frame.model.auto.Daylygradeassessmentmain2Example;
+import com.gyee.frame.util.DateUtils;
+import com.gyee.frame.util.SnowflakeIdWorker;
+import com.gyee.frame.util.StringUtils;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+
+@Service
+public class DailyratingmainService implements BaseService<Dailyratingmain, DailyratingmainExample> {
+	@Resource
+	private DailyratingmainMapper DailyratingmainMapper;
+	
+
+
+
+
+	public List<Dailyratingmain> getDaylygradeassessmentmain2ListBywtId(String wtId, Date recorddate) {
+
+		List<Dailyratingmain> list=new ArrayList<>();
+
+		if (StringUtils.notEmp(wtId) && StringUtils.notEmp(recorddate) ) {
+
+			DailyratingmainExample example=new DailyratingmainExample();
+			example.setOrderByClause("recorddate DESC");
+
+			DailyratingmainExample.Criteria criteria =example.createCriteria();
+
+			Date endDate= DateUtils.addDays(recorddate,1);
+			criteria.andRecorddateGreaterThanOrEqualTo(recorddate).andRecorddateLessThan(endDate);
+
+			criteria.andWtidEqualTo(wtId);
+			list= DailyratingmainMapper.selectByExample(example);
+
+		}
+		return list;
+
+	}
+
+	public List<Dailyratingmain> getDaylygradeassessmentmain2ListBywtId(String wtId, Date beginDate, Date endDate) {
+
+		List<Dailyratingmain> list=new ArrayList<>();
+
+		if (StringUtils.notEmp(wtId) && StringUtils.notEmp(beginDate) && StringUtils.notEmp(endDate) ) {
+
+			DailyratingmainExample example=new DailyratingmainExample();
+			example.setOrderByClause("recorddate DESC");
+
+			DailyratingmainExample.Criteria criteria =example.createCriteria();
+
+			criteria.andRecorddateGreaterThanOrEqualTo(beginDate).andRecorddateLessThan(endDate);
+
+			criteria.andWtidEqualTo(wtId);
+			list= DailyratingmainMapper.selectByExample(example);
+
+		}
+		return list;
+
+	}
+
+	@Override
+	public int deleteByPrimaryKey(String id) {
+		return 0;
+	}
+
+	@Override
+	public int insertSelective(Dailyratingmain record) {
+		return 0;
+	}
+
+	@Override
+	public Dailyratingmain selectByPrimaryKey(String id) {
+		return null;
+	}
+
+	@Override
+	public int updateByPrimaryKeySelective(Dailyratingmain record) {
+		return 0;
+	}
+
+	@Override
+	public int updateByExampleSelective(Dailyratingmain record, DailyratingmainExample example) {
+		return 0;
+	}
+
+	@Override
+	public int updateByExample(Dailyratingmain record, DailyratingmainExample example) {
+		return 0;
+	}
+
+	@Override
+	public List<Dailyratingmain> selectByExample(DailyratingmainExample example) {
+		return null;
+	}
+
+	@Override
+	public long countByExample(DailyratingmainExample example) {
+		return 0;
+	}
+
+	@Override
+	public int deleteByExample(DailyratingmainExample example) {
+		return 0;
+	}
+}

+ 9 - 7
src/main/java/com/gyee/frame/service/health/HealthSubService.java

@@ -39,6 +39,8 @@ public class HealthSubService {
     private ParttemperaturesubService parttemperaturesubService;
     @Resource
     private Statejudgmentrecord2Service statejudgmentrecord2Service;
+    @Resource
+    private DailyratingmainService dailyratingmainService;
 
 
     private final int digit = 2;
@@ -392,13 +394,13 @@ public class HealthSubService {
 
         cal.add(Calendar.DAY_OF_MONTH, -1);
 
-        List<Daylygradeassessmentmain2> day1ls = daylygradeassessmentmain2Service.getDaylygradeassessmentmain2ListBywtId(wtId, DateUtils.truncate(cal.getTime()));
+        List<Dailyratingmain> day1ls = dailyratingmainService.getDaylygradeassessmentmain2ListBywtId(wtId, DateUtils.truncate(cal.getTime()));
         if (!day1ls.isEmpty()) {
-            Daylygradeassessmentmain2 top = day1ls.get(0);
+            Dailyratingmain top = day1ls.get(0);
             XnfxVo vo = new XnfxVo();
             vo.setName("日等级评估数据分析");
-            vo.setLevelname(top.getModlevel());
-            vo.setTopnum(top.getModscore().intValue());
+            vo.setLevelname(top.getGrade());
+            vo.setTopnum(top.getScore().intValue());
             ls.add(vo);
         }
 
@@ -586,15 +588,15 @@ public class HealthSubService {
         Date beginDate = cal.getTime();
 
 
-        List<Daylygradeassessmentmain2> ls = daylygradeassessmentmain2Service.getDaylygradeassessmentmain2ListBywtId(wtId, beginDate, endDate);
+        List<Dailyratingmain> ls = dailyratingmainService.getDaylygradeassessmentmain2ListBywtId(wtId, beginDate, endDate);
         Map<String, Object> map = new HashMap<String, Object>();
         int num = 1;
-        for (Daylygradeassessmentmain2 top : ls) {
+        for (Dailyratingmain top : ls) {
             if (num <= 5) {
                 String[] str = new String[5];
                 str[0] = String.valueOf(top.getId());
                 str[1] = DateUtils.format(top.getRecorddate());
-                str[2] = String.valueOf(top.getModlevel());
+                str[2] = String.valueOf(top.getGrade());
                 str[3] = String.valueOf(top.getWpid());
                 str[4] = String.valueOf(top.getWtid());
                 map.put(String.valueOf(num), str);

+ 2 - 4
src/main/resources/mybatis-generator.xml

@@ -109,10 +109,8 @@
 <!--        <table tableName='StopAnalysis' domainObjectName='StopAnalysis'/>-->
 <!--        <table tableName='StopAnalysismain' domainObjectName='StopAnalysismain'/>-->
 <!--        <table tableName='StopAnalysismainVo' domainObjectName='StopAnalysismainVo'/>-->
-        <table tableName='Windsubstationtandardpoint' domainObjectName='Windsubstationtandardpoint'/>
-        <table tableName='Windsubstationtestingpoint2' domainObjectName='Windsubstationtestingpoint2'/>
-        <table tableName='Forecaststationtandardpoint' domainObjectName='Forecaststationtandardpoint'/>
-        <table tableName='Windsubstation' domainObjectName='Windsubstation'/>
+        <table tableName='Dailyratingmain' domainObjectName='Dailyratingmain'/>
+
 
 
     </context>

+ 318 - 0
src/main/resources/mybatis/auto/DailyratingmainMapper.xml

@@ -0,0 +1,318 @@
+<?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.gyee.frame.mapper.auto.DailyratingmainMapper">
+  <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="ID" jdbcType="DECIMAL" property="id" />
+    <result column="RECORDDATE" jdbcType="TIMESTAMP" property="recorddate" />
+    <result column="WTID" jdbcType="VARCHAR" property="wtid" />
+    <result column="WPID" jdbcType="VARCHAR" property="wpid" />
+    <result column="GRADE" jdbcType="VARCHAR" property="grade" />
+    <result column="RANKING" jdbcType="DECIMAL" property="ranking" />
+    <result column="SCORE" jdbcType="DECIMAL" property="score" />
+    <result column="TID" jdbcType="DECIMAL" property="tid" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <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">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    ID, RECORDDATE, WTID, WPID, GRADE, RANKING, SCORE, TID
+  </sql>
+  <select id="selectByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from DAILYRATINGMAIN
+    <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.Short" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from DAILYRATINGMAIN
+    where ID = #{id,jdbcType=DECIMAL}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from DAILYRATINGMAIN
+    where ID = #{id,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from DAILYRATINGMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAILYRATINGMAIN (ID, RECORDDATE, WTID, 
+      WPID, GRADE, RANKING, 
+      SCORE, TID)
+    values (#{id,jdbcType=DECIMAL}, #{recorddate,jdbcType=TIMESTAMP}, #{wtid,jdbcType=VARCHAR}, 
+      #{wpid,jdbcType=VARCHAR}, #{grade,jdbcType=VARCHAR}, #{ranking,jdbcType=DECIMAL}, 
+      #{score,jdbcType=DECIMAL}, #{tid,jdbcType=DECIMAL})
+  </insert>
+  <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into DAILYRATINGMAIN
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="recorddate != null">
+        RECORDDATE,
+      </if>
+      <if test="wtid != null">
+        WTID,
+      </if>
+      <if test="wpid != null">
+        WPID,
+      </if>
+      <if test="grade != null">
+        GRADE,
+      </if>
+      <if test="ranking != null">
+        RANKING,
+      </if>
+      <if test="score != null">
+        SCORE,
+      </if>
+      <if test="tid != null">
+        TID,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=DECIMAL},
+      </if>
+      <if test="recorddate != null">
+        #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wtid != null">
+        #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="grade != null">
+        #{grade,jdbcType=VARCHAR},
+      </if>
+      <if test="ranking != null">
+        #{ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="score != null">
+        #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        #{tid,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.gyee.frame.model.auto.DailyratingmainExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from DAILYRATINGMAIN
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    <set>
+      <if test="record.id != null">
+        ID = #{record.id,jdbcType=DECIMAL},
+      </if>
+      <if test="record.recorddate != null">
+        RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="record.wtid != null">
+        WTID = #{record.wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wpid != null">
+        WPID = #{record.wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="record.grade != null">
+        GRADE = #{record.grade,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ranking != null">
+        RANKING = #{record.ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="record.score != null">
+        SCORE = #{record.score,jdbcType=DECIMAL},
+      </if>
+      <if test="record.tid != null">
+        TID = #{record.tid,jdbcType=DECIMAL},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    set ID = #{record.id,jdbcType=DECIMAL},
+      RECORDDATE = #{record.recorddate,jdbcType=TIMESTAMP},
+      WTID = #{record.wtid,jdbcType=VARCHAR},
+      WPID = #{record.wpid,jdbcType=VARCHAR},
+      GRADE = #{record.grade,jdbcType=VARCHAR},
+      RANKING = #{record.ranking,jdbcType=DECIMAL},
+      SCORE = #{record.score,jdbcType=DECIMAL},
+      TID = #{record.tid,jdbcType=DECIMAL}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    <set>
+      <if test="recorddate != null">
+        RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="wtid != null">
+        WTID = #{wtid,jdbcType=VARCHAR},
+      </if>
+      <if test="wpid != null">
+        WPID = #{wpid,jdbcType=VARCHAR},
+      </if>
+      <if test="grade != null">
+        GRADE = #{grade,jdbcType=VARCHAR},
+      </if>
+      <if test="ranking != null">
+        RANKING = #{ranking,jdbcType=DECIMAL},
+      </if>
+      <if test="score != null">
+        SCORE = #{score,jdbcType=DECIMAL},
+      </if>
+      <if test="tid != null">
+        TID = #{tid,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Dailyratingmain">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update DAILYRATINGMAIN
+    set RECORDDATE = #{recorddate,jdbcType=TIMESTAMP},
+      WTID = #{wtid,jdbcType=VARCHAR},
+      WPID = #{wpid,jdbcType=VARCHAR},
+      GRADE = #{grade,jdbcType=VARCHAR},
+      RANKING = #{ranking,jdbcType=DECIMAL},
+      SCORE = #{score,jdbcType=DECIMAL},
+      TID = #{tid,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=DECIMAL}
+  </update>
+</mapper>