|
|
@@ -104,4 +104,11 @@ public class KwtLogisticsOrderUnitRepository extends ServiceImpl<KwtLogisticsOrd
|
|
|
.eq(KwtLogisticsOrderUnit::getEntId, entId)
|
|
|
.eq(KwtLogisticsOrderUnit::getUnitType,unitType));
|
|
|
}
|
|
|
+
|
|
|
+ public List<KwtLogisticsOrderUnit> queryByEntIdsAndUnitType(List<Long> entIds, int unitType) {
|
|
|
+ return list(Wrappers.<KwtLogisticsOrderUnit>lambdaQuery()
|
|
|
+ .eq(KwtLogisticsOrderUnit::getDelFlag,0)
|
|
|
+ .in(KwtLogisticsOrderUnit::getEntId, entIds)
|
|
|
+ .eq(KwtLogisticsOrderUnit::getUnitType,unitType));
|
|
|
+ }
|
|
|
}
|