| | |
| | | rowLastnoService.updateById(rowLastno); |
| | | |
| | | if (crnNo==1){ |
| | | LocMast locMast1 = locMastService.selectOne(new EntityWrapper<LocMast>().eq("loc_sts", "F").eq("loc_type2", (short) 3)); |
| | | if (!Cools.isEmpty(locMast1)){ |
| | | LocMast locMast1 = locMastService.selectOne(new EntityWrapper<LocMast>() |
| | | .eq("loc_sts", "F") |
| | | .eq("loc_type1", (short) 3)); |
| | | LocMast locMast2 = locMastService.selectOne(new EntityWrapper<LocMast>() |
| | | .eq("loc_sts", "O") |
| | | .eq("loc_type1", (short) 1)); |
| | | if (!Cools.isEmpty(locMast1)||Cools.isEmpty(locMast2)){ |
| | | locMast = locMastService.queryFreeLocMast(2,(short)3); |
| | | if (Cools.isEmpty(locMast)){ |
| | | locMast = locMastService.queryFreeLocMast(1,(short)3); |