|
@@ -17,7 +17,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
public interface CubeGroupMapper extends BaseMapper<JSONObject> {
|
|
|
|
|
|
@Select("select distinct ${phoneColumn}\r\n"//
|
|
|
- + "from ads.${tableName}\r\n"//
|
|
|
+ + "from ${tableName}\r\n"//
|
|
|
+ "where the_value = #{timeZone}\r\n"//
|
|
|
+ "${sqlLimit}") //
|
|
|
public List<String> getPhoneList(@Param(value = "phoneColumn") String phoneColumn,
|
|
@@ -25,13 +25,13 @@ public interface CubeGroupMapper extends BaseMapper<JSONObject> {
|
|
|
@Param(value = "sqlLimit") String sqlLimit);
|
|
|
|
|
|
@Select("select count(distinct ${phoneColumn})\r\n"//
|
|
|
- + "from ads.${tableName}\r\n"//
|
|
|
+ + "from ${tableName}\r\n"//
|
|
|
+ "where the_value = #{timeZone}\r\n") //
|
|
|
public long getPhoneTotal(@Param(value = "phoneColumn") String phoneColumn,
|
|
|
@Param(value = "tableName") String tableName, @Param(value = "timeZone") String timeZone);
|
|
|
|
|
|
@Select("select *\r\n"//
|
|
|
- + "from ads.${tableName}\r\n"//
|
|
|
+ + "from ${tableName}\r\n"//
|
|
|
+ "where the_value = #{timeZone}\r\n" //
|
|
|
+ "and ${phoneColumn} = #{phone}\r\n") //
|
|
|
public List<JSONObject> getValueByColumn(@Param(value = "tableName") String tableName,
|