FengChaoYu 1 ano atrás
pai
commit
d0cbb5d0d4

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/material/manage/WebsitPartsConfigLogic.java

@@ -39,7 +39,7 @@ public class WebsitPartsConfigLogic {
         AdminUserCom adminUser = commonLogic.getAdminUser();
         FieldUtils.materialParam(zfireParamBean, WebsitPartsConfigVO.class, adminUser);
         IPage<WebsitPartsConfigVO> page = materialMapper.websitPartsConfigPage(new Page(zfireParamBean.getPageNum(), zfireParamBean.getPageSize()), zfireParamBean);
-        if (CollectionUtil.isEmpty(page.getRecords()) && adminUser.getType() == 0) {
+        if (CollectionUtil.isEmpty(page.getRecords()) && adminUser.getType() != 2) {
             page.setRecords(new ArrayList<>());
             WebsitPartsRefundConfig refundConfig = websitPartsRefundConfigService.lambdaQuery()
                     .eq(WebsitPartsRefundConfig::getCompanyWechatId, adminUser.getCompanyWechatId())