| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.zy.asrs.common.utils.Synchro; |
| | | import com.zy.asrs.wms.asrs.service.TaskStsService; |
| | | import com.zy.asrs.wms.asrs.service.TaskTypeService; |
| | | import com.zy.asrs.wms.system.entity.Host; |
| | |
| | | * ID |
| | | */ |
| | | @ApiModelProperty(value= "ID") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | @TableId(value = "id", type = IdType.INPUT) |
| | | private Long id; |
| | | |
| | | /** |
| | |
| | | TaskStsService service = SpringUtils.getBean(TaskStsService.class); |
| | | TaskSts taskSts = service.getById(this.taskSts); |
| | | if (!Cools.isEmpty(taskSts)){ |
| | | return String.valueOf(taskSts.getId()); |
| | | return String.valueOf(taskSts.getTitle()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | TaskTypeService service = SpringUtils.getBean(TaskTypeService.class); |
| | | TaskType taskType = service.getById(this.taskType); |
| | | if (!Cools.isEmpty(taskType)){ |
| | | return String.valueOf(taskType.getId()); |
| | | return String.valueOf(taskType.getTitle()); |
| | | } |
| | | return null; |
| | | } |
| | |
| | | return null; |
| | | } |
| | | |
| | | public void sync(Object source) { |
| | | Synchro.Copy(source, this); |
| | | } |
| | | |
| | | |
| | | } |