|
@@ -976,7 +976,8 @@ public class PlanQuarterServiceImpl extends ServiceImpl<PlanQuarterMapper, PlanQ
|
|
|
instance.setTime(planQuarter.getPlanDemandSubTime());
|
|
|
try {
|
|
|
for (QuarterEnum val : QuarterEnum.values()) {
|
|
|
- if (val.getInfo().contains(instance.get(Calendar.MONTH) + "")) {
|
|
|
+ if (val.getInfo().contains((instance.get(Calendar.MONTH) + 1) + "")) {
|
|
|
+ System.err.println("MONTH" + (instance.get(Calendar.MONTH) + 1));
|
|
|
switch (val.getCode()) {
|
|
|
case "1":
|
|
|
thresholdTimeStart = dateFormat.parse(thresholdMap.get("第一季度开始时间"));
|