Browse Source

专家新增签名字段

ZC 3 weeks ago
parent
commit
d97ba78673

+ 10 - 0
ruoyi-modules/hh-basic/src/main/java/com/hh/pms/sae/domain/BsExpert.java

@@ -169,6 +169,8 @@ public class BsExpert extends BaseEntity {
 
     private String jMain;
 
+    private String jSign;
+
     public BsExperience getExperience() {
         return experience;
     }
@@ -497,6 +499,14 @@ public class BsExpert extends BaseEntity {
         this.jMain = jMain;
     }
 
+    public String getjSign() {
+        return jSign;
+    }
+
+    public void setjSign(String jSign) {
+        this.jSign = jSign;
+    }
+
     @Override
     public String toString() {
         return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

+ 5 - 1
ruoyi-modules/hh-basic/src/main/resources/mapper/BsExpertMapper.xml

@@ -79,7 +79,8 @@
                j_profession,
                j_other,
                user_id,
-               j_main
+               j_main,
+               j_sign
         from bs_expert
     </sql>
 
@@ -136,6 +137,7 @@
             <if test="jOther != null">j_other,</if>
             <if test="userId != null">user_id,</if>
             <if test="jMain != null">j_main,</if>
+            <if test="jSign != null">j_sign,</if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="jid != null">#{jid},</if>
@@ -170,6 +172,7 @@
             <if test="jOther != null">#{jOther},</if>
             <if test="userId != null">#{userId},</if>
             <if test="jMain != null">#{jMain},</if>
+            <if test="jSign != null">#{jSign},</if>
         </trim>
     </insert>
 
@@ -207,6 +210,7 @@
             <if test="jOther!= null">j_other = #{jOther},</if>
             <if test="userId != null">user_id = #{userId},</if>
             <if test="jMain != null">j_main = #{jMain},</if>
+            <if test="jSign != null">j_sign = #{jSign},</if>
         </trim>
         where jid = #{jid}
     </update>