| | |
| | | import com.product.device.config.DeviceCode; |
| | | import com.product.device.service.DeviceMainenanceService; |
| | | import com.product.device.service.DeviceManagerService; |
| | | import com.product.device.service.ide.IDeviceMainenanceService; |
| | | import com.product.device.service.idel.IDeviceMainenanceService; |
| | | import com.product.mobile.core.config.MobileCoreCode; |
| | | import com.product.mobile.core.config.MobileCoreConst; |
| | | import com.product.module.sys.entity.SystemUser; |
| | |
| | | return error(MobileCoreCode.GET_NAV_BAR_CONFIG_LIST_FAIL); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 设备信息 |
| | | * |
| | |
| | | @RequestMapping(value = "/failure/create/{version}", method = RequestMethod.POST) |
| | | @ApiVersion(1) |
| | | public String createFailure(HttpServletRequest request) throws IOException { |
| | | |
| | | |
| | | try { |
| | | FieldSetEntity fse = null; |
| | | Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); |
| | |
| | | @RequestMapping(value = "/persion/{version}", method = RequestMethod.POST) |
| | | @ApiVersion(1) |
| | | public String devicePersion(HttpServletRequest request) throws IOException { |
| | | |
| | | |
| | | try { |
| | | FieldSetEntity fse = null; |
| | | Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); |
| | |
| | | return this.error(DeviceCode.SYSTEM_FORM_NODATA); |
| | | } |
| | | DataTableEntity dt=deviceManagerService.findDevicePersion(fse.getString("asset_code")); |
| | | |
| | | |
| | | return this.OK_List( dt ); |
| | | } catch (BaseException e) { |
| | | e.printStackTrace(); |
| | |
| | | @RequestMapping(value = "/create/maintain/task/{version}", method = RequestMethod.POST) |
| | | @ApiVersion(1) |
| | | public String deviceMainTainTaskPersion(HttpServletRequest request) throws IOException { |
| | | |
| | | |
| | | try { |
| | | FieldSetEntity fse = null; |
| | | Object bean = request.getAttribute(CoreConst.API_POST_REQUEST_DATA); |