From 90c69565afd02dba9e79aff9de30b4ca322e5fb8 Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期二, 08 一月 2019 14:47:28 +0800
Subject: [PATCH] 线程启动

---
 gx_tieta/src/com/fgkj/actions/Batt_rtstateAction.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/Batt_rtstateAction.java b/gx_tieta/src/com/fgkj/actions/Batt_rtstateAction.java
index 23bb17f..74ee71d 100644
--- a/gx_tieta/src/com/fgkj/actions/Batt_rtstateAction.java
+++ b/gx_tieta/src/com/fgkj/actions/Batt_rtstateAction.java
@@ -14,7 +14,7 @@
 import com.fgkj.services.Batt_rtstateService;
 import com.opensymphony.xwork2.ActionSupport;
 
-public class Batt_rtstateAction extends ActionSupport{
+public class Batt_rtstateAction extends ActionUtil{
 	private Batt_rtstateService service=new Batt_rtstateService();
 	private ServiceModel model;
 	private Batt_rtstate rtstate;
@@ -90,10 +90,11 @@
 	
 	//瀹炴椂鐩戞祴涓殑鏌ヨ瀹炴椂缁勭淇℃伅		<!--   璺ㄥ煙璁块棶 --->
 	public String serchByCondition_ky(){	
-		ActionUtil.isAllowHeaders();				//鍏佽璺ㄥ煙璁块棶
+		//ActionUtil.isAllowHeaders();				//鍏佽璺ㄥ煙璁块棶
+		model = new ServiceModel();
 		//System.out.println("寮�濮嬫煡璇tstate");
 		rtstate = ActionUtil.getGson().fromJson(json, Batt_rtstate.class);
-		model=service.serchByCondition_ky(rtstate);
+		model=service.serchByCondition_ky(rtstate);			
 		//System.out.println(model);
 		result = ActionUtil.getGson("yyyy-MM-dd HH:mm:ss").toJson(model);
 		return SUCCESS;

--
Gitblit v1.9.1