| | |
| | | @RequestMapping("/btmTypeController") |
| | | @VciBusinessLog(modelName="业务类型") |
| | | @RestController |
| | | @VciUnCheckRight |
| | | public class WebBtmTypeController { |
| | | |
| | | /** |
| | |
| | | * btmTypeDTO 链接类型修改的对象 |
| | | * @return 保存结果 |
| | | */ |
| | | @PostMapping("/updateBtmType") |
| | | @PutMapping("/updateBtmType") |
| | | public BaseResult updateBtmType(@RequestBody OsBtmTypeDTO btmTypeDTO){ |
| | | try { |
| | | return btmService.updateBtmType(btmTypeDTO) ? BaseResult.success("业务类型修改成功!"):BaseResult.fail("业务类型修改失败!"); |
| | |
| | | OsBtmTypeAttributeVO attributeVO = new OsBtmTypeAttributeVO(); |
| | | BeanUtil.convert(attr,attributeVO); |
| | | attributeVO.setAttributeLength(attr.getAttrLength()); |
| | | attributeVO.setAttrDataType(attr.getAttributeDataType()); |
| | | attributeVO.setAttributeDataType(attr.getAttributeDataType()); |
| | | attributeVO.setReferBtmTypeId(attr.getBtmTypeId()); |
| | | attributeVO.setReferBtmTypeName(attr.getBtmTypeName()); |
| | | finalBoAttrs.add(attributeVO); |