Browse Source

新增有效数概念

anderx 3 months ago
parent
commit
2300bae207

+ 13 - 2
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -64,7 +64,7 @@
     </sql>
 
     <!--查询单个-->
-    <select id="selectById" resultMap="UserMap">
+    <select id="queryById" resultMap="UserMap">
         select
         <include refid="UserAllSql"/>
         from user
@@ -441,7 +441,12 @@
             <if test="listedNature != null">
                 listed_nature ,
             </if>
-            <if test=""
+            <if test="newUser != null">
+                new_user ,
+            </if>
+            <if test="privateValid != null">
+                private_valid ,
+            </if>
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id,jdbcType=VARCHAR},</if>
@@ -511,6 +516,12 @@
             <if test="listedNature != null">
                 #{listedNature},
             </if>
+            <if test="newUser != null">
+                #{newUser},
+            </if>
+            <if test="privateValid != null">
+                 #{privateValid},
+            </if>
         </trim>
     </insert>
 

+ 2 - 0
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -3138,6 +3138,8 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		user.setNatureOther(in.getNatureOther());
 		user.setEnterpriseNature(in.getEnterpriseNature());
 		user.setListedNature(in.getListedNature());
+		//新增有效的概率
+		//查询上一次我释放的时间
 		userMapper.update(user);
 		OrganizationIdentity oi = new OrganizationIdentity();
 		oi.setUid(in.getId());