This commit is contained in:
shuo.wang
2025-07-16 17:18:07 +08:00
parent d7ffc83128
commit d455cb643b
2 changed files with 2 additions and 0 deletions

View File

@@ -71,6 +71,7 @@ public class BigRegionDAO {
}
Example example = new Example(BigRegionDO.class);
example.createCriteria().andEqualTo("regionId", regionId);
example.setOrderByClause("limit 1");
return bigRegionMapper.selectOneByExample(example);
}

View File

@@ -427,6 +427,7 @@
where deleted = 0
and parent_id = #{regionId}
and region_type = #{regionType}
limit 1
</select>
<select id="getRegionByNameListAndIsPath" resultType="com.cool.store.entity.RegionDO">
select <include refid="fields"/>