|
@@ -1370,7 +1370,11 @@ public class TaskController extends BladeController {
|
|
|
//获取报表id
|
|
|
Long reportId = this.getReportId(task);
|
|
|
vo.setReportId(reportId);
|
|
|
- vo.setType(task.getMeterTaskType() == 1 ? 0 : 1);
|
|
|
+ if (task.getMeterTaskType() == 1){
|
|
|
+ vo.setType(0);
|
|
|
+ }else {
|
|
|
+ vo.setType(task.getMeterTaskType() == 1 ? 1 : 2);
|
|
|
+ }
|
|
|
if (reportAllMoney == null || reportAllMoney.compareTo(BigDecimal.ZERO) == 0){
|
|
|
throw new ServiceException("上报金额不能为0");
|
|
|
}
|