|
@@ -4,8 +4,12 @@ import java.util.List;
|
|
|
import java.util.Arrays;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
+import com.dtflys.forest.annotation.GetRequest;
|
|
|
import com.ruoyi.zdsz.domain.bo.ZEngineeringNodeBo;
|
|
|
+import com.ruoyi.zdsz.service.IZEngineeringNodeService;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
+
|
|
|
+import javax.annotation.Resource;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import javax.validation.constraints.*;
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
@@ -39,6 +43,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
public class ZEngineeringReviewController extends BaseController {
|
|
|
|
|
|
private final IZEngineeringReviewService iZEngineeringReviewService;
|
|
|
+ @Resource
|
|
|
+ private IZEngineeringNodeService izEngineeringNodeService;
|
|
|
|
|
|
/**
|
|
|
* 查询工程审核列表
|
|
@@ -105,4 +111,16 @@ public class ZEngineeringReviewController extends BaseController {
|
|
|
@PathVariable String[] ids) {
|
|
|
return toAjax(iZEngineeringReviewService.deleteWithValidByIds(Arrays.asList(ids), true));
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 删除工程审核
|
|
|
+ *
|
|
|
+ * @param ids 主键串
|
|
|
+ */
|
|
|
+ //@SaCheckPermission("zdsz:engineeringReview:remove")
|
|
|
+ @Log(title = "工程审核", businessType = BusinessType.DELETE)
|
|
|
+ @GetMapping("/ZEngineeringReview")
|
|
|
+ public R ZEngineeringReview(ZEngineeringNodeBo bo) {
|
|
|
+
|
|
|
+ return R.ok(izEngineeringNodeService.ZEngineeringReview(bo));
|
|
|
+ }
|
|
|
}
|