linxk 2 долоо хоног өмнө
parent
commit
9701a931d2

+ 1 - 1
cif-service/src/main/java/com/txz/cif/dao/FlowMapper.java

@@ -7,6 +7,6 @@ import org.apache.ibatis.annotations.Select;
 import java.util.HashMap;
 
 public interface FlowMapper extends Mapper<Flow> {
-    @Select("SELECT COUNT(DISTINCT user_id)  c_flow WHERE type = #{type} and create_time > #{startTime} and create_time < #{endTime}")
+    @Select("SELECT COUNT(DISTINCT user_id) from  c_flow WHERE type = #{type} and create_time > #{startTime} and create_time < #{endTime}")
     Integer countByUserId(HashMap map);
 }