Parcourir la source

新增项目标签

anderx il y a 2 ans
Parent
commit
2b96a44d05

+ 17 - 4
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -49,6 +49,7 @@
     <result column="other" jdbcType="VARCHAR" property="other" />
     <result column="user_type" jdbcType="INTEGER" property="userType" />
     <result column="examine_name" jdbcType="VARCHAR" property="examineName" />
+    <result column="tag" jdbcType="INTEGER" property="tag" />
   </resultMap>
   <sql id="Base_Column_List">
     order_no, order_type, creater, create_time, update_time, buyer_id, first_amount,
@@ -58,7 +59,7 @@
     contract_type, contacts, contact_mobile, legal_person, legal_person_tel, proof_count,
     proof_aid, proof_time, proof_status, order_dep, outsource, additional_order, primary_order,
     old_salesman_id, back_status, agreement_url, new_user, service_content, sales_type,
-    channel_id, other, user_type, examine_name
+    channel_id, other, user_type, examine_name, tag
   </sql>
   <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
     select
@@ -86,7 +87,8 @@
       primary_order, old_salesman_id, back_status,
       agreement_url, new_user, service_content,
       sales_type, channel_id, other,
-      user_type, examine_name)
+      user_type, examine_name, tag
+      )
     values (#{orderNo,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{creater,jdbcType=VARCHAR},
       #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{buyerId,jdbcType=VARCHAR},
       #{firstAmount,jdbcType=DECIMAL}, #{totalAmount,jdbcType=DECIMAL}, #{settlementAmount,jdbcType=DECIMAL},
@@ -102,7 +104,8 @@
       #{primaryOrder,jdbcType=VARCHAR}, #{oldSalesmanId,jdbcType=VARCHAR}, #{backStatus,jdbcType=INTEGER},
       #{agreementUrl,jdbcType=VARCHAR}, #{newUser,jdbcType=INTEGER}, #{serviceContent,jdbcType=VARCHAR},
       #{salesType,jdbcType=INTEGER}, #{channelId,jdbcType=VARCHAR}, #{other,jdbcType=VARCHAR},
-      #{userType,jdbcType=INTEGER}, #{examineName,jdbcType=VARCHAR})
+      #{userType,jdbcType=INTEGER}, #{examineName,jdbcType=VARCHAR}, #{tag,jdbcType=INTEGER}
+      )
   </insert>
   <insert id="insertSelective" parameterType="com.goafanti.common.model.TOrderNew">
     insert into t_order_new
@@ -248,6 +251,9 @@
       <if test="examineName != null">
         examine_name,
       </if>
+      <if test="tag != null">
+        tag,
+      </if>
     </trim>
     <trim prefix="values (" suffix=")" suffixOverrides=",">
       <if test="orderNo != null">
@@ -391,6 +397,9 @@
       <if test="examineName != null">
         #{examineName,jdbcType=VARCHAR},
       </if>
+      <if test="tag != null">
+        #{tag,jdbcType=INTEGER},
+      </if>
     </trim>
   </insert>
   <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.TOrderNew">
@@ -534,6 +543,9 @@
       <if test="examineName != null">
         examine_name = #{examineName,jdbcType=VARCHAR},
       </if>
+      <if test="tag != null">
+        tag = #{tag,jdbcType=INTEGER},
+      </if>
     </set>
     where order_no = #{orderNo,jdbcType=VARCHAR}
   </update>
@@ -584,7 +596,8 @@
       channel_id = #{channelId,jdbcType=VARCHAR},
       other = #{other,jdbcType=VARCHAR},
       user_type = #{userType,jdbcType=INTEGER},
-      examine_name = #{examineName,jdbcType=VARCHAR}
+      examine_name = #{examineName,jdbcType=VARCHAR},
+      tag = #{tag,jdbcType=INTEGER}
     where order_no = #{orderNo,jdbcType=VARCHAR}
   </update>
 

+ 14 - 1
src/main/java/com/goafanti/common/model/TOrderNew.java

@@ -70,7 +70,7 @@ public class TOrderNew implements Serializable {
     private Integer liquidationStatus;
 
     /**
-     * 流程状态 0-已派营销员,1-已派营销员管理员,2-已派财务管理员,3-已派财务专员,4-已派咨询师管理员,5-已部分派咨询师经理,6-已部全部派咨询师经理
+     * 流程状态 0=营销员,1=经理,2=营销管理员,3=财务与技术总监,4=总裁,5=技术总监派单,6部分分配,7全部分配
      */
     private Integer processStatus;
 
@@ -244,6 +244,11 @@ public class TOrderNew implements Serializable {
      */
     private String examineName;
 
+    /**
+     * 标签 0=默认,1=待处理,2=待派单,3=暂不处理,4=已过期,已作废
+     */
+    private Integer tag;
+
     private static final long serialVersionUID = 1L;
 
     public String getOrderNo() {
@@ -621,4 +626,12 @@ public class TOrderNew implements Serializable {
     public void setExamineName(String examineName) {
         this.examineName = examineName;
     }
+
+    public Integer getTag() {
+        return tag;
+    }
+
+    public void setTag(Integer tag) {
+        this.tag = tag;
+    }
 }