| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 保险方案信息表(历史版本)Service实现 |
| | | * 保险方案信息表Service实现 |
| | | * @author 江蹄蹄 |
| | | * @date 2024/01/15 11:15 |
| | | * @date 2024/01/15 15:07 |
| | | */ |
| | | @Service |
| | | public class SolutionsServiceImpl implements SolutionsService { |
| | |
| | | if (pageWrap.getModel().getVersion() != null) { |
| | | queryWrapper.lambda().eq(Solutions::getVersion, pageWrap.getModel().getVersion()); |
| | | } |
| | | if (pageWrap.getModel().getDataType() != null) { |
| | | queryWrapper.lambda().eq(Solutions::getDataType, pageWrap.getModel().getDataType()); |
| | | } |
| | | if (pageWrap.getModel().getBaseId() != null) { |
| | | queryWrapper.lambda().eq(Solutions::getBaseId, pageWrap.getModel().getBaseId()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |