|  |  |  | 
|---|
|  |  |  | if (Cools.isEmpty(ioType, locNo)) { | 
|---|
|  |  |  | return 100.0D; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (ioType != 11) { | 
|---|
|  |  |  | // 入库 | 
|---|
|  |  |  | if (ioType < 100) { | 
|---|
|  |  |  | List<String> groupInnerLoc = Utils.getGroupInnerLoc(locNo); | 
|---|
|  |  |  | if (!Cools.isEmpty(groupInnerLoc)) { | 
|---|
|  |  |  | for (String innerLoc : groupInnerLoc) { | 
|---|
|  |  |  | WrkMast wrkMast = this.baseMapper.selectByLocNoOfPakin(innerLoc); | 
|---|
|  |  |  | if (wrkMast != null) { | 
|---|
|  |  |  | defaultIoPri = wrkMast.getIoPri() - 2; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // 出库 | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | List<String> groupOuterLoc = Utils.getGroupOuterLoc(locNo); | 
|---|
|  |  |  | if (!Cools.isEmpty(groupOuterLoc)) { | 
|---|
|  |  |  | for (String outerLoc : groupOuterLoc) { | 
|---|
|  |  |  | WrkMast wrkMast = this.baseMapper.selectBySourceLocNoOfPakout(outerLoc); | 
|---|
|  |  |  | if (wrkMast != null) { | 
|---|
|  |  |  | defaultIoPri = wrkMast.getIoPri() - 2; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | int row = Utils.getRow(locNo); | 
|---|
|  |  |  | if (row == 6) { | 
|---|
|  |  |  | return 101D; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (row == 13) { | 
|---|
|  |  |  | return 103D; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (row == 14) { | 
|---|
|  |  |  | return 102D; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (row == 15) { | 
|---|
|  |  |  | return 101D; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | return defaultIoPri == null ? 100.0D : defaultIoPri; | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|