|
@@ -92,7 +92,7 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
queryWrapper.lambda().like(QySecondlineHzdTz::getTzCode, qySecondlineHzdTzPageParam.getTzCode());
|
|
|
}
|
|
|
if(ObjectUtil.isNotEmpty(qySecondlineHzdTzPageParam.getTzType())) {
|
|
|
- queryWrapper.lambda().eq(QySecondlineHzdTz::getTzType, qySecondlineHzdTzPageParam.getTzType());
|
|
|
+ queryWrapper.lambda().like(QySecondlineHzdTz::getTzType, qySecondlineHzdTzPageParam.getTzType());
|
|
|
}
|
|
|
if(ObjectUtil.isNotEmpty(qySecondlineHzdTzPageParam.getHgHzdCode())) {
|
|
|
queryWrapper.lambda().like(QySecondlineHzdTz::getHgHzdCode, qySecondlineHzdTzPageParam.getHgHzdCode());
|
|
@@ -122,9 +122,11 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
queryWrapper.orderBy(true, qySecondlineHzdTzPageParam.getSortOrder().equalsIgnoreCase(CommonSortOrderEnum.ASC.getValue()),
|
|
|
StrUtil.toUnderlineCase(qySecondlineHzdTzPageParam.getSortField()));
|
|
|
} else {
|
|
|
- queryWrapper.lambda().orderByDesc(QySecondlineHzdTz::getId);
|
|
|
+ queryWrapper.lambda().orderByDesc(QySecondlineHzdTz::getSbsj);
|
|
|
}
|
|
|
- return this.page(CommonPageRequest.defaultPage(), queryWrapper);
|
|
|
+ Page<QySecondlineHzdTz> objectPage = CommonPageRequest.defaultPage();
|
|
|
+ objectPage.setSize(Integer.MAX_VALUE);
|
|
|
+ return this.page(objectPage, queryWrapper);
|
|
|
}
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
@@ -187,6 +189,7 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
qySecondlineHzdListSh.setCheckTime(date);
|
|
|
qySecondlineHzdListSh.setStatus("审核通过");
|
|
|
qySecondlineHzdListSh.setApplyMan(nickname);
|
|
|
+ qySecondlineHzdListSh.setApplicant(nickname);
|
|
|
qySecondlineHzdListSh.setResult("提交成功,审核通过");
|
|
|
qySecondlineHzdListSh.setApplyType(applyTypeName);
|
|
|
|
|
@@ -203,7 +206,7 @@ public class QySecondlineHzdTzServiceImpl extends ServiceImpl<QySecondlineHzdTzM
|
|
|
if(CollectionUtil.isNotEmpty(productList)){
|
|
|
List<QySecondlineHzdProduct> products = productList.stream().map(x -> {
|
|
|
QySecondlineHzdProduct qySecondlineHfdProduct = BeanUtil.toBean(x, QySecondlineHzdProduct.class);
|
|
|
- x.setHzdId(hzdId);
|
|
|
+ qySecondlineHfdProduct.setHzdId(hzdId);
|
|
|
return qySecondlineHfdProduct;
|
|
|
}).toList();
|
|
|
qySecondlineHzdProductService.saveBatch(products);
|