|
@@ -35,6 +35,7 @@ public class BusinessMonitorAssessService implements IBusinessMonitorAssessServi
|
|
|
String season = businessMonitorAssess.getSeason();
|
|
|
String code = businessMonitorAssess.getCode();
|
|
|
String enterpriseName = businessMonitorAssess.getEnterpriseName();
|
|
|
+ String typeNum = businessMonitorAssess.getTypeNum();
|
|
|
|
|
|
if (code != null && !code.isEmpty()) {
|
|
|
dataTotal.setCode(code);
|
|
@@ -43,6 +44,10 @@ public class BusinessMonitorAssessService implements IBusinessMonitorAssessServi
|
|
|
if (enterpriseName != null && !enterpriseName.isEmpty()) {
|
|
|
dataTotal.setEnterpriseName(enterpriseName);
|
|
|
}
|
|
|
+ if (typeNum != null && !typeNum.isEmpty()) {
|
|
|
+ dataTotal.setTypeNum(typeNum);
|
|
|
+ _dataTotal.setTypeNum(typeNum);
|
|
|
+ }
|
|
|
|
|
|
if (year !=null && !year.isEmpty()) {
|
|
|
|
|
@@ -61,10 +66,13 @@ public class BusinessMonitorAssessService implements IBusinessMonitorAssessServi
|
|
|
}
|
|
|
return list;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
Calendar now = Calendar.getInstance();
|
|
|
int currentMonth = now.get(Calendar.MONTH) + 1;
|
|
|
- int currentQuarter = (currentMonth - 1) / 3 + 1;
|
|
|
+ int currentQuarter = 4;
|
|
|
+ if (now.get(Calendar.YEAR ) == Integer.parseInt(year)) {
|
|
|
+ currentQuarter = (currentMonth - 1) / 3 + 1;
|
|
|
+ }
|
|
|
for (int i = currentQuarter; i > 0; i--) {
|
|
|
dataTotal.setYear(year);
|
|
|
dataTotal.setSeason(String.valueOf(i));
|
|
@@ -183,6 +191,7 @@ public class BusinessMonitorAssessService implements IBusinessMonitorAssessServi
|
|
|
assess.setSeason(currentData.getSeason());
|
|
|
assess.setEnterpriseName(enterpriseName);
|
|
|
assess.setCode(currentData.getCode());
|
|
|
+ assess.setTypeNum(currentData.getTypeNum());
|
|
|
|
|
|
if (currentQuarterTaxSum > previousQuarterTaxSum) {
|
|
|
|