List<ZxDXmpjjg> xmpjjglist = new ArrayList<ZxDXmpjjg>();
String hql1= " from ZxDXmpjjg where to_char(id.pjsj,'yyyy-mm-dd')=to_char(?,'yyyy-mm-dd') and id.pjsd=? and id.jclb=? and id.stcd in (:strs)";
Session session1 = template.getSessionFactory().getCurrentSession();
Query query1 = session1.createQuery(hql1);
query1.setTimestamp(0, evModel.getStarttime());
query1.setLong(1, evModel.getPjsd());
query1.setString(2, evModel.getJclb());
query1.setParameterList( "strs", params);
xmpjjglist = query1.list();