From 643a7b479b5f309ae1014d9c1644586c1047cdd5 Mon Sep 17 00:00:00 2001
From: tqs <56479841@qq.com>
Date: 星期五, 16 九月 2022 10:51:30 +0800
Subject: [PATCH] #
---
src/main/java/zy/cloud/wms/common/controller/SaleProjectController.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/java/zy/cloud/wms/common/controller/SaleProjectController.java b/src/main/java/zy/cloud/wms/common/controller/SaleProjectController.java
index 09f010e..b5258b2 100644
--- a/src/main/java/zy/cloud/wms/common/controller/SaleProjectController.java
+++ b/src/main/java/zy/cloud/wms/common/controller/SaleProjectController.java
@@ -16,6 +16,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import zy.cloud.wms.manager.entity.Cstmr;
+import zy.cloud.wms.manager.entity.Item;
import zy.cloud.wms.manager.service.CstmrService;
import zy.cloud.wms.system.entity.User;
import zy.cloud.wms.system.service.UserService;
@@ -45,9 +46,11 @@
@RequestParam(defaultValue = "10")Integer limit,
@RequestParam(required = false)String orderByField,
@RequestParam(required = false)String orderByType,
+ @RequestParam(required = false)String condition,
@RequestParam Map<String, Object> param){
EntityWrapper<SaleProject> wrapper = new EntityWrapper<>();
excludeTrash(param);
+ allLike(SaleProject.class, param.keySet(), wrapper, condition);
convert(param, wrapper);
if (!Cools.isEmpty(orderByField)){wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));}
if (getUserId() != 9527){
--
Gitblit v1.9.1