| | |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | import com.vincent.rsf.server.manager.service.CompanysService; |
| | | import lombok.experimental.Accessors; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | import com.vincent.rsf.server.system.entity.User; |
| | | import java.io.Serializable; |
| | | import java.util.Date; |
| | | import java.util.Objects; |
| | | |
| | | @Data |
| | | @Accessors(chain = true) |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | public String getSplrName() { |
| | | if (null == this.splrId) { return null; } |
| | | CompanysService companysService = SpringUtils.getBean(CompanysService.class); |
| | | Companys companys = companysService.getById(this.splrId); |
| | | if (Objects.isNull(companys)) { |
| | | return null; |
| | | } else { |
| | | return companys.getName(); |
| | | } |
| | | } |
| | | |
| | | public String getSplrCode() { |
| | | if (null == this.splrId) { return null; } |
| | | CompanysService companysService = SpringUtils.getBean(CompanysService.class); |
| | | Companys companys = companysService.getById(this.splrId); |
| | | if (Objects.isNull(companys)) { |
| | | return null; |
| | | } else { |
| | | return companys.getCode(); |
| | | } |
| | | } |
| | | |
| | | public String getStatus$(){ |
| | | if (null == this.status){ return null; } |
| | | switch (this.status){ |