jquery删除表格行
$(".mingxirmspan").click(function(){
$(this).closest("tr").remove();
})
$(".mingxirmspan").click(function(){
$(this).closest("tr").remove();
})
@Override public Integer update(String id, String username){
String sql= "update Team_CheLiang set username=:username where id =:id";
Query query=this.getSession().createSQLQuery(sql);
query.setString("username", username);
query.setString("id", id);returnquery.executeUpdate();
}
map el表达取值
${initMap['kehuList']}
$("#renjunlirun").val(zongLiRun.toFixed(2));//金额,保留两位小数
如果不用isnull函数判断则计算出来如果有一列是null 则相加就是null,如 两列:1 null 1+null = null
select sum(ISNULL(jinE,0)+ISNULL(qitajine,0)) yingyeE form a