@ -61,7 +61,7 @@ public class AdminAppraiseServiceImpl implements AdminAppraiseService {
@Override
public IndexData getIndexData(String periodId) {
final int SLICE_SIZE = 100;
final int SLICE_SIZE = 10;
if (StringUtils.isBlank(periodId)) {
throw new ServiceException(ErrorCode.PARAMS_ERROR.getCode(), "不能为空");
}
@ -175,6 +175,9 @@ public class TestWithoutSpring {
@Test
public void testDate() {
System.out.println(Instant.now().toEpochMilli());
Integer a = 1000;
int b = 1000;
// 包装类碰到基本类型,会自动拆箱,这时候用 == 没事
System.out.println(a == b);