LiJun
2018-11-16 af57cd2f73a05174bc8df1247bf80cc024a0b603
gx_tieta/src/com/fgkj/actions/BatttestdataAction.java
@@ -6,7 +6,7 @@
import com.fgkj.services.Batttestdata_infService;
import com.opensymphony.xwork2.ActionSupport;
public class BatttestdataAction extends ActionSupport {
public class BatttestdataAction extends ActionUtil{
   private BatttestdataService service = new BatttestdataService();
   private String result;
   private Batttestdata btd;
@@ -33,6 +33,19 @@
      //System.out.println("*************************");
      return SUCCESS;
   }
   /**
    * 历史数据查询         <!-------------  跨域访问 -------------------->
    * @return
    */
   public String findhistory_ky(){
      isAllowHeaders();
      ServiceModel model = new ServiceModel();
      model = service.serchByCondition_ky(btd);
      result = ActionUtil.tojson(model);
      //System.out.println("*************************");
      return SUCCESS;
   }
   
   public void setBtd(Batttestdata btd) {