首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

select * from t_table where id in (*)

2012-11-21 
select * from t_table where id in (**,**,**)------------popublic class TWeekdetailToCreate{privat

select * from t_table where id in (**,**,**);
------------>po
public class TWeekdetailToCreate
{

private List<String> ids;

private String userid;

private String projectName;

private String worktime;

private String extratime;

private String beginDate;

private String endDate;
}

---------------slqMap

<select id="getTWeekdetailToCreate" resultparameterprepend=" a.USERID in " open="(" close=")" conjunction=",">
#ids[]#
</iterate>
</isNotEmpty>
</dynamic>
and DATE &gt;= #beginDate# and DATE &lt;= #endDate#
group by b.projectName
    </select>




热点排行