|
|
@@ -14,4 +14,9 @@ public interface EnterpriseMapper extends BaseMapper<EnterpriseEntity> {
|
|
|
@InterceptorIgnore(tenantLine = "true")
|
|
|
@Select("SELECT * FROM pay_enterprise WHERE out_biz_no = #{outBizNo}")
|
|
|
EnterpriseEntity selectByOutBizNoIgnoreTenant(@Param("outBizNo") String outBizNo);
|
|
|
+
|
|
|
+ /** 通知处理用 — 按 enterpriseId 查记录,跳过租户过滤 */
|
|
|
+ @InterceptorIgnore(tenantLine = "true")
|
|
|
+ @Select("SELECT * FROM pay_enterprise WHERE enterprise_id = #{enterpriseId}")
|
|
|
+ EnterpriseEntity selectByEnterpriseIdIgnoreTenant(@Param("enterpriseId") String enterpriseId);
|
|
|
}
|