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

Merge remote-tracking branch 'origin/master' into master

wanglm 4 лет назад
Родитель
Сommit
53002eedbd

+ 1 - 2
src/main/java/com/minpay/db/table/mapper/VmProductInfMapper.java

@@ -3,9 +3,8 @@ package com.minpay.db.table.mapper;
 import com.minpay.db.table.model.VmProductInf;
 import com.minpay.db.table.model.VmProductInfExample;
 import com.startup.minpay.frame.jdbc.IMINMybatisEntityMapper;
-import org.apache.ibatis.annotations.Param;
-
 import java.util.List;
+import org.apache.ibatis.annotations.Param;
 
 public interface VmProductInfMapper extends IMINMybatisEntityMapper<VmProductInf, String, VmProductInfExample> {
     /**

+ 32 - 0
src/main/java/com/minpay/db/table/model/VmProductInf.java

@@ -101,6 +101,14 @@ public class VmProductInf extends AbstractMINBean {
 
     /**
      * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column vm_product_inf.PRT_PRO_COST
+     *
+     * @mbggenerated
+     */
+    private String proCost;
+
+    /**
+     * This field was generated by MyBatis Generator.
      * This field corresponds to the database column vm_product_inf.PRT_CREATE_USER
      *
      * @mbggenerated
@@ -421,6 +429,30 @@ public class VmProductInf extends AbstractMINBean {
 
     /**
      * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column vm_product_inf.PRT_PRO_COST
+     *
+     * @return the value of vm_product_inf.PRT_PRO_COST
+     *
+     * @mbggenerated
+     */
+    public String getProCost() {
+        return proCost;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column vm_product_inf.PRT_PRO_COST
+     *
+     * @param proCost the value for vm_product_inf.PRT_PRO_COST
+     *
+     * @mbggenerated
+     */
+    public void setProCost(String proCost) {
+        this.proCost = proCost == null ? null : proCost.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
      * This method returns the value of the database column vm_product_inf.PRT_CREATE_USER
      *
      * @return the value of vm_product_inf.PRT_CREATE_USER

+ 78 - 0
src/main/java/com/minpay/db/table/model/VmProductInfExample.java

@@ -1126,6 +1126,84 @@ public class VmProductInfExample {
             return (Criteria) this;
         }
 
+        public Criteria andProCostIsNull() {
+            addCriterion("PRT_PRO_COST is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostIsNotNull() {
+            addCriterion("PRT_PRO_COST is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostEqualTo(String value) {
+            if(value == null ){
+                andProCostIsNull();
+            } else {
+                addCriterion("PRT_PRO_COST =", value, "proCost");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostNotEqualTo(String value) {
+            if(value == null ){
+                andProCostIsNotNull();
+            } else {
+                addCriterion("PRT_PRO_COST <>", value, "proCost");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostGreaterThan(String value) {
+            addCriterion("PRT_PRO_COST >", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostGreaterThanOrEqualTo(String value) {
+            addCriterion("PRT_PRO_COST >=", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostLessThan(String value) {
+            addCriterion("PRT_PRO_COST <", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostLessThanOrEqualTo(String value) {
+            addCriterion("PRT_PRO_COST <=", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostLike(String value) {
+            addCriterion("PRT_PRO_COST like", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostNotLike(String value) {
+            addCriterion("PRT_PRO_COST not like", value, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostIn(List<String> values) {
+            addCriterion("PRT_PRO_COST in", values, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostNotIn(List<String> values) {
+            addCriterion("PRT_PRO_COST not in", values, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostBetween(String value1, String value2) {
+            addCriterion("PRT_PRO_COST between", value1, value2, "proCost");
+            return (Criteria) this;
+        }
+
+        public Criteria andProCostNotBetween(String value1, String value2) {
+            addCriterion("PRT_PRO_COST not between", value1, value2, "proCost");
+            return (Criteria) this;
+        }
+
         public Criteria andCreateUserIsNull() {
             addCriterion("PRT_CREATE_USER is null");
             return (Criteria) this;

+ 150 - 135
src/main/resources/com/minpay/db/table/mapper/VmProductInfMapper.xml

@@ -1,51 +1,52 @@
-<?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.minpay.db.table.mapper.VmProductInfMapper" >
-  <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmProductInf" >
+<?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.minpay.db.table.mapper.VmProductInfMapper">
+  <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmProductInf">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
-    <id column="PRT_ID" property="id" jdbcType="VARCHAR" />
-    <result column="PRT_CHANNEL" property="channel" jdbcType="VARCHAR" />
-    <result column="PRT_NAME" property="name" jdbcType="VARCHAR" />
-    <result column="PRT_CATEGORY_ID" property="categoryId" jdbcType="VARCHAR" />
-    <result column="PRT_MASTER_MAP" property="masterMap" jdbcType="VARCHAR" />
-    <result column="PRT_FMPIC" property="fmpic" jdbcType="VARCHAR" />
-    <result column="PRT_PICLIST" property="piclist" jdbcType="VARCHAR" />
-    <result column="PRT_DESCRIBE" property="describe" jdbcType="VARCHAR" />
-    <result column="PRT_PRO_VEDIO" property="proVedio" jdbcType="VARCHAR" />
-    <result column="PRT_BRANCHID" property="branchid" jdbcType="VARCHAR" />
-    <result column="PRT_SORT" property="sort" jdbcType="VARCHAR" />
-    <result column="PRT_STATE" property="state" jdbcType="CHAR" />
-    <result column="PRT_CREATE_USER" property="createUser" jdbcType="VARCHAR" />
-    <result column="PRT_CREATE_TIME" property="createTime" jdbcType="VARCHAR" />
-    <result column="PRT_MODIFY_USER" property="modifyUser" jdbcType="VARCHAR" />
-    <result column="PRT_MODIFY_TIME" property="modifyTime" jdbcType="VARCHAR" />
+    <id column="PRT_ID" jdbcType="VARCHAR" property="id" />
+    <result column="PRT_CHANNEL" jdbcType="VARCHAR" property="channel" />
+    <result column="PRT_NAME" jdbcType="VARCHAR" property="name" />
+    <result column="PRT_CATEGORY_ID" jdbcType="VARCHAR" property="categoryId" />
+    <result column="PRT_MASTER_MAP" jdbcType="VARCHAR" property="masterMap" />
+    <result column="PRT_FMPIC" jdbcType="VARCHAR" property="fmpic" />
+    <result column="PRT_PICLIST" jdbcType="VARCHAR" property="piclist" />
+    <result column="PRT_DESCRIBE" jdbcType="VARCHAR" property="describe" />
+    <result column="PRT_PRO_VEDIO" jdbcType="VARCHAR" property="proVedio" />
+    <result column="PRT_BRANCHID" jdbcType="VARCHAR" property="branchid" />
+    <result column="PRT_SORT" jdbcType="VARCHAR" property="sort" />
+    <result column="PRT_STATE" jdbcType="CHAR" property="state" />
+    <result column="PRT_PRO_COST" jdbcType="VARCHAR" property="proCost" />
+    <result column="PRT_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
+    <result column="PRT_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
+    <result column="PRT_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
+    <result column="PRT_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
   </resultMap>
-  <sql id="Example_Where_Clause" >
+  <sql id="Example_Where_Clause">
     <!--
       WARNING - @mbggenerated
       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="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
+    <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" >
+                <when test="criterion.singleValue">
                   and ${criterion.condition} #{criterion.value}
                 </when>
-                <when test="criterion.betweenValue" >
+                <when test="criterion.betweenValue">
                   and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                 </when>
-                <when test="criterion.listValue" >
+                <when test="criterion.listValue">
                   and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                     #{listItem}
                   </foreach>
                 </when>
@@ -56,29 +57,29 @@
       </foreach>
     </where>
   </sql>
-  <sql id="Update_By_Example_Where_Clause" >
+  <sql id="Update_By_Example_Where_Clause">
     <!--
       WARNING - @mbggenerated
       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="(" suffix=")" prefixOverrides="and" >
-            <foreach collection="criteria.criteria" item="criterion" >
-              <choose >
-                <when test="criterion.noValue" >
+    <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" >
+                <when test="criterion.singleValue">
                   and ${criterion.condition} #{criterion.value}
                 </when>
-                <when test="criterion.betweenValue" >
+                <when test="criterion.betweenValue">
                   and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
                 </when>
-                <when test="criterion.listValue" >
+                <when test="criterion.listValue">
                   and ${criterion.condition}
-                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
                     #{listItem}
                   </foreach>
                 </when>
@@ -89,34 +90,34 @@
       </foreach>
     </where>
   </sql>
-  <sql id="Base_Column_List" >
+  <sql id="Base_Column_List">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     PRT_ID, PRT_CHANNEL, PRT_NAME, PRT_CATEGORY_ID, PRT_MASTER_MAP, PRT_FMPIC, PRT_PICLIST, 
-    PRT_DESCRIBE, PRT_PRO_VEDIO, PRT_BRANCHID, PRT_SORT, PRT_STATE, PRT_CREATE_USER, 
+    PRT_DESCRIBE, PRT_PRO_VEDIO, PRT_BRANCHID, PRT_SORT, PRT_STATE, PRT_PRO_COST, PRT_CREATE_USER, 
     PRT_CREATE_TIME, PRT_MODIFY_USER, PRT_MODIFY_TIME
   </sql>
-  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.VmProductInfExample" >
+  <select id="selectByExample" parameterType="com.minpay.db.table.model.VmProductInfExample" resultMap="BaseResultMap">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     select
-    <if test="distinct" >
+    <if test="distinct">
       distinct
     </if>
     <include refid="Base_Column_List" />
     from vm_product_inf
-    <if test="_parameter != null" >
+    <if test="_parameter != null">
       <include refid="Example_Where_Clause" />
     </if>
-    <if test="orderByClause != null" >
+    <if test="orderByClause != null">
       order by ${orderByClause}
     </if>
   </select>
-  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
@@ -126,7 +127,7 @@
     from vm_product_inf
     where PRT_ID = #{id,jdbcType=VARCHAR}
   </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
@@ -134,17 +135,17 @@
     delete from vm_product_inf
     where PRT_ID = #{id,jdbcType=VARCHAR}
   </delete>
-  <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmProductInfExample" >
+  <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmProductInfExample">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     delete from vm_product_inf
-    <if test="_parameter != null" >
+    <if test="_parameter != null">
       <include refid="Example_Where_Clause" />
     </if>
   </delete>
-  <insert id="insert" parameterType="com.minpay.db.table.model.VmProductInf" >
+  <insert id="insert" parameterType="com.minpay.db.table.model.VmProductInf">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
@@ -153,193 +154,202 @@
       PRT_CATEGORY_ID, PRT_MASTER_MAP, PRT_FMPIC, 
       PRT_PICLIST, PRT_DESCRIBE, PRT_PRO_VEDIO, 
       PRT_BRANCHID, PRT_SORT, PRT_STATE, 
-      PRT_CREATE_USER, PRT_CREATE_TIME, PRT_MODIFY_USER, 
-      PRT_MODIFY_TIME)
+      PRT_PRO_COST, PRT_CREATE_USER, PRT_CREATE_TIME, 
+      PRT_MODIFY_USER, PRT_MODIFY_TIME)
     values (#{id,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
       #{categoryId,jdbcType=VARCHAR}, #{masterMap,jdbcType=VARCHAR}, #{fmpic,jdbcType=VARCHAR}, 
       #{piclist,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR}, #{proVedio,jdbcType=VARCHAR}, 
       #{branchid,jdbcType=VARCHAR}, #{sort,jdbcType=VARCHAR}, #{state,jdbcType=CHAR}, 
-      #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, 
-      #{modifyTime,jdbcType=VARCHAR})
+      #{proCost,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, 
+      #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR})
   </insert>
-  <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmProductInf" >
+  <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmProductInf">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     insert into vm_product_inf
-    <trim prefix="(" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
         PRT_ID,
       </if>
-      <if test="channel != null" >
+      <if test="channel != null">
         PRT_CHANNEL,
       </if>
-      <if test="name != null" >
+      <if test="name != null">
         PRT_NAME,
       </if>
-      <if test="categoryId != null" >
+      <if test="categoryId != null">
         PRT_CATEGORY_ID,
       </if>
-      <if test="masterMap != null" >
+      <if test="masterMap != null">
         PRT_MASTER_MAP,
       </if>
-      <if test="fmpic != null" >
+      <if test="fmpic != null">
         PRT_FMPIC,
       </if>
-      <if test="piclist != null" >
+      <if test="piclist != null">
         PRT_PICLIST,
       </if>
-      <if test="describe != null" >
+      <if test="describe != null">
         PRT_DESCRIBE,
       </if>
-      <if test="proVedio != null" >
+      <if test="proVedio != null">
         PRT_PRO_VEDIO,
       </if>
-      <if test="branchid != null" >
+      <if test="branchid != null">
         PRT_BRANCHID,
       </if>
-      <if test="sort != null" >
+      <if test="sort != null">
         PRT_SORT,
       </if>
-      <if test="state != null" >
+      <if test="state != null">
         PRT_STATE,
       </if>
-      <if test="createUser != null" >
+      <if test="proCost != null">
+        PRT_PRO_COST,
+      </if>
+      <if test="createUser != null">
         PRT_CREATE_USER,
       </if>
-      <if test="createTime != null" >
+      <if test="createTime != null">
         PRT_CREATE_TIME,
       </if>
-      <if test="modifyUser != null" >
+      <if test="modifyUser != null">
         PRT_MODIFY_USER,
       </if>
-      <if test="modifyTime != null" >
+      <if test="modifyTime != null">
         PRT_MODIFY_TIME,
       </if>
     </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides="," >
-      <if test="id != null" >
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
         #{id,jdbcType=VARCHAR},
       </if>
-      <if test="channel != null" >
+      <if test="channel != null">
         #{channel,jdbcType=VARCHAR},
       </if>
-      <if test="name != null" >
+      <if test="name != null">
         #{name,jdbcType=VARCHAR},
       </if>
-      <if test="categoryId != null" >
+      <if test="categoryId != null">
         #{categoryId,jdbcType=VARCHAR},
       </if>
-      <if test="masterMap != null" >
+      <if test="masterMap != null">
         #{masterMap,jdbcType=VARCHAR},
       </if>
-      <if test="fmpic != null" >
+      <if test="fmpic != null">
         #{fmpic,jdbcType=VARCHAR},
       </if>
-      <if test="piclist != null" >
+      <if test="piclist != null">
         #{piclist,jdbcType=VARCHAR},
       </if>
-      <if test="describe != null" >
+      <if test="describe != null">
         #{describe,jdbcType=VARCHAR},
       </if>
-      <if test="proVedio != null" >
+      <if test="proVedio != null">
         #{proVedio,jdbcType=VARCHAR},
       </if>
-      <if test="branchid != null" >
+      <if test="branchid != null">
         #{branchid,jdbcType=VARCHAR},
       </if>
-      <if test="sort != null" >
+      <if test="sort != null">
         #{sort,jdbcType=VARCHAR},
       </if>
-      <if test="state != null" >
+      <if test="state != null">
         #{state,jdbcType=CHAR},
       </if>
-      <if test="createUser != null" >
+      <if test="proCost != null">
+        #{proCost,jdbcType=VARCHAR},
+      </if>
+      <if test="createUser != null">
         #{createUser,jdbcType=VARCHAR},
       </if>
-      <if test="createTime != null" >
+      <if test="createTime != null">
         #{createTime,jdbcType=VARCHAR},
       </if>
-      <if test="modifyUser != null" >
+      <if test="modifyUser != null">
         #{modifyUser,jdbcType=VARCHAR},
       </if>
-      <if test="modifyTime != null" >
+      <if test="modifyTime != null">
         #{modifyTime,jdbcType=VARCHAR},
       </if>
     </trim>
   </insert>
-  <select id="countByExample" parameterType="com.minpay.db.table.model.VmProductInfExample" resultType="java.lang.Integer" >
+  <select id="countByExample" parameterType="com.minpay.db.table.model.VmProductInfExample" resultType="java.lang.Integer">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     select count(*) from vm_product_inf
-    <if test="_parameter != null" >
+    <if test="_parameter != null">
       <include refid="Example_Where_Clause" />
     </if>
   </select>
-  <update id="updateByExampleSelective" parameterType="map" >
+  <update id="updateByExampleSelective" parameterType="map">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     update vm_product_inf
-    <set >
-      <if test="record.id != null" >
+    <set>
+      <if test="record.id != null">
         PRT_ID = #{record.id,jdbcType=VARCHAR},
       </if>
-      <if test="record.channel != null" >
+      <if test="record.channel != null">
         PRT_CHANNEL = #{record.channel,jdbcType=VARCHAR},
       </if>
-      <if test="record.name != null" >
+      <if test="record.name != null">
         PRT_NAME = #{record.name,jdbcType=VARCHAR},
       </if>
-      <if test="record.categoryId != null" >
+      <if test="record.categoryId != null">
         PRT_CATEGORY_ID = #{record.categoryId,jdbcType=VARCHAR},
       </if>
-      <if test="record.masterMap != null" >
+      <if test="record.masterMap != null">
         PRT_MASTER_MAP = #{record.masterMap,jdbcType=VARCHAR},
       </if>
-      <if test="record.fmpic != null" >
+      <if test="record.fmpic != null">
         PRT_FMPIC = #{record.fmpic,jdbcType=VARCHAR},
       </if>
-      <if test="record.piclist != null" >
+      <if test="record.piclist != null">
         PRT_PICLIST = #{record.piclist,jdbcType=VARCHAR},
       </if>
-      <if test="record.describe != null" >
+      <if test="record.describe != null">
         PRT_DESCRIBE = #{record.describe,jdbcType=VARCHAR},
       </if>
-      <if test="record.proVedio != null" >
+      <if test="record.proVedio != null">
         PRT_PRO_VEDIO = #{record.proVedio,jdbcType=VARCHAR},
       </if>
-      <if test="record.branchid != null" >
+      <if test="record.branchid != null">
         PRT_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
       </if>
-      <if test="record.sort != null" >
+      <if test="record.sort != null">
         PRT_SORT = #{record.sort,jdbcType=VARCHAR},
       </if>
-      <if test="record.state != null" >
+      <if test="record.state != null">
         PRT_STATE = #{record.state,jdbcType=CHAR},
       </if>
-      <if test="record.createUser != null" >
+      <if test="record.proCost != null">
+        PRT_PRO_COST = #{record.proCost,jdbcType=VARCHAR},
+      </if>
+      <if test="record.createUser != null">
         PRT_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
       </if>
-      <if test="record.createTime != null" >
+      <if test="record.createTime != null">
         PRT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
       </if>
-      <if test="record.modifyUser != null" >
+      <if test="record.modifyUser != null">
         PRT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
       </if>
-      <if test="record.modifyTime != null" >
+      <if test="record.modifyTime != null">
         PRT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
       </if>
     </set>
-    <if test="_parameter != null" >
+    <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
   </update>
-  <update id="updateByExample" parameterType="map" >
+  <update id="updateByExample" parameterType="map">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
@@ -357,70 +367,74 @@
       PRT_BRANCHID = #{record.branchid,jdbcType=VARCHAR},
       PRT_SORT = #{record.sort,jdbcType=VARCHAR},
       PRT_STATE = #{record.state,jdbcType=CHAR},
+      PRT_PRO_COST = #{record.proCost,jdbcType=VARCHAR},
       PRT_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
       PRT_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
       PRT_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
       PRT_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR}
-    <if test="_parameter != null" >
+    <if test="_parameter != null">
       <include refid="Update_By_Example_Where_Clause" />
     </if>
   </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmProductInf" >
+  <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmProductInf">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
     -->
     update vm_product_inf
-    <set >
-      <if test="channel != null" >
+    <set>
+      <if test="channel != null">
         PRT_CHANNEL = #{channel,jdbcType=VARCHAR},
       </if>
-      <if test="name != null" >
+      <if test="name != null">
         PRT_NAME = #{name,jdbcType=VARCHAR},
       </if>
-      <if test="categoryId != null" >
+      <if test="categoryId != null">
         PRT_CATEGORY_ID = #{categoryId,jdbcType=VARCHAR},
       </if>
-      <if test="masterMap != null" >
+      <if test="masterMap != null">
         PRT_MASTER_MAP = #{masterMap,jdbcType=VARCHAR},
       </if>
-      <if test="fmpic != null" >
+      <if test="fmpic != null">
         PRT_FMPIC = #{fmpic,jdbcType=VARCHAR},
       </if>
-      <if test="piclist != null" >
+      <if test="piclist != null">
         PRT_PICLIST = #{piclist,jdbcType=VARCHAR},
       </if>
-      <if test="describe != null" >
+      <if test="describe != null">
         PRT_DESCRIBE = #{describe,jdbcType=VARCHAR},
       </if>
-      <if test="proVedio != null" >
+      <if test="proVedio != null">
         PRT_PRO_VEDIO = #{proVedio,jdbcType=VARCHAR},
       </if>
-      <if test="branchid != null" >
+      <if test="branchid != null">
         PRT_BRANCHID = #{branchid,jdbcType=VARCHAR},
       </if>
-      <if test="sort != null" >
+      <if test="sort != null">
         PRT_SORT = #{sort,jdbcType=VARCHAR},
       </if>
-      <if test="state != null" >
+      <if test="state != null">
         PRT_STATE = #{state,jdbcType=CHAR},
       </if>
-      <if test="createUser != null" >
+      <if test="proCost != null">
+        PRT_PRO_COST = #{proCost,jdbcType=VARCHAR},
+      </if>
+      <if test="createUser != null">
         PRT_CREATE_USER = #{createUser,jdbcType=VARCHAR},
       </if>
-      <if test="createTime != null" >
+      <if test="createTime != null">
         PRT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
       </if>
-      <if test="modifyUser != null" >
+      <if test="modifyUser != null">
         PRT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
       </if>
-      <if test="modifyTime != null" >
+      <if test="modifyTime != null">
         PRT_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
       </if>
     </set>
     where PRT_ID = #{id,jdbcType=VARCHAR}
   </update>
-  <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmProductInf" >
+  <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmProductInf">
     <!--
       WARNING - @mbggenerated
       This element is automatically generated by MyBatis Generator, do not modify.
@@ -437,6 +451,7 @@
       PRT_BRANCHID = #{branchid,jdbcType=VARCHAR},
       PRT_SORT = #{sort,jdbcType=VARCHAR},
       PRT_STATE = #{state,jdbcType=CHAR},
+      PRT_PRO_COST = #{proCost,jdbcType=VARCHAR},
       PRT_CREATE_USER = #{createUser,jdbcType=VARCHAR},
       PRT_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
       PRT_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},