| | |
| | | import org.springblade.core.mp.support.Query; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.modules.member.service.IMemberService; |
| | | import org.springblade.modules.shareholder.service.IShareholderService; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.information.entity.Information; |
| | |
| | | public class InformationController extends BladeController { |
| | | |
| | | private final IInformationService informationService; |
| | | |
| | | |
| | | /** |
| | | * 详情 |
| | |
| | | @PostMapping("/remove") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(informationService.removeByIds(Func.toLongList(ids))); |
| | | public R remove(String creditcode) { |
| | | informationService.deleteIn(creditcode); |
| | | informationService.deleteSh(creditcode); |
| | | informationService.deleteMe(creditcode); |
| | | return R.success("删除成功"); |
| | | } |
| | | |
| | | |