Parcourir la source

驾驶舱-得分明细列表

wanglt il y a 2 mois
Parent
commit
c1d85971f4

+ 18 - 0
ygtx-gxt/src/main/java/com/ygtx/gxt/domain/GxtOrderPerson.java

@@ -45,6 +45,8 @@ public class GxtOrderPerson {
     @Excel(name = "工分项分值")
     private BigDecimal score;
 
+    private Integer status;
+
     public Long getUserId() {
         return userId;
     }
@@ -116,4 +118,20 @@ public class GxtOrderPerson {
     public void setScore(BigDecimal score) {
         this.score = score;
     }
+
+    public String getNickName() {
+        return nickName;
+    }
+
+    public void setNickName(String nickName) {
+        this.nickName = nickName;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public void setStatus(Integer status) {
+        this.status = status;
+    }
 }

+ 4 - 0
ygtx-gxt/src/main/resources/mapper/gxt/gxtOrderPersonMapper.xml

@@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="scoreType" column="score_type"/>
         <result property="finishDate" column="finish_date"/>
         <result property="score" column="score"/>
+        <result property="status" column="status"/>
     </resultMap>
     
     <select id="selectGxtOrderPersonList" parameterType="GxtOrderPerson" resultMap="GxtOrderPersonResult">
@@ -82,6 +83,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="userId != null">
             AND t.user_id = #{userId}
         </if>
+        <if test="status != null">
+            AND t.status = #{status}
+        </if>
         <if test="orderCode != null and orderCode != ''">
             AND t.order_code LIKE CONCAT( '%', #{orderCode}, '%' )
         </if>

+ 1 - 0
ygtx-ui/src/views/index5.vue

@@ -310,6 +310,7 @@ export default {
         pageNum: 1,
         pageSize: 10,
         orderCode: null,
+        status: 0
       },
       orderPersonList: [],
       // 添加首页统计数据

+ 1 - 0
ygtx-ui/src/views/index6.vue

@@ -310,6 +310,7 @@ export default {
         pageNum: 1,
         pageSize: 10,
         orderCode: null,
+        status: 0
       },
       orderPersonList: [],
       // 添加首页统计数据