qushaowei
2023-08-21 3dfc79a424b662fdb1f649b728aa811d70204c9b
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/controller/InspectionProjectController.java
@@ -85,8 +85,8 @@
   //@RequiresPermissions("org.jeecg.modules.demo:mom_eam_inspection_project:add")
   @PostMapping(value = "/add")
   public Result<String> add(@RequestBody InspectionProject inspectionProject) {
      String analysisMethod = inspectionProject.getAnalysisMethod();
      if("1".equals(analysisMethod)){
      String testValueType = inspectionProject.getTestValueType();
      if("1".equals(testValueType)){
         BigDecimal surfaceValue = inspectionProject.getSurfaceValue();
         BigDecimal upValue = inspectionProject.getUpValue();
         BigDecimal downValue = inspectionProject.getDownValue();
@@ -116,8 +116,8 @@
   //@RequiresPermissions("org.jeecg.modules.demo:mom_eam_inspection_project:edit")
   @RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
   public Result<String> edit(@RequestBody InspectionProject inspectionProject) {
      String analysisMethod = inspectionProject.getAnalysisMethod();
      if("1".equals(analysisMethod)){
      String testValueType = inspectionProject.getTestValueType();
      if("1".equals(testValueType)){
         BigDecimal surfaceValue = inspectionProject.getSurfaceValue();
         BigDecimal upValue = inspectionProject.getUpValue();
         BigDecimal downValue = inspectionProject.getDownValue();