|
@@ -30,6 +30,7 @@ import com.fjhx.sale.service.ext.ExtQuotationService;
|
|
|
import com.ruoyi.common.core.domain.BasePo;
|
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
|
import com.ruoyi.common.utils.wrapper.IWrapper;
|
|
|
+import com.ruoyi.common.utils.wrapper.SqlField;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
@@ -67,6 +68,10 @@ public class ExtQuotationProductServiceImpl extends ServiceImpl<ExtQuotationProd
|
|
|
//过滤待创建产品数据
|
|
|
wrapper.eq("eq.create_product_status", 1);
|
|
|
wrapper.isNull("eqp.product_id");
|
|
|
+ wrapper.orderByDesc("eq.wait_product_time");
|
|
|
+
|
|
|
+ wrapper.keyword(dto.getKeyword(), new SqlField("eq.code"));
|
|
|
+
|
|
|
Page<ExtQuotationProductVo> page = baseMapper.waitCreateProductPage(dto.getPage(), wrapper);
|
|
|
List<ExtQuotationProductVo> records = page.getRecords();
|
|
|
if (ObjectUtil.isEmpty(records)) {
|