| | |
| | | |
| | | import com.core.common.SpringUtils; |
| | | |
| | | import com.zy.asrs.service.DepartmentService; |
| | | import com.zy.asrs.service.ICItemCoreService; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | import java.text.SimpleDateFormat; |
| | |
| | | public class ICMO implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableField(exist = false) |
| | | private String tableName; |
| | | |
| | | |
| | | @ApiModelProperty(value= "") |
| | | @TableField("FBrNo") |
| | |
| | | @TableField("iz_print_return") |
| | | private String izPrintReturn; |
| | | |
| | | @TableField(exist = false) |
| | | private Department department; |
| | | |
| | | @TableField(exist = false) |
| | | private Integer Fsource; |
| | | |
| | | public ICMO() {} |
| | | |
| | | public ICItemCore getICItemCore(){ |
| | |
| | | return icItemCoreService.selectOne(new EntityWrapper<ICItemCore>().eq("FItemID", this.FItemID)); |
| | | |
| | | } |
| | | public Department getDepartment(){ |
| | | if (Cools.isEmpty(this.FWorkShop)){ |
| | | return null; |
| | | } |
| | | DepartmentService departmentService = SpringUtils.getBean(DepartmentService.class); |
| | | return departmentService.selectOne(new EntityWrapper<Department>().eq("FItemID", this.FWorkShop)); |
| | | |
| | | } |
| | | |
| | | public String getFPlanCommitDate$(){ |
| | | if (Cools.isEmpty(this.FPlanCommitDate)){ |