@ -16,7 +16,7 @@ public interface MailMapper extends BaseMapper<Mail> {
@Select("select m.* from mail m left join mail_etl etl on m.id = etl.mail_id where etl.id is null")
List<Mail>listByMailEtl();
@Select("select m.* from mail m left join mail_evaluate_etl etl on m.id = etl.mail_id and etl.success = 1 where m.satisfaction is not null and m.satisfaction != '' and etl.id is null")
@Select("select m.* from mail m left join mail_evaluate_etl etl on m.id = etl.mail_id where m.satisfaction is not null and etl.id is null")
List<Mail>listByMailEvaluateEtl();
@Select("select m.* from mail m where m.mail_state = 'processing'")