|
@@ -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);
|
|
|
}
|