| | |
| | | * 根据电池组id查询电池组的inf表中的放电信息 <!------ 跨域访问 --------->
|
| | | */
|
| | | public String searchBattTestInfDataById_ky(){
|
| | | isAllowHeaders();
|
| | | if(key != null && CROSS_DOMAIN_KEY.equals(key)){
|
| | | Batttestdata_inf bti = ActionUtil.getGson().fromJson(json, Batttestdata_inf.class);
|
| | | model=service.serchByCondition_ky(bti); |
| | | }else{
|
| | | model = new ServiceModel();
|
| | | model.setCode(0);
|
| | | model.setMsg("识别码错误");
|
| | | }
|
| | | //isAllowHeaders();
|
| | | Batttestdata_inf bti = ActionUtil.getGson().fromJson(json, Batttestdata_inf.class);
|
| | | model=service.serchByCondition_ky(bti); |
| | | result=ActionUtil.tojson(model);
|
| | | return SUCCESS;
|
| | | }
|