| | |
| | | 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;
|
| | |
| | | //System.out.println("*************************");
|
| | | return SUCCESS;
|
| | | }
|
| | | |
| | | /**
|
| | | * 历史数据查询 <!------------- 跨域访问 -------------------->
|
| | | * @return
|
| | | */
|
| | | public String findhistory_ky(){
|
| | | //isAllowHeaders();
|
| | | ServiceModel model = new ServiceModel();
|
| | | btd = ActionUtil.getGson().fromJson(json, Batttestdata.class);
|
| | | model = service.serchByCondition_ky(btd);
|
| | | result = ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|
| | |
|
| | |
|
| | | public void setBtd(Batttestdata btd) {
|