| | |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import com.smartor.service.IPatTaskRelevanceService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | import com.ruoyi.task.domain.PatTaskRelevance; |
| | | |
| | | /** |
| | | * 患者与宣教任务关联Controller |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:edit')") |
| | | @Log(title = "患者与宣教任务关联", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatTaskRelevance PatTaskRelevance) |
| | | { |
| | | return toAjax(patTaskRelevanceService.updatePatTaskRelevance(PatTaskRelevance)); |
| | |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('system:relevance:remove')") |
| | | @Log(title = "患者与宣教任务关联", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | @GetMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patTaskRelevanceService.deletePatTaskRelevanceByIds(ids)); |