kimi
2020-05-27 2893347bf72477c4d108e8589a0f61e3e97a990c
src/main/java/com/highdatas/mdm/controller/SysAssembleRuleController.java
@@ -1,25 +1,21 @@
package com.highdatas.mdm.controller;
import com.highdatas.mdm.entity.SysAssembleDbTable;
import com.highdatas.mdm.entity.SysAssembleRule;
import com.highdatas.mdm.pojo.CodeMsg;
import com.highdatas.mdm.pojo.Result;
import com.highdatas.mdm.service.ISysAssembleDbService;
import com.highdatas.mdm.service.ISysAssembleRuleService;
import com.highdatas.mdm.util.DbUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @description 已废弃
 * @author kimi
 * @since 2020-02-21
 */
@@ -29,6 +25,7 @@
    @Autowired
    ISysAssembleRuleService ruleService;
    @Deprecated
    @RequestMapping(value = "/add/{id}", method = RequestMethod.GET)
    public Result add(@PathVariable String id, @RequestParam String ruleId) {
        SysAssembleRule sysAssembleRule = new SysAssembleRule();
@@ -39,6 +36,8 @@
            return Result.error(CodeMsg.INSERT_ERROR);
        }
    }
    @Deprecated
    @RequestMapping(value = "/update/{id}", method = RequestMethod.GET)
    public Result update(@PathVariable String id, @RequestParam String ruleId) {
        SysAssembleRule sysAssembleRule = ruleService.selectById(id);