|
@@ -47,6 +47,9 @@ public class QyCheckListServiceImpl extends ServiceImpl<QyCheckListMapper, QyChe
|
|
|
@Override
|
|
|
public Page<QyCheckList> page(QyCheckListPageParam qyCheckListPageParam) {
|
|
|
QueryWrapper<QyCheckList> queryWrapper = new QueryWrapper<QyCheckList>().checkSqlInjection();
|
|
|
+ if(ObjectUtil.isNotEmpty(qyCheckListPageParam.getId())) {
|
|
|
+ queryWrapper.lambda().eq(QyCheckList::getId, qyCheckListPageParam.getId());
|
|
|
+ }
|
|
|
if(ObjectUtil.isNotEmpty(qyCheckListPageParam.getCompanyName())) {
|
|
|
queryWrapper.lambda().eq(QyCheckList::getCompanyName, qyCheckListPageParam.getCompanyName());
|
|
|
}
|