| | |
| | | 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 |
| | | */ |
| | |
| | | @Autowired |
| | | ISysAssembleRuleService ruleService; |
| | | |
| | | @Deprecated |
| | | @RequestMapping(value = "/add/{id}", method = RequestMethod.GET) |
| | | public Result add(@PathVariable String id, @RequestParam String ruleId) { |
| | | SysAssembleRule sysAssembleRule = new SysAssembleRule(); |
| | |
| | | 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); |