PCTrainingExperienceController
This commit is contained in:
@@ -66,5 +66,4 @@ public interface EnterpriseUserMapper {
|
||||
EnterpriseUserDO selectByMobile( @Param("mobile") String mobile);
|
||||
|
||||
EnterpriseUserDO selectByInvestmentManager( @Param("investmentManager") String investmentManager);
|
||||
|
||||
}
|
||||
@@ -97,4 +97,5 @@ public interface RegionMapper {
|
||||
List<RegionDO> listByThirdRegionType(@Param("parentId")Long parentId, @Param("thirdRegionType")String thirdRegionType);
|
||||
|
||||
|
||||
RegionDO getRegionByStoreId(@Param("storeId") String storeId);
|
||||
}
|
||||
|
||||
@@ -138,4 +138,5 @@ public interface SysRoleMapper {
|
||||
|
||||
List<SysRoleDO> getRolesByNamesAndSource(@Param("roleNames") List<String> roleNames, @Param("source") String source);
|
||||
|
||||
List<SysRoleDO> getXFStoreManager(@Param("roleNames") List<String> roleNames);
|
||||
}
|
||||
|
||||
@@ -345,6 +345,13 @@
|
||||
and third_region_type = #{thirdRegionType}
|
||||
</if>
|
||||
</select>
|
||||
<select id="getRegionByStoreId" resultType="com.cool.store.entity.RegionDO">
|
||||
select <include refid="fields"/>
|
||||
from region_${enterpriseId}
|
||||
where deleted = 0
|
||||
and store_id = #{storeId}
|
||||
and region_type = 'store'
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
@@ -358,5 +358,21 @@
|
||||
#{roleName}
|
||||
</foreach>
|
||||
</select>
|
||||
<select id="getXFStoreManager" resultType="com.cool.store.entity.SysRoleDO">
|
||||
select
|
||||
*
|
||||
from sys_role_${enterpriseId}
|
||||
where
|
||||
(
|
||||
source = 'sync'
|
||||
or
|
||||
source = 'sync_position'
|
||||
)
|
||||
and role_name in
|
||||
<foreach collection="roleNames" item="roleName" open="(" close=")" separator=",">
|
||||
#{roleName}
|
||||
</foreach>
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user