Commit a9a61956 by 高晓磊

强转报错

parent f9b9e022
......@@ -108,7 +108,7 @@ public class SandMiningAreaDaoImpl extends AbstractBaseDao implements SandMining
SandMiningAreaTypeEnum.CAN_MINE_SAND.getValue(),
SandMiningAreaTypeEnum.PRESERVE.getValue()};
if (isInclude) {
status1 = (Integer[]) Arrays.stream(SandMiningAreaTypeEnum.values()).map(SandMiningAreaTypeEnum::getValue).toArray();
status1 = Arrays.stream(SandMiningAreaTypeEnum.values()).map(SandMiningAreaTypeEnum::getValue).toArray(Integer[]::new);
}
return listByRegionalCompanyIdsAndSandMiningAreaTypes(regionalCompanyIds, status1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment