Просмотр исходного кода

订单列表新增特批类型与说明

anderx 1 год назад
Родитель
Сommit
1cac2f0ad6

+ 6 - 22
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -54,8 +54,6 @@
             <result property="examineName" column="examine_name" jdbcType="VARCHAR"/>
             <result property="tag" column="tag" jdbcType="INTEGER"/>
             <result property="patentStatus" column="patent_status" jdbcType="INTEGER"/>
-            <result property="approvalType" column="approval_type" jdbcType="VARCHAR"/>
-            <result property="approvalTypeExplain" column="approval_type_explain" jdbcType="VARCHAR"/>
     </resultMap>
 
     <sql id="Base_Column_List">
@@ -75,17 +73,17 @@
         agreement_url,new_user,service_content,
         sales_type,channel_id,other,
         user_type,examine_name,tag,
-        patent_status,approval_type,approval_type_explain
+        patent_status
     </sql>
 
-    <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
+    <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
         select
         <include refid="Base_Column_List" />
         from t_order_new
         where  order_no = #{orderNo,jdbcType=VARCHAR} 
     </select>
 
-    <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
+    <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
         delete from t_order_new
         where  order_no = #{orderNo,jdbcType=VARCHAR} 
     </delete>
@@ -107,8 +105,7 @@
         ,agreement_url,new_user,service_content
         ,sales_type,channel_id,other
         ,user_type,examine_name,tag
-        ,patent_status,approval_type,approval_type_explain
-        )
+        ,patent_status)
         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}
@@ -125,8 +122,7 @@
         ,#{agreementUrl,jdbcType=VARCHAR},#{newUser,jdbcType=INTEGER},#{serviceContent,jdbcType=VARCHAR}
         ,#{salesType,jdbcType=INTEGER},#{channelId,jdbcType=VARCHAR},#{other,jdbcType=VARCHAR}
         ,#{userType,jdbcType=INTEGER},#{examineName,jdbcType=VARCHAR},#{tag,jdbcType=INTEGER}
-        ,#{patentStatus,jdbcType=INTEGER},#{approvalType,jdbcType=VARCHAR},#{approvalTypeExplain,jdbcType=VARCHAR}
-        )
+        ,#{patentStatus,jdbcType=INTEGER})
     </insert>
     <insert id="insertSelective" keyColumn="order_no" keyProperty="orderNo" parameterType="com.goafanti.common.model.TOrderNew" useGeneratedKeys="true">
         insert into t_order_new
@@ -180,8 +176,6 @@
                 <if test="examineName != null">examine_name,</if>
                 <if test="tag != null">tag,</if>
                 <if test="patentStatus != null">patent_status,</if>
-                <if test="approvalType != null">approval_type,</if>
-                <if test="approvalTypeExplain != null">approval_type_explain,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
                 <if test="orderNo != null">#{orderNo,jdbcType=VARCHAR},</if>
@@ -233,8 +227,6 @@
                 <if test="examineName != null">#{examineName,jdbcType=VARCHAR},</if>
                 <if test="tag != null">#{tag,jdbcType=INTEGER},</if>
                 <if test="patentStatus != null">#{patentStatus,jdbcType=INTEGER},</if>
-                <if test="approvalType != null">#{approvalType,jdbcType=VARCHAR},</if>
-                <if test="approvalTypeExplain != null">#{approvalTypeExplain,jdbcType=VARCHAR},</if>
         </trim>
     </insert>
     <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.TOrderNew">
@@ -384,12 +376,6 @@
                 <if test="patentStatus != null">
                     patent_status = #{patentStatus,jdbcType=INTEGER},
                 </if>
-                <if test="approvalType != null">
-                    approval_type = #{approvalType,jdbcType=VARCHAR},
-                </if>
-                <if test="approvalTypeExplain != null">
-                    approval_type_explain = #{approvalTypeExplain,jdbcType=VARCHAR},
-                </if>
         </set>
         where   order_no = #{orderNo,jdbcType=VARCHAR} 
     </update>
@@ -443,9 +429,7 @@
             user_type =  #{userType,jdbcType=INTEGER},
             examine_name =  #{examineName,jdbcType=VARCHAR},
             tag =  #{tag,jdbcType=INTEGER},
-            patent_status =  #{patentStatus,jdbcType=INTEGER},
-            approval_type =  #{approvalType,jdbcType=VARCHAR},
-            approval_type_explain =  #{approvalTypeExplain,jdbcType=VARCHAR}
+            patent_status =  #{patentStatus,jdbcType=INTEGER}
         where   order_no = #{orderNo,jdbcType=VARCHAR} 
     </update>
 

+ 0 - 38
src/main/java/com/goafanti/common/model/TOrderNew.java

@@ -254,16 +254,6 @@ public class TOrderNew implements Serializable {
      */
     private Integer patentStatus;
 
-    /**
-     * 特批类型 0其他,1=无前期款,2=暂无合同款,3=含高风险条款,4=新产品首单,5=通过率低于80%,6=3万以下会员,7=认证首期5K以下
-     */
-    private String approvalType;
-
-    /**
-     * 特批其他说明
-     */
-    private String approvalTypeExplain;
-
     private static final long serialVersionUID = 1L;
 
     /**
@@ -951,32 +941,4 @@ public class TOrderNew implements Serializable {
     public void setPatentStatus(Integer patentStatus) {
         this.patentStatus = patentStatus;
     }
-
-    /**
-     * 特批类型 0其他,1=无前期款,2=暂无合同款,3=含高风险条款,4=新产品首单,5=通过率低于80%,6=3万以下会员,7=认证首期5K以下
-     */
-    public String getApprovalType() {
-        return approvalType;
-    }
-
-    /**
-     * 特批类型 0其他,1=无前期款,2=暂无合同款,3=含高风险条款,4=新产品首单,5=通过率低于80%,6=3万以下会员,7=认证首期5K以下
-     */
-    public void setApprovalType(String approvalType) {
-        this.approvalType = approvalType;
-    }
-
-    /**
-     * 特批其他说明
-     */
-    public String getApprovalTypeExplain() {
-        return approvalTypeExplain;
-    }
-
-    /**
-     * 特批其他说明
-     */
-    public void setApprovalTypeExplain(String approvalTypeExplain) {
-        this.approvalTypeExplain = approvalTypeExplain;
-    }
 }