|
@@ -16,6 +16,7 @@ import com.fdkk.sxz.webApi.service.custom.ICustomComponentService;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Qualifier;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.List;
|
|
@@ -29,6 +30,7 @@ import java.util.stream.Collectors;
|
|
|
@Service
|
|
|
public class CustomComponentServiceImpl extends BaseServiceImpl<ICustomComponentMapper, CustomComponentEntity> implements ICustomComponentService {
|
|
|
|
|
|
+ @Qualifier("ICustomComponentMapper")
|
|
|
@Autowired
|
|
|
private ICustomComponentMapper customComponentMapper;
|
|
|
|
|
@@ -77,6 +79,7 @@ public class CustomComponentServiceImpl extends BaseServiceImpl<ICustomComponent
|
|
|
if (ObjectUtil.isNotNull(param.getParentId())){
|
|
|
wrapper.eq(CustomComponentEntity::getComponentTypeId,param.getParentId());
|
|
|
}
|
|
|
+ wrapper.eq(CustomComponentEntity::getExamine,1);
|
|
|
wrapper.eq(CustomComponentEntity::getIsShow,1);
|
|
|
return list(wrapper).stream().map(a ->{
|
|
|
ResponseCustomComponent customComponent=new ResponseCustomComponent();
|