`
文章列表

wrong

    博客分类:
  • Java
public static String querySurfaceTemperature() throws Exception{ PublicDataDao publicDataDao = DaoFactory.getInstance().getPublicDataDao(); Connection conn = DaoFactory.getInstance().getConnection(); String surfaceTemperature = ""; ArrayList<WeatherStation> weatherStationL ...
var global_add_url = ""; var global_list_url = ""; var global_report_id = 0; var global_template = null; var global_show_create_time = 0; var global_getlistvalue = []; var global_getrows = null; var g_deptID = null; $(function(){ initSystemList(); }); function initRe ...
<html> <head> <script type="text/javascript"> function alertInnerHTML() { alert(document.getElementById("td1").innerHTML); } </script> </head> <body> <table border="1"> <tr> <th>Firstname</th> ...

myMapTag

var tagpoint = {}; var tagline = {}; var magtype = ""; function mapTagCallBack(geo,type){ magtype = type; if(type == "point"){ tagpoint = geo; }else{ tagline = geo; } markDlg(); } /** * 地图标记dialog */ function markDlg(lon,lat){ art.dialog({id:'mark'}) ...
<script type="text/javascript"> function sortNumber(a,b) { return a - b } var arr = new Array(6) arr[0] = "10" arr[1] = "5" arr[2] = "40" arr[3] = "25" arr[4] = "1000" arr[5] = "1" document.write(arr + " ...
道路小页面js 主页面中--打开小页面 function AddRoad(){ art.dialog.data("road_data",{ roads:group_road, callbackData:function(road){ group_road.push(road); getSnowClearRoadList(); } }); art.dialog.open('page/basedata_manage/group_road_dialog.html', { title : '负责范围录入页面', lock ...
/** * 验证提交的表单 */ function checkForm(checkGroup){ if(typeof(checkGroup) == "undefined"){ checkGroup = ""; } var _val = 0; for(var i = 0 ; i < _checkFormList.length ; i++){ var checkItem = _checkFormList[i]; if(checkGroup == checkItem.group){ var flag = ...
html <tr> <td class="zi" height="30">道路名称:</td> <td class="shuru" height="30"> <select id="select_road" name="select_road" onchange="setRoadNum();"> </select> </td> </tr> ...
//取得系统时间并转化为字符串 function getSystemTime(){ var d = new Date(); YMDHMS =d.getFullYear().toString() +(d.getMonth()+1).toString() + d.getDate().toString() + d.getHours().toString() + d.getMinutes().toString() + d.getSeconds().toString(); return YMDHMS; }
程序语句的三种结构 1.顺序结构 2.选择结构 3.循环结构 3.1顺序结构 3.2选择结构 举例:验证选择结构 public class IfDemo{ public static void main(String args[]){ int x = 3; //定义变量 int y = 10; //定义变量 System.out.println("===比较开始=="); if(x>y){ System.out.prin ...

拼接list

function getCommandCarList() { var groupInfo = null; $.ajax({ // url : "snowBasicinfo", // data : " {cmd:'queryCommandCar',commandCar:{}}", url:"snowTask", data:"{cmd : 'queryTask',taskInfo : {}}", type : "post", dataType : "j ...

js数组

1、数组的创建 var arrayObj = new Array(); //创建一个数组 var arrayObj = new Array([size]); //创建一个数组并指定长度,注意不是上限,是长度 var arrayObj = new Array([element0[, element1[, ...[, elementN]]]]); //创建一个数组并赋值     要说明的是,虽然第二种方法创建数组指定了长度,但实际上所有情况下数组都是变长的,也就是说即使指定了长度为5,仍然可以将元素存储在规定长度以外的,注意:这时长度会随之改变。 2、数组的元素的访问 var ...
import java.math.BigDecimal; public class Arith { private static final int DEF_DIV_SCALE = 10; /** * * 两个Double数相加 * * * @param v1 * * @param v2 * * @return Double */ public static Double add(Double v1, Double v2) { BigDecimal b1 = new BigDecimal(v1.toString()); BigDecimal ...
function getmeltSnowStock(pos,size){ var select_year = $('#select_year').val(); var orgName = $('#select_orgName').val(); var tab1 = "<table style='width:100%;' class='table_two' cellpadding='0' cellspacing='0'>"; tab1+= "<tbody>" + "<tr>" ...
you will be better
Global site tag (gtag.js) - Google Analytics