List<Map<String,Object>>list=jdbcTemplate.queryForList("select nID, sSMS from tSMS where sSendType = '2' and sChannelID = 'qywx' and sSendGroup = '6'");
List<Map<String,Object>>list=jdbcTemplate.queryForList("select nID, sSMS from tSMS where sSendType = '2' and sChannelID = 'qywx' and sSendGroup = '6'");
List<Map<String,Object>>subOrderList=jdbcTemplate.queryForList("select * from tSalesOrderSub where sSubOrderID in ("+StringUtil.join("', '","'","'","''",ids)+")");
List<Map<String,Object>>subOrderList=jdbcTemplate.queryForList("select * from tSalesOrderSub where sSubOrderID in ("+StringUtil.join("', '","'","'","''",ids)+")");
jdbcTemplate.update("update tSMS set sSendErrorLog = ?, nRetry = isnull(nRetry,0) + 1 where nID = ?",ThrowableUtil.stackTraceToString(e),msgId.intValue());
}catch(Exceptione){
jdbcTemplate.update("update tSMS set sSendErrorLog = ?, nRetry = isnull(nRetry,0) + 1 where nID = ?",ThrowableUtil.stackTraceToString(e),msgId.intValue());