package com.sinosoft.em.baobiao.xianlutingyun.dao; import java.sql.SQLException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Map; import net.sf.json.JSONArray; import com.sinosoft.am.org.jdbcUtil.ORGTemplate; public class GetSendPeopleDao { public ORGTemplate temp = null; public BaoBiaoDao dao = null; public ReportPlanDao plan = null; public GetSendPeopleDao(){ temp = new ORGTemplate(); dao = new BaoBiaoDao(); plan = new ReportPlanDao(); } public String getSendPeople(String roleId,String corpId,String wtData){ String role = ""; /*String compId = "";*/ String sql =""; List> resultList = new ArrayList>(); if("R002105430205".equals(roleId)){ StringBuilder sb = new StringBuilder(); StringBuilder s = new StringBuilder(); String[] typeArr = wtData.split(","); for(int i=0;i li = temp.getResultList(getRole, wtData+"_needUsein"); for(int k=0;k