|
|
@@ -2,6 +2,7 @@ package org.jeecg.modules.smscheck.mapper;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
import org.apache.ibatis.annotations.SelectProvider;
|
|
|
import org.jeecg.modules.smscheck.entity.SmsCheckCustomerInfo;
|
|
|
import org.jeecg.modules.smscheck.entity.SmsCheckCustomerInfoVo;
|
|
|
@@ -16,6 +17,8 @@ import java.util.List;
|
|
|
* @version V1.0
|
|
|
*/
|
|
|
public interface SmsCheckCustomerInfoMapper extends BaseMapper<SmsCheckCustomerInfo> {
|
|
|
+ @Select("SELECT any_value(id) id, any_value(customer_no) customer_no,`customer_name` FROM `sms_check_customer_info` GROUP BY `customer_name`")
|
|
|
+ List<SmsCheckCustomerInfo> selectCompanyList();
|
|
|
|
|
|
@SelectProvider(type = ProviderClass.class,method = "checkInfoWarningCount")
|
|
|
Integer checkInfoWarningCount(SmsCheckCustomerInfo smsCheckCustomerInfo);
|