关于无法添加商品问题
This commit is contained in:
parent
e1aaa4ac12
commit
45c7558e4b
@ -141,11 +141,12 @@ public class AppInspectionPartnerServiceImpl extends ServiceImpl<AppInspectionPa
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<ShopInspectionCategory> categoryList(Long partnerId) {
|
public List<ShopInspectionCategory> categoryList(Long partnerId) {
|
||||||
LoginUser user = SecurityFrameworkUtils.getLoginUser();
|
// 暂时去掉
|
||||||
ShopMallPartners partners = baseMapper.selectById(partnerId);
|
// LoginUser user = SecurityFrameworkUtils.getLoginUser();
|
||||||
if (!partners.getUserId().equals(user.getId())){
|
// ShopMallPartners partners = baseMapper.selectById(partnerId);
|
||||||
return null;
|
// if (!partners.getUserId().equals(user.getId())){
|
||||||
}
|
// return null;
|
||||||
|
// }
|
||||||
List<ShopInspectionCategory> shopInspectionCategories = baseMapper.partnerCategoryList(partnerId);
|
List<ShopInspectionCategory> shopInspectionCategories = baseMapper.partnerCategoryList(partnerId);
|
||||||
for (ShopInspectionCategory shopInspectionCategory : shopInspectionCategories) {
|
for (ShopInspectionCategory shopInspectionCategory : shopInspectionCategories) {
|
||||||
LambdaQueryWrapper<InspectionCategoryTemplate> templateLambdaQueryWrapper =new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<InspectionCategoryTemplate> templateLambdaQueryWrapper =new LambdaQueryWrapper<>();
|
||||||
|
Loading…
Reference in New Issue
Block a user