From 3ea3e6ac0db260b46aa262bc2ab33d8ab8860b86 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期一, 29 十月 2018 14:36:24 +0800
Subject: [PATCH] Merge branch 'dev_lxw' of https://whychdw@gitlab.com/whyclxw1/gx_tieta.git into dev_lxw

---
 gx_tieta/src/com/fgkj/actions/StationtrafficAction.java |   32 ++++++++++++++++++++++++++++++++
 1 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/gx_tieta/src/com/fgkj/actions/StationtrafficAction.java b/gx_tieta/src/com/fgkj/actions/StationtrafficAction.java
new file mode 100644
index 0000000..91f2c75
--- /dev/null
+++ b/gx_tieta/src/com/fgkj/actions/StationtrafficAction.java
@@ -0,0 +1,32 @@
+package com.fgkj.actions;
+
+import com.fgkj.dto.ServiceModel;
+import com.fgkj.dto.Stationtraffic;
+import com.fgkj.dto.User_inf;
+import com.fgkj.services.StationtrafficService;
+
+
+public class StationtrafficAction extends ActionUtil{
+	private StationtrafficService service=new StationtrafficService();
+	private String json;
+	private String result;
+	
+	
+	//缁熻鍩虹珯娴侀噺
+	public String serchByCondition() {
+		Stationtraffic st=getGson("yyyy-MM-dd HH:mm:ss").fromJson(json, Stationtraffic.class);
+		User_inf uinf=(User_inf) getUser();
+		st.setNote(uinf.getUId().toString());
+		ServiceModel model=service.serchByCondition(st);
+		result=tojson(model);
+		return SUCCESS;
+	}
+	public String getResult() {
+		return result;
+	}
+	public void setJson(String json) {
+		this.json = json;
+	}
+	
+	
+}

--
Gitblit v1.9.1