Sfoglia il codice sorgente

服务商分帐号

zhijiezhao 6 mesi fa
parent
commit
9209633c52

+ 5 - 0
src/main/java/com/caimei365/manager/entity/caimei/providers/CmProviders.java

@@ -138,6 +138,11 @@ public class CmProviders implements Serializable {
      * 合同对象
      */
     private CmProvidersContract contract;
+
+    /**
+     * 服务商分帐号
+     */
+    private String splitCode;
 }
 
 

+ 3 - 0
src/main/resources/mapper/providers/CmProvidersMapper.xml

@@ -203,6 +203,7 @@
             <if test="status != null">status,</if>
             <if test="userId != null">userId,</if>
             <if test="brandName != null and brandName != ''">brandName,</if>
+            <if test="splitCode != null and splitCode != ''">splitCode,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null and id != ''">#{id},</if>
@@ -222,6 +223,7 @@
             <if test="status != null">#{status},</if>
             <if test="userId != null">#{userId},</if>
             <if test="brandName != null and brandName != ''">#{brandName},</if>
+            <if test="splitCode != null and splitCode != ''">#{splitCode},</if>
         </trim>
     </insert>
 
@@ -246,6 +248,7 @@
             <if test="status != null">status = #{status},</if>
             <if test="userId != null">userId = #{userId},</if>
             <if test="brandName != null and brandName != ''">brandName = #{brandName},</if>
+            <if test="splitCode != null and splitCode != ''">splitCode = #{splitCode},</if>
         </trim>
         where id = #{id}
         <if test="userId != null">or userId = #{userId}</if>