| | |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.entity.BasAreas; |
| | | import com.zy.asrs.service.BasAreasService; |
| | | import com.zy.asrs.service.DocTypeService; |
| | | import com.zy.asrs.service.OrderSettleService; |
| | | import com.zy.common.utils.Synchro; |
| | |
| | | @TableField("item_id") |
| | | private Long itemId; |
| | | |
| | | @ApiModelProperty(value= "") |
| | | @ApiModelProperty(value= "区域ID") |
| | | @TableField("item_name") |
| | | private String itemName; |
| | | |
| | |
| | | // null // 备注 |
| | | // ); |
| | | |
| | | |
| | | public String getItemName$() { |
| | | if (Cools.isEmpty(this.itemName)) { |
| | | return null; |
| | | } |
| | | try { |
| | | BasAreasService service = SpringUtils.getBean(BasAreasService.class); |
| | | BasAreas area = service.selectById(Long.parseLong(this.itemName)); |
| | | if (!Cools.isEmpty(area)) { |
| | | return area.getName(); |
| | | } |
| | | } catch (Exception e) { |
| | | return this.itemName; |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | public String getDocType$(){ |
| | | DocTypeService service = SpringUtils.getBean(DocTypeService.class); |
| | | DocType docType = service.selectById(this.docType); |