备品备件优化
This commit is contained in:
@ -172,7 +172,7 @@ public class OpsBeipinBeijianServiceImpl extends ServiceImpl<OpsBeipinBeijianMap
|
||||
for (OpsBeipinBeijianDto item : records) {
|
||||
long kucunCount = item.getRuKuCount() - item.getChuKuCount();
|
||||
zonCount += kucunCount;
|
||||
if (kucunCount == 0 || (item.getRuKuCount() > 0 && item.getRuKuCount() / 2 > item.getKucunCount())){
|
||||
if (kucunCount == 0 || (item.getRuKuCount() > 0 && item.getRuKuCount() / 2 > kucunCount)){
|
||||
diCount++;
|
||||
}
|
||||
if (!map.containsKey(item.getShebeiType())) {
|
||||
|
||||
Reference in New Issue
Block a user