修改区域从regionId获取到synDingDeptId
This commit is contained in:
@@ -107,4 +107,5 @@ public interface RegionMapper {
|
||||
|
||||
List<RegionDO> getFightRegionByRegionIds(@Param("regionIds") List<String> regionIds);
|
||||
|
||||
RegionDO getRegionInfoBySynDingDeptId(@Param("synDingDeptId") Long synDingDeptId);
|
||||
}
|
||||
|
||||
@@ -399,6 +399,12 @@
|
||||
</if>
|
||||
|
||||
</select>
|
||||
<select id="getRegionInfoBySynDingDeptId" resultType="com.cool.store.entity.RegionDO">
|
||||
select <include refid="fields"/>
|
||||
from region_${enterpriseId}
|
||||
where deleted = 0
|
||||
and syn_ding_dept_id = #{synDingDeptId}
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user