songhuangfeng123
2022-09-20 9f122a41255d18f04a82d8be3b038a95c2c18d95
goal-manage/goal-manage-service/src/main/java/com/gkhy/safePlatform/targetDuty/controller/TargetDivideDetailController.java
@@ -49,9 +49,6 @@
     */
    @PostMapping(value = "/addOrUpdate")
    public ResultVO update(@RequestBody TargetDivideDetailSaveOrUpdate infoDto) {
        if(infoDto.getTargetId() == null){
            return new ResultVO<>(ResultCodes.CLIENT_PARAM_ILLEGAL,"缺少targetId");
        }
        targetDivideDetailService.addOrUpdate(infoDto);
        return new ResultVO<>(ResultCodes.OK);
    }