|
|
@ -258,7 +258,7 @@ public class GenerateServiceImpl extends BaseServiceImpl<GenerateMapper, Generat |
|
|
|
while (end.compareTo(start) > 0){ |
|
|
|
while (end.compareTo(start) > 0){ |
|
|
|
entity.setId(null); |
|
|
|
entity.setId(null); |
|
|
|
entity.setFillDate(DateUtil.format(start,DateUtil.PATTERN_DATE)); |
|
|
|
entity.setFillDate(DateUtil.format(start,DateUtil.PATTERN_DATE)); |
|
|
|
entity.setGenerate((random.nextDouble() * 10000) + 50000); |
|
|
|
entity.setGenerate((random.nextDouble() * 2800) + 12000); |
|
|
|
this.save(entity); |
|
|
|
this.save(entity); |
|
|
|
calendar.add(Calendar.DAY_OF_MONTH,1); |
|
|
|
calendar.add(Calendar.DAY_OF_MONTH,1); |
|
|
|
start = calendar.getTime(); |
|
|
|
start = calendar.getTime(); |
|
|
|