!SESSION 2019-05-05 09:07:51.889 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
This is a continuation of log file F:\zhcx\.metadata\.bak_0.log
Created Time: 2019-05-05 09:36:32.254
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:36:32.255
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:36:32.255
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:37:09.493
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:37:09.494
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:37:09.494
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:04.831
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:04.831
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:04.831
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:09.580
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:09.581
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:09.581
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:11.484
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:11.485
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:11.485
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:15.964
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:15.964
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:15.965
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.188
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.612
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:17.613
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:17.613
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:18.641
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:19.054
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:19.054
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:19.055
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.152
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.570
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:20.571
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:20.571
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:21.665
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:25.156
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:25.157
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:39:25.157
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:39:26.768
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:15.296
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:15.296
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:15.297
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:23.189
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:23.190
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:23.190
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:40:28.941
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){search();})();
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){Data.get();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"departmentId" : $("#departmentId").val(),
"patientId" : $("#zyh").val() == null || $("#zyh").val() == '' ? $("#patientId").val():$("#zyh").val(),
"jzh" : $("#jzh").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
var ypsz = new Array();
var jesz =new Array();
var tjrq="";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var zyh = data[i].ZYH == null ? "" : data[i].ZYH;
var jzh = data[i].JZH == null ? "" : data[i].JZH;
var patient_name = data[i].XM == null ? "" : data[i].XM;
var item_id = data[i].XMDM == null ? "" : data[i].XMDM;
var item_cnname = data[i].XMMC == null ? "" : data[i].XMMC;
var medcftype_name = data[i].MEDCFTYPE_NAME == null ? "" : data[i].MEDCFTYPE_NAME;
var jsrq = data[i].JSRQ == null ? "" : new Date(data[i].JSRQ).Format("yyyy-MM-dd hh:mm:ss");
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var fempname = data[i].YSXM == null ? "" : data[i].YSXM;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + zyh + "_$tag";
html += "_$tag____________" + jzh + "_$tag";
html += "_$tag____________" + patient_name + "_$tag";
html += "_$tag____________" + item_id + "_$tag";
html += "_$tag____________" + item_cnname + "_$tag";
html += "_$tag____________" + medcftype_name + "_$tag";
html += "_$tag____________" + jsrq + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag";
ypsz[i]=item_cnname;
jesz[i]=sum_total;
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag______________$tag";
html += "_$tag";
tjrq = "统计日期:"+$("#dateBegin").val() +"至"+$("#dateEnd").val();
showpictab(ypsz,jesz,tjrq);
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showpictab(ypsz,jesz,tjrq){
require.config({
paths: {
echarts: '/zhcx/js/dist'
}
});
require(
[
'echarts',
'echarts/chart/line', // 按需加载所需图表,如需动态类型切换功能,别忘了同时加载相应图表
'echarts/chart/bar'
],
function (ec) {
var myChart = ec.init(document.getElementById('main'));
var option = {
title : {
text: '住院医生病人费用统计报表',
subtext: tjrq
},
tooltip : {
trigger: 'axis'
},
toolbox: {
show : true,
feature : {
mark : {show: true},
dataView : {show: true, readOnly: false},
magicType : {show: true, type: ['line', 'bar']},
restore : {show: true},
saveAsImage : {show: true}
}
},
calculable : true,
xAxis : [
{
type : 'category',
data : ypsz
}
],
yAxis : [
{
type : 'value'
}
],
series : [
{
name:'金额',
type:'bar',
data:jesz,
markPoint : {
data : [
{type : 'max', name: '最大值'},
{type : 'min', name: '最小值'}
]
},
markLine : {
data : [
{type : 'average', name: '平均值'}
]
}
}
]
};
myChart.setOption(option);
}
);
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-05-05 09:40:28.942
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-05-05 09:40:28.942
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-05-05 09:43:09.783
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){WdatePicker();})();
(function(){WdatePicker();})();
(function(){search();})();
(function(){Data.get();})();
(function(){doPrint();})();
var Data = {
"get" : function(){
var tip = layer.load(2);
var url = "jyxmcdAjax.do";
$.ajax({
"url" : url,
"data" : {
"requisition_id" : $("#requisition_id").val(),
"intpatient_id" : $("#intpatient_id").val(),
"begDate" : $("#dateBegin").val(),
"endDate" : $("#dateEnd").val(),
"department_id": $("#departmentId").val(),
"searchKey" : $("#searchKey").val()
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
for(var i = 0; i < data.length; i++){
var index = i + 1;
var requisition_id = data[i].REQUISITION_ID == null ? "" : data[i].REQUISITION_ID;
var intpatient_id = data[i].INPATIENT_ID == null ? "" : data[i].INPATIENT_ID;
var patient_name = data[i].PATIENT_NAME == null ? "" : data[i].PATIENT_NAME;
var chinese_name_short = data[i].CHINESE_NAME_SHORT == null ? "" : data[i].CHINESE_NAME_SHORT;
var requisition_time = data[i].REQUISITION_TIME == null ? "" : new Date(data[i].REQUISITION_TIME).Format("yyyy-MM-dd hh:mm:ss");
var unite_flag=data[i].UNITE_FLAG == null ? "" : data[i].UNITE_FLAG;
html += "_$ta";
html += "_$tag_____________$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i_$tag";
html += "_$tag____________" + index + "_$tag";
html += "_$tag_____________$tag___________________________" + requisition_id + "_$ta_$tag";
html += "_$tag_____________$tag__________________________" + intpatient_id + "_$ta_$tag";
html += "_$tag_____________$tag_________________________" + patient_name + "_$ta_$tag";
html += "_$tag_____________$tag_______________________________" + chinese_name_short + "_$ta_$tag";
html += "_$tag_____________$tag________________________" + unite_flag + "_$ta_$tag";
html += "_$tag_____________$tag_____________________________" + requisition_time +"_$ta_$tag";
html += "_$tag";
}
$("#dataTable").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
function showcode(obj,index,requisition_id,chinese_name_short,patient_name,requisition_time){
var distinct="false";
if (obj.checked == true) {
if (index ==1) {
$('#bcprint').append(
"_$tag__________________________________________"+
"_$tag__$tag_______________________________________________________________________________________________姓名:"+patient_name+"_$ta"+
"_$tag_________________________________________________________________________________________________采集时间:"+requisition_time+"_$ta_$tag_"+
"_$tag_________________________________________________________$tag_" +
"_$tag__$tag_________________________________________________________________________________$tag___________"+chinese_name_short+"_$tag___$ta_$tag_"+
"_$tag__$tag_______________________________$tag_"
);
setBrcode(index,requisition_id);
}else {
for (i=1;i Git > Confirmations and Warnings preference page.
!SESSION 2019-06-25 08:49:23.069 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2019-06-25 08:51:40.907
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:01.351
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-06-25 09:01:01.368
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
... 21 more
Caused by: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:01.392
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:02.649
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:02.727
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
... 18 more
Caused by: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:02.731
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:04.959
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1737)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.resolveTypesFor(SourceTypeBinding.java:1703)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding$9.performAction(SourceTypeBinding.java:1496)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.performActionOnLinkedBindings(SourceTypeBinding.java:2519)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.methods(SourceTypeBinding.java:1468)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodBinding.ensureBindingsAreComplete(MethodBinding.java:773)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.findMethod(Scope.java:686)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1686)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.FunctionExpression.resolveType(FunctionExpression.java:66)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:171)
at org.eclipse.wst.jsdt.internal.compiler.ast.ListExpression.resolveType(ListExpression.java:79)
at org.eclipse.wst.jsdt.internal.compiler.ast.Expression.resolve(Expression.java:431)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:488)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:469)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findVariable(MethodScope.java:457)
at org.eclipse.wst.jsdt.internal.compiler.lookup.BlockScope.findMethod(BlockScope.java:262)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:517)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.ast.BinaryExpression.resolveType(BinaryExpression.java:263)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolveLocal(LocalDeclaration.java:241)
at org.eclipse.wst.jsdt.internal.compiler.ast.LocalDeclaration.resolve(LocalDeclaration.java:153)
at org.eclipse.wst.jsdt.internal.compiler.ast.Block.resolve(Block.java:89)
at org.eclipse.wst.jsdt.internal.compiler.ast.IfStatement.resolve(IfStatement.java:191)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolveStatements(AbstractMethodDeclaration.java:462)
at org.eclipse.wst.jsdt.internal.compiler.ast.MethodDeclaration.resolveStatements(MethodDeclaration.java:129)
at org.eclipse.wst.jsdt.internal.compiler.ast.AbstractMethodDeclaration.resolve(AbstractMethodDeclaration.java:372)
at org.eclipse.wst.jsdt.internal.compiler.lookup.MethodScope.findMethod(MethodScope.java:538)
at org.eclipse.wst.jsdt.internal.compiler.lookup.Scope.getImplicitMethod(Scope.java:1568)
at org.eclipse.wst.jsdt.internal.compiler.ast.MessageSend.resolveType(MessageSend.java:181)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFields(SourceTypeBinding.java:396)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:260)
at org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding.buildFieldsAndMethods(SourceTypeBinding.java:195)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildFieldsAndMethods(CompilationUnitScope.java:246)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:431)
at org.eclipse.wst.jsdt.internal.compiler.Compiler.resolve(Compiler.java:659)
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:273)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:1108)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllTypeNames(BasicSearchEngine.java:945)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findTypes(SearchableEnvironment.java:416)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:785)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:39.957
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:39.957
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:39.958
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:41.106
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.040
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.041
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:42.041
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:42.915
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:43.462
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:43.463
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:43.463
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:44.543
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:45.012
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:45.013
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:45.013
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:46.006
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:50.071
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:50.071
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.hyperlink.JSDTHyperlinkDetector.detectHyperlinks(JSDTHyperlinkDetector.java:176)
at org.eclipse.ui.texteditor.HyperlinkDetectorRegistry$HyperlinkDetectorDelegate.detectHyperlinks(HyperlinkDetectorRegistry.java:80)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:289)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.findHyperlinks(HyperlinkManager.java:261)
at org.eclipse.jface.text.hyperlink.HyperlinkManager.mouseMove(HyperlinkManager.java:469)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:212)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:01:50.072
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:01:51.122
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:23.780
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:23.781
!MESSAGE Error while processing working copy
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:244)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1122)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1100)
at org.eclipse.wst.jsdt.internal.core.search.BasicSearchEngine.searchAllVariables(BasicSearchEngine.java:1865)
at org.eclipse.wst.jsdt.internal.core.SearchableEnvironment.findVariables(SearchableEnvironment.java:665)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildSuperType(CompilationUnitScope.java:520)
at org.eclipse.wst.jsdt.internal.compiler.lookup.CompilationUnitScope.buildTypeBindings(CompilationUnitScope.java:409)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:343)
at org.eclipse.wst.jsdt.internal.compiler.lookup.LookupEnvironment.buildTypeBindings(LookupEnvironment.java:327)
at org.eclipse.wst.jsdt.internal.codeassist.SelectionEngine.select(SelectionEngine.java:754)
at org.eclipse.wst.jsdt.internal.core.Openable.codeSelect(Openable.java:167)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.codeSelect(CompilationUnit.java:330)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.getElementsFromJsRange(JsTranslation.java:310)
at org.eclipse.wst.jsdt.web.ui.internal.taginfo.JSDTHoverProcessor.getHoverInfo(JSDTHoverProcessor.java:120)
at org.eclipse.wst.sse.ui.internal.taginfo.BestMatchHover.getHoverInfo2(BestMatchHover.java:142)
at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:02:23.781
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:02:24.782
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.core 4 4 2019-06-25 09:03:39.079
!MESSAGE Exception occurred during problem detection:
----------------------------------- SOURCE BEGIN -------------------------------------
(function(){Data.getlist('${patnolist.patId}');})();
var Data = {
"getlist" : function(patId){
var tip = layer.load(2);
var url = "list.do";
$.ajax({
"url" : url,
"data" : {
"patId" : patId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var smdatetime = data[i].SMDATETIME == null ? "" : new Date(data[i].SMDATETIME).Format("yyyy-MM-dd hh:mm:ss");
var fdeptname = data[i].FDEPTNAME == null ? "" : data[i].FDEPTNAME;
var fempname = data[i].FEMPNAME == null ? "" : data[i].FEMPNAME;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
var chgnoteId = data[i].CHGNOTE_ID == null ? "" : data[i].CHGNOTE_ID;
sum = sum +sum_total;
html += "
";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + smdatetime + "_$tag";
html += "_$tag____________" + fdeptname + "_$tag";
html += "_$tag____________" + fempname + "_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataList").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
},
"getlistajax" : function(chgnoteId){
var tip = layer.load(2);
var url = "listAjax.do";
$.ajax({
"url" : url,
"data" : {
"visitId" : chgnoteId
},
"type" : "POST",
"dataType" : "json",
"async" : true,
"success" : function(data) {
if(data != null && data != ""){
var html = "";
var sum =0;
for(var i = 0; i < data.length; i++){
var index = i + 1;
var itemId = data[i].ITEM_ID == null ? "" : data[i].ITEM_ID;
var itemName = data[i].ITEM_CNNAME == null ? "" : data[i].ITEM_CNNAME;
var itemStd = data[i].ITEM_STD == null ? "" : data[i].ITEM_STD;
var quantity = data[i].QUANTITY == null ? "" : data[i].QUANTITY;
var quantityUnit = data[i].QUANTITY_UNIT == null ? "" : data[i].QUANTITY_UNIT;
var sum_total = data[i].SUM_TOTAL == null ? "" : data[i].SUM_TOTAL;
sum = sum +sum_total;
html += "_$ta";
html += "_$tag____________" + index + "_$tag";
html += "_$tag____________" + itemId + "_$tag";
html += "_$tag____________" + itemName + "_$tag";
html += "_$tag____________" + itemStd + "_$tag";
html += "_$tag____________" + quantity +"_$tag";
html += "_$tag____________" + quantityUnit +"_$tag";
html += "_$tag____________" + sum_total +"_$tag";
html += "_$tag";
}
html += "_$ta";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag______________$tag";
html += "_$tag_____________总计_$tag";
html += "_$tag____________" + sum.toFixed(2) +"_$tag";
html += "_$tag";
$("#dataListAjax").html(html);
}
},
"complete": function(){
layer.close(tip);
}
});
}
}
function search(){
$("#form").submit();
}
Date.prototype.Format = function (fmt) {
var o = {
"M+": this.getMonth() + 1, //月份
"d+": this.getDate(), //日
"h+": this.getHours(), //小时
"m+": this.getMinutes(), //分
"s+": this.getSeconds(), //秒
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
"S": this.getMilliseconds() //毫秒
};
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
for (var k in o)
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
return fmt;
}
----------------------------------- SOURCE END -------------------------------------
!STACK 0
java.lang.NullPointerException
!ENTRY org.eclipse.wst.jsdt.web.core 4 4 2019-06-25 09:03:39.079
!MESSAGE java.lang.NullPointerException
!STACK 1
JavaScript Model Exception: java.lang.NullPointerException
at org.eclipse.wst.jsdt.internal.core.CompilationUnitProblemFinder.process(CompilationUnitProblemFinder.java:313)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.buildStructure(CompilationUnit.java:259)
at org.eclipse.wst.jsdt.internal.core.Openable.generateInfos(Openable.java:241)
at org.eclipse.wst.jsdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:538)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.makeConsistent(CompilationUnit.java:1117)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.makeConsistent(ReconcileWorkingCopyOperation.java:177)
at org.eclipse.wst.jsdt.internal.core.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:96)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:742)
at org.eclipse.wst.jsdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:802)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1272)
at org.eclipse.wst.jsdt.internal.core.CompilationUnit.reconcile(CompilationUnit.java:1249)
at org.eclipse.wst.jsdt.web.core.javascript.JsTranslation.reconcileCompilationUnit(JsTranslation.java:565)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.performValidation(JsValidator.java:181)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validateFile(JsValidator.java:380)
at org.eclipse.wst.jsdt.web.core.internal.validation.JsValidator.validate(JsValidator.java:290)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:303)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:262)
at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
Caused by: java.lang.NullPointerException
Caused by: java.lang.NullPointerException
!SUBENTRY 1 org.eclipse.wst.jsdt.core 4 1005 2019-06-25 09:03:39.079
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
!SESSION 2019-06-26 08:41:24.308 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2019-06-26 08:42:13.020
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2019-06-26 15:32:00.467 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2019-06-26 15:32:25.683
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!SESSION 2019-07-08 09:30:37.236 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2019-07-08 09:32:57.921
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
!ENTRY org.eclipse.jst.server.tomcat.core 4 0 2019-07-08 09:33:25.561
!MESSAGE Port 8081 required by Tomcat v7.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).
!SESSION 2019-07-08 09:38:35.084 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_80
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
!ENTRY org.eclipse.egit.ui 2 0 2019-07-08 09:39:21.986
!MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
user global configuration and to define the default location to store repositories: 'C:\Users\dell'. If this is
not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
EGit might behave differently since they see different configuration options.
This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.