Browse Source

修改列表参数

anderx 3 years ago
parent
commit
b1cc1a11b7

+ 2 - 1
src/main/java/com/goafanti/common/mapper/TOrderTaskMapper.xml

@@ -1977,9 +1977,10 @@
   <select id="selectProjectSotpList" resultType="com.goafanti.order.bo.OutselectProjectSotp">
     select DATE_FORMAT(a.create_time,'%Y-%m-%d %H:%i:%S') createTimes,dg.name province,c.contract_no contractNo, a.type sotpType,a.status sotpStatus,
     c.order_no orderNo ,tom.buyer_name userName,b.cname ,b.commodity_name projectName,b.commodity_quantity commodityQuantity ,a.annex_url annexUrl,
-    tom.service_type serviceType , b.receiver_name receiverName ,b.status ,b.commodity_price commodityPrice ,a.reason,a.id
+    tom.service_type serviceType , b.receiver_name receiverName ,b.status ,b.commodity_price commodityPrice ,a.reason,a.id,b.id tid,ttm.stop_status stopStatus
     from task_sopt a left join t_order_task b on a.tid=b.id
     left join t_order_new  c on b.order_no =c.order_no
+    left join t_task_mid ttm on b.id=ttm.tid
     left join t_order_mid tom on c.order_no =tom.order_no
     left join department d  on c.order_dep =d.id
     left join district_glossory dg on d.province =dg.id

+ 25 - 0
src/main/java/com/goafanti/order/bo/OutselectProjectSotp.java

@@ -21,7 +21,32 @@ public class OutselectProjectSotp {
     private String reason;
     private String annexUrl;
     private Integer sotpType;
+
+    /**
+     *  审核状态 0=发起,1=通过,2=拒绝
+     */
     private Integer sotpStatus;
+    private Integer tid;
+    /**
+     * 项目暂停状态 0否 1已发起
+     */
+    private Integer projectSotpStatus;
+
+    public Integer getTid() {
+        return tid;
+    }
+
+    public void setTid(Integer tid) {
+        this.tid = tid;
+    }
+
+    public Integer getProjectSotpStatus() {
+        return projectSotpStatus;
+    }
+
+    public void setProjectSotpStatus(Integer projectSotpStatus) {
+        this.projectSotpStatus = projectSotpStatus;
+    }
 
     public Long getId() {
         return id;