goods同步

This commit is contained in:
2026-05-30 08:26:47 +08:00
parent 246c5a7080
commit dbf408c51f
20 changed files with 1233 additions and 32 deletions

View File

@@ -2,7 +2,7 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.rj.mapper.LbOrderRowMapper">
<!-- 外部订单 id 为全局主键,按 id upsert不受多租户拦截器影响 -->
<!-- 复合主键 (tenant_id, id),按租户 + 订单 id upsert -->
<insert id="upsertBatch">
INSERT INTO lb_order_row (
id, old_id, tenant_id, data_type,