瀏覽代碼

专家库 查询采购品种

sunhh 2 年之前
父節點
當前提交
6f5ae2318d
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      purchase-admin/src/main/java/com/ozs/web/controller/base/BaseExpertController.java

+ 3 - 0
purchase-admin/src/main/java/com/ozs/web/controller/base/BaseExpertController.java

@@ -110,6 +110,9 @@ public class BaseExpertController extends BaseController {
         if (!ObjectUtils.isEmpty(baseExpertVo.getMajorGrade())) {
             lw.eq(BaseExpert::getMajorGrade, baseExpertVo.getMajorGrade());
         }
+        if (!ObjectUtils.isEmpty(baseExpertVo.getVarietyPurchase())) {
+            lw.eq(BaseExpert::getVarietyPurchase, baseExpertVo.getVarietyPurchase());
+        }
         lw.orderBy(true, false, BaseExpert::getCreateTime);
         List<BaseExpert> list = baseExpertService.list(lw);
         List<BaseExpertVo> listVo = BeanUtils.entityListToVOList(list, BaseExpertVo.class);