| | |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.zy.core.enums.CommandType; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
| | | @TableName("wcs_command_info_log") |
| | | @TableName("\"SOURCE\".\"wcs_command_info_log\"") |
| | | public class CommandInfoLog implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | return Math.abs(day) + "天" + Math.abs(hour) + "小时" + Math.abs(min) + "分" + Math.abs(s) + "秒"; |
| | | } |
| | | |
| | | public String getCommandType$() { |
| | | if (Cools.isEmpty(this.commandType)) { |
| | | return ""; |
| | | } |
| | | return CommandType.get(this.commandType).desc; |
| | | } |
| | | |
| | | |
| | | } |