Browse Source

会员新增异常BUG修复

anderx 1 year ago
parent
commit
66584144c4

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

@@ -1223,20 +1223,20 @@ create_time = values(create_time)
             and b.outsource= #{outSourcingStatus}
         </if>
         <if test="updateTime !=null">
-            and b.update_time between #{updateTime} and #{updateTime} + interval 1 day
+            and a.update_time between #{updateTime} and #{updateTime} + interval 1 day
         </if>
         <if test="progress !=null">
             and a.progress = #{progress}
         </if>
         <if test="applicationLevel !=null">
-            <if test="applicationLevel == '1'">
+            <if test="applicationLevel == 0">
                 and e.total_amount &lt; 3
             </if>
-            <if test="applicationLevel == '2'">
-                and a.application_level &gt; 3 and e.total_amount &lt; 8
+            <if test="applicationLevel == 1">
+                and e.total_amount &gt; 3 and e.total_amount &lt; 8
             </if>
-            <if test="applicationLevel == '3'">
-                and a.application_level &gt; 8
+            <if test="applicationLevel == 2">
+                and e.total_amount &gt; 8
             </if>
         </if>
         <if test="reviewProvince !=null">

+ 0 - 1
src/main/java/com/goafanti/techproject/service/impl/TaskDetailsServiceImpl.java

@@ -133,7 +133,6 @@ public class TaskDetailsServiceImpl extends BaseMybatisDao<TaskDetailsMapper> im
         String lvl=getOrderLvl(totalAmount);
         bo.setMemberLvl(lvl);
         bo.setFeatureList(taskFeatureMapper.selectByTdId(bo.getId()));
-
     }
 
     private String getServiceYer(String serviceYear) {