Browse Source

专家库 查询采购品种

sunhh 2 năm trước cách đây
mục cha
commit
6f5ae2318d

+ 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);