一、添加publishNos
List<String> publishNos=new ArrayList<>();
for(Map<String,String> act:acts){
publishNos.add(act.get("businessId"));
}
param.put("publishNos", publishNos);
List<TSellPersonEntity> sellList = tSellDao.getTSellForBack(param);
二、foreach遍历
<if test="publishNos != null and publishNos.size()>0">
AND TS.PUBLISH_NO in
<foreach collection="publishNos" item="publishNo" index="index" open="(" close=")" separator=",">
#{publishNo}
</foreach>
</if>