|
@@ -1,9 +1,17 @@
|
|
|
package com.payment.platform.module.payment.enterprise.mapper;
|
|
package com.payment.platform.module.payment.enterprise.mapper;
|
|
|
|
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.payment.platform.module.payment.enterprise.entity.EnterpriseEntity;
|
|
import com.payment.platform.module.payment.enterprise.entity.EnterpriseEntity;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
+import org.apache.ibatis.annotations.Select;
|
|
|
|
|
|
|
|
@Mapper
|
|
@Mapper
|
|
|
public interface EnterpriseMapper extends BaseMapper<EnterpriseEntity> {
|
|
public interface EnterpriseMapper extends BaseMapper<EnterpriseEntity> {
|
|
|
|
|
+
|
|
|
|
|
+ /** 通知处理用 — 按 outBizNo 查 PENDING 记录,跳过租户过滤 */
|
|
|
|
|
+ @InterceptorIgnore(tenantLine = "true")
|
|
|
|
|
+ @Select("SELECT * FROM pay_enterprise WHERE out_biz_no = #{outBizNo}")
|
|
|
|
|
+ EnterpriseEntity selectByOutBizNoIgnoreTenant(@Param("outBizNo") String outBizNo);
|
|
|
}
|
|
}
|