| | |
| | | LocMast locMast = service.selectById(this.locNo); |
| | | if (!Cools.isEmpty(locMast)){ |
| | | return String.valueOf(locMast.getLocNo()); |
| | | }else { |
| | | LocCacheService service2 = SpringUtils.getBean(LocCacheService.class); |
| | | LocCache locCache = service2.selectOne(new EntityWrapper<LocCache>().eq("loc_no", this.locNo)); |
| | | if (!Cools.isEmpty(locCache)){ |
| | | return String.valueOf(locCache.getLocNo()); |
| | | } |
| | | } |
| | | return null; |
| | | } |
| | |
| | | |
| | | public String getTag$() { |
| | | MatService service = SpringUtils.getBean(MatService.class); |
| | | Mat order = service.selectOne(new EntityWrapper<Mat>().eq("matnr", this.matnr)); |
| | | Mat order = service.selectOne(new EntityWrapper<Mat>() |
| | | .eq("supp_code", this.suppCode) |
| | | .eq("matnr", this.matnr)); |
| | | if (Cools.isEmpty(order)){ |
| | | return null; |
| | | } |