|
@@ -11,6 +11,7 @@ import com.diagbot.dto.ModuleInfoListDTO;
|
|
|
import com.diagbot.dto.RespDTO;
|
|
|
import com.diagbot.facade.ModuleInfoFacade;
|
|
|
import com.diagbot.vo.AddModuleInfoVO;
|
|
|
+import com.diagbot.vo.DeleteModuleVO;
|
|
|
import com.diagbot.vo.GetModuleDetailInfoVO;
|
|
|
import com.diagbot.vo.GetModuleInfoOneVO;
|
|
|
import com.diagbot.vo.GetModuleInfoVO;
|
|
@@ -81,8 +82,8 @@ public class ModuleInfoController {
|
|
|
@PostMapping("/delete")
|
|
|
@SysLogger("delete")
|
|
|
@Transactional
|
|
|
- public RespDTO<Boolean> delete(String ids) {
|
|
|
- moduleInfoFacade.deleteByIdsFac(ids);
|
|
|
+ public RespDTO<Boolean> delete(@RequestBody DeleteModuleVO deleteModuleVO) {
|
|
|
+ moduleInfoFacade.deleteByIdsFac(deleteModuleVO.getIds());
|
|
|
return RespDTO.onSuc(true);
|
|
|
}
|
|
|
|