From 96f25d0985898464c0b7cebfcf0115cdf425cf50 Mon Sep 17 00:00:00 2001
From: 81041 <81041@DESKTOP-025NVD9>
Date: 星期一, 07 一月 2019 09:44:41 +0800
Subject: [PATCH] 修改操作
---
gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/BattInfAction.class | 0
gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/BattInfServices.class | 0
gx_tieta/src/com/fgkj/actions/BattInfAction.java | 4 ++--
gx_tieta/src/com/fgkj/services/BattInfServices.java | 7 ++++---
4 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/BattInfAction.class b/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/BattInfAction.class
index 4682d90..3ff4011 100644
--- a/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/BattInfAction.class
+++ b/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/actions/BattInfAction.class
Binary files differ
diff --git a/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/BattInfServices.class b/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/BattInfServices.class
index 9e1b6f8..4e1a4f9 100644
--- a/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/BattInfServices.class
+++ b/gx_tieta/WebRoot/WEB-INF/classes/com/fgkj/services/BattInfServices.class
Binary files differ
diff --git a/gx_tieta/src/com/fgkj/actions/BattInfAction.java b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
index e80575f..cfdda43 100644
--- a/gx_tieta/src/com/fgkj/actions/BattInfAction.java
+++ b/gx_tieta/src/com/fgkj/actions/BattInfAction.java
@@ -433,9 +433,9 @@
return SUCCESS;
}
//鍒ゆ柇鏂板鐨勬満鎴挎槸鍚﹀瓨鍦�
- public String judgeBattInOrNot(){
+ public String judgeBatt(){
BattInf binf=getGson().fromJson(json, BattInf.class);
- ServiceModel model = service.judgeBattInOrNot(binf);
+ ServiceModel model = service.judgeBatt(binf);
result = ActionUtil.tojson(model);
return SUCCESS;
}
diff --git a/gx_tieta/src/com/fgkj/services/BattInfServices.java b/gx_tieta/src/com/fgkj/services/BattInfServices.java
index 2aa41f6..72751d7 100644
--- a/gx_tieta/src/com/fgkj/services/BattInfServices.java
+++ b/gx_tieta/src/com/fgkj/services/BattInfServices.java
@@ -1056,10 +1056,11 @@
return model;
}
//鍒ゆ柇鏂板鐨勬満鎴挎槸鍚﹀瓨鍦�
- public ServiceModel judgeBattInOrNot(Object obj) {
- Boolean bl=((BattInfImpl)dao).judgeBattInOrNot(obj);
- if (bl) {
+ public ServiceModel judgeBatt(Object obj) {
+ List list=((BattInfImpl)dao).judgeBatt(obj);
+ if (list != null && list.size() > 0) {
model.setCode(1);
+ model.setData(list);
model.setMsg("鏌ヨ鎴愬姛!");
}else{
model.setCode(0);
--
Gitblit v1.9.1