| | |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.BeanUtil; |
| | | import org.springframework.cglib.beans.BeanMap; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.util.*; |
| | |
| | | public R<List<RevisionRuleVO>> listBtmTypeByOidCollection(Collection<String> oidCollection) { |
| | | return R.data(service.listRevisionRuleByOidCollection(oidCollection)); |
| | | } |
| | | |
| | | /** |
| | | * 根据id获取版本规则 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public R<RevisionRuleVO> selectById(@RequestParam("id") String id) { |
| | | return R.data(service.getReversionRuleById(id)); |
| | | } |
| | | |
| | | } |