diff --git a/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java b/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java index e3c29ccf..8a9797be 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/customcompare/controller/LawsCustomCompareInfoController.java @@ -9,6 +9,7 @@ import com.jero.common.util.MessageUtils; import com.jero.modules.laws.common.constant.ResultCommon; import com.jero.modules.laws.customcompare.entity.LawsCustomCompareCell; import com.jero.modules.laws.customcompare.entity.LawsCustomCompareInfo; +import com.jero.modules.laws.customcompare.entity.LawsCustomCompareInventory; import com.jero.modules.laws.customcompare.service.ILawsCustomCompareCellService; import com.jero.modules.laws.customcompare.service.ILawsCustomCompareInfoService; import com.jero.modules.laws.customcompare.service.ILawsCustomCompareInventoryService; @@ -171,6 +172,18 @@ public class LawsCustomCompareInfoController { return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); } + /** + * 自定义对比-单元格对比分析结果保存 + * @return + */ + @AutoLog(value = "自定义对比-单元格对比分析结果保存") + @ApiOperation(value="自定义对比-单元格对比分析结果保存", notes="自定义对比-单元格对比分析结果保存") + @PostMapping(value = "/saveCellCompareResult") + public Result> saveCellCompareResult(@RequestBody LawsCustomCompareInventory lawsCustomCompareCell) { + lawsCustomCompareInventoryService.saveOrUpdate(lawsCustomCompareCell); + return Result.OK(MessageUtils.getMessage(ResultCommon.OK)); + } + /** * 自定义对比-通过id查询 * @return