This commit is contained in:
2023-08-03 17:59:42 +08:00
parent ad61b2a84e
commit 27a4c771df
7 changed files with 75 additions and 2 deletions

View File

@@ -84,4 +84,9 @@ public interface PileMerchantInfoMapper {
* @return
*/
List<PileMerchantInfo> queryInfoListByIds(@Param("deptIds") List<String> deptIds);
/**
* 查询一级运营商
*/
List<PileMerchantInfo> queryFirstLevelMerchant();
}

View File

@@ -85,4 +85,10 @@ public interface IPileMerchantInfoService {
* @return
*/
List<PileMerchantInfo> queryInfoListByIds(AuthorizedDeptVO authorizedMap);
/**
* 查询一级运营商列表
* @return
*/
List<PileMerchantInfo> queryFirstLevelMerchant();
}

View File

@@ -332,4 +332,13 @@ public class PileMerchantInfoServiceImpl implements IPileMerchantInfoService {
AuthorizedDeptVO authorizedMap = SecurityUtils.getAuthorizedMap();
return null;
}
/**
* 查询一级运营商列表
* @return
*/
@Override
public List<PileMerchantInfo> queryFirstLevelMerchant() {
return pileMerchantInfoMapper.queryFirstLevelMerchant();
}
}

View File

@@ -324,4 +324,13 @@
</foreach>
</if>
</select>
<select id="queryFirstLevelMerchant" resultMap="PileMerchantInfoResult">
select
<include refid="Base_Column_List"/>
from
pile_merchant_info
where del_flag = '0'
and merchant_level = '1'
</select>
</mapper>