|
@@ -21,6 +21,7 @@ import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Objects;
|
|
|
|
|
@@ -39,6 +40,7 @@ public class WebsitPartsConfigLogic {
|
|
|
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) {
|
|
|
+ page.setRecords(new ArrayList<>());
|
|
|
WebsitPartsRefundConfig refundConfig = websitPartsRefundConfigService.lambdaQuery()
|
|
|
.eq(WebsitPartsRefundConfig::getCompanyWechatId, adminUser.getCompanyWechatId())
|
|
|
.eq(WebsitPartsRefundConfig::getIsDefault, true)
|