|
@@ -27,6 +27,7 @@ import org.springblade.core.tool.api.R;
|
|
import org.springblade.core.tool.utils.Func;
|
|
import org.springblade.core.tool.utils.Func;
|
|
import org.springblade.meter.dto.MiddleMeterApplyDTO;
|
|
import org.springblade.meter.dto.MiddleMeterApplyDTO;
|
|
import org.springblade.meter.dto.WbsNodeDTO;
|
|
import org.springblade.meter.dto.WbsNodeDTO;
|
|
|
|
+import org.springblade.meter.entity.AttachmentForm;
|
|
import org.springblade.meter.vo.*;
|
|
import org.springblade.meter.vo.*;
|
|
import org.springframework.jdbc.core.JdbcTemplate;
|
|
import org.springframework.jdbc.core.JdbcTemplate;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -318,4 +319,15 @@ public class MiddleMeterApplyController extends BladeController {
|
|
String info = middleMeterApplyService.autoBatchMeter(projectId,contractId,PeriodId);
|
|
String info = middleMeterApplyService.autoBatchMeter(projectId,contractId,PeriodId);
|
|
return R.success("计量完成:"+info);
|
|
return R.success("计量完成:"+info);
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @GetMapping("/addGetWbsFiles")
|
|
|
|
+ @ApiOperationSupport(order = 18)
|
|
|
|
+ @ApiOperation(value = "新增时获取计量单元关联的质检节点已审批的资料", notes = "传入合同计量单元id")
|
|
|
|
+ @ApiImplicitParams(value = {
|
|
|
|
+ @ApiImplicitParam(name = "nodeId", value = "节点id", required = true),
|
|
|
|
+ })
|
|
|
|
+ public R<List<AttachmentForm>> addGetWbsFiles(Long nodeId) {
|
|
|
|
+ List<AttachmentForm> forms = middleMeterApplyService.addGetWbsFiles(nodeId);
|
|
|
|
+ return R.data(forms);
|
|
|
|
+ }
|
|
}
|
|
}
|