|  |  |  | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotations.TableName; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.enums.IdType; | 
|---|
|  |  |  | import com.zy.asrs.service.*; | 
|---|
|  |  |  | import com.zy.common.utils.Synchro; | 
|---|
|  |  |  | import com.zy.system.entity.User; | 
|---|
|  |  |  | import com.zy.system.service.UserService; | 
|---|
|  |  |  | import com.core.common.Cools; | 
|---|
|  |  |  | 
|---|
|  |  |  | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public Long getWrkStsComplete(){ | 
|---|
|  |  |  | if (Cools.isEmpty(this.wrkSts)){ | 
|---|
|  |  |  | return this.wrkSts; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (this.ioType>10){ | 
|---|
|  |  |  | return this.wrkSts+2; | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | return this.wrkSts+2; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public void sync(Object source) { | 
|---|
|  |  |  | Synchro.Copy(source, this); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|