给供应商查询增加联系人的参数

This commit is contained in:
jishenghua
2025-04-13 17:04:28 +08:00
parent 29ac8d4e29
commit c5324f4ef1
4 changed files with 9 additions and 3 deletions

View File

@@ -87,12 +87,12 @@ public class SupplierService {
return list;
}
public List<Supplier> select(String supplier, String type, String phonenum, String telephone) throws Exception{
public List<Supplier> select(String supplier, String type, String contacts, String phonenum, String telephone) throws Exception{
List<Supplier> list = new ArrayList<>();
try{
String [] creatorArray = depotHeadService.getCreatorArray();
PageUtils.startPage();
list = supplierMapperEx.selectByConditionSupplier(supplier, type, phonenum, telephone, creatorArray);
list = supplierMapperEx.selectByConditionSupplier(supplier, type, contacts, phonenum, telephone, creatorArray);
for(Supplier s : list) {
Integer supplierId = s.getId().intValue();
String beginTime = Tools.getYearBegin();