| | |
| | | package com.ruoyi.sy.service.impl; |
| | | |
| | | import java.text.ParseException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | |
| | |
| | | try{ |
| | | ardTankWallTemporary.setCancelTime(processArray[1]); |
| | | }catch (Exception e){ |
| | | ardTankWallTemporary.setCancelTime(""); |
| | | try{ |
| | | Long cancelDate = this.sdf.parse(processArray[0]).getTime() + Long.parseLong(ardTankWallTemporary.getInterval()) * 60 * 1000; |
| | | ardTankWallTemporary.setCancelTime(this.sdf.format(cancelDate)); |
| | | } catch (ParseException ex) { |
| | | ex.printStackTrace(); |
| | | } |
| | | } |
| | | switch(ardTankWallTemporary.getProcessMark()){ |
| | | case "1" : ardTankWallTemporary.setProcessInfo("生效");break; |