1.建店通过插入督导信息

2.证照审核权限判断
This commit is contained in:
guohb
2024-05-08 18:05:23 +08:00
parent 4ce4af98c6
commit 3b38800570
10 changed files with 73 additions and 21 deletions

View File

@@ -374,6 +374,20 @@
WHERE id = #{regionId}
)
</select>
<select id="getFightRegionByRegionIds" resultType="com.cool.store.entity.RegionDO">
select <include refid="fields"/>
from region_${enterpriseId}
where deleted = 0
and third_region_type = '2'
<if test="regionIds != null">
AND id in (
<foreach collection="regionIds" separator="," item="id">
#{id}
</foreach>
)
</if>
</select>
</mapper>