|
|
@@ -98,9 +98,9 @@ public class ProductLaunchController extends BladeController {
|
|
|
.eq(PjProductLaunch::getIsDeleted, 0)
|
|
|
.eq(PjProductLaunch::getBillType, productLaunch.getBillType())
|
|
|
.eq(PjProductLaunch::getSalesCompanyId, AuthUtil.getDeptId())//公司
|
|
|
- .eq(ObjectUtil.isNotEmpty(productLaunch.getBrandId()), PjProductLaunch::getBrandId, productLaunch.getBrandId())
|
|
|
.like(ObjectUtils.isNotEmpty(productLaunch.getSpecificationAndModel()), PjProductLaunch::getSpecificationAndModel, productLaunch.getSpecificationAndModel())//规格型号
|
|
|
- .in(ObjectUtil.isNotEmpty(productLaunch.getSourceCompanyId()), PjProductLaunch::getSourceCompanyId, productLaunch.getSourceCompanyId());//来源公司
|
|
|
+ .eq(ObjectUtil.isNotEmpty(productLaunch.getUpAndDownShelves()), PjProductLaunch::getUpAndDownShelves, productLaunch.getUpAndDownShelves())//上下架
|
|
|
+ .in(ObjectUtil.isNotEmpty(productLaunch.getSharedCompanyList()), PjProductLaunch::getSharedCompanyList, productLaunch.getSharedCompanyList());//共享公司
|
|
|
if (ObjectUtil.isNotEmpty(productLaunch.getCname())){
|
|
|
lambdaQueryWrapper.and(i -> i.like(PjProductLaunch::getCname, productLaunch.getCname()).or().like(PjProductLaunch::getCnameInt, productLaunch.getCname()));
|
|
|
}
|