| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 加减保申请信息表Service实现 |
| | | * 加减保换厂申请信息表Service实现 |
| | | * @author 江蹄蹄 |
| | | * @date 2024/01/15 11:15 |
| | | * @date 2024/01/15 15:07 |
| | | */ |
| | | @Service |
| | | public class ApplyChangeServiceImpl implements ApplyChangeService { |
| | |
| | | if (pageWrap.getModel().getValidCode() != null) { |
| | | queryWrapper.lambda().eq(ApplyChange::getValidCode, pageWrap.getModel().getValidCode()); |
| | | } |
| | | if (pageWrap.getModel().getType() != null) { |
| | | queryWrapper.lambda().eq(ApplyChange::getType, pageWrap.getModel().getType()); |
| | | } |
| | | for(PageWrap.SortData sortData: pageWrap.getSorts()) { |
| | | if (sortData.getDirection().equalsIgnoreCase(PageWrap.DESC)) { |
| | | queryWrapper.orderByDesc(sortData.getProperty()); |