|
|
@ -2,6 +2,8 @@ package com.qs.serve.common.model.tag; |
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
import com.qs.serve.common.util.StringUtils; |
|
|
|
import com.qs.serve.modules.bms.entity.BmsSupplier; |
|
|
|
import com.qs.serve.modules.his.entity.HisUserSupplier; |
|
|
|
import com.qs.serve.modules.tag.entity.so.TagQuery; |
|
|
|
import com.qs.serve.modules.tbs.entity.TbsCostApply; |
|
|
|
import com.qs.serve.modules.tbs.entity.so.VtbVerificationBatchQuery; |
|
|
@ -33,6 +35,14 @@ public class TagFiledUtil { |
|
|
|
put("supplierId","vtb_verification_batch.supplier_id"); |
|
|
|
}}; |
|
|
|
|
|
|
|
public final static Map<String,String> BmsSupplierPageMap = new HashMap<String,String>(){{ |
|
|
|
put("id","bms_supplier.id"); |
|
|
|
}}; |
|
|
|
|
|
|
|
public final static Map<String,String> HisSupplierPageMap = new HashMap<String,String>(){{ |
|
|
|
put("id","his_user_supplier.supplier_id"); |
|
|
|
}}; |
|
|
|
|
|
|
|
public static void TbsCostApplyPage(TbsCostApply param){ |
|
|
|
List<TagQuery> paramTagList = param.getTagQueryList(); |
|
|
|
List<TagQuery> newList = getNewList(paramTagList,TbsCostApplyPageMap); |
|
|
@ -53,6 +63,18 @@ public class TagFiledUtil { |
|
|
|
param.setTagQueryList(newList); |
|
|
|
} |
|
|
|
|
|
|
|
public static void BmsSupplierPage(BmsSupplier param){ |
|
|
|
List<TagQuery> paramTagList = param.getTagQueryList(); |
|
|
|
List<TagQuery> newList = getNewList(paramTagList,BmsSupplierPageMap); |
|
|
|
param.setTagQueryList(newList); |
|
|
|
} |
|
|
|
|
|
|
|
public static void HisSupplierPage(HisUserSupplier param){ |
|
|
|
List<TagQuery> paramTagList = param.getTagQueryList(); |
|
|
|
List<TagQuery> newList = getNewList(paramTagList,HisSupplierPageMap); |
|
|
|
param.setTagQueryList(newList); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 创建新的且有效性的查询参数(sql使用了非严谨写法,这里做了sql注入过滤) |
|
|
|
* @param paramTagList |
|
|
|