feat(flow): 修改反馈下发功能支持传入部门参数

- 更新 ITsComplaintAcceptService 接口方法 feedbackDispatch,增加 deptIds 参数
- 修改 TsComplaintAcceptController 控制器,调整接口路径并接收部门ID列表参数
- 实现 TsComplaintAcceptServiceImpl 服务类,移除字典查询逻辑改为使用传入的部门ID列表
- 更新反馈下发业务逻辑,直接使用传入的部门ID创建执行反馈记录
- 移除对 flow_coil_objection 字典类型的依赖
- 调整参数验证逻辑,确保接受ID和部门ID列表均不为空
This commit is contained in:
2026-06-22 10:41:59 +08:00
parent 7ec3f49c73
commit 4aba91abd9
3 changed files with 12 additions and 16 deletions

View File

@@ -115,9 +115,9 @@ public class TsComplaintAcceptController extends BaseController {
* @param acceptId 受理单ID
*/
@Log(title = "反馈下发", businessType = BusinessType.UPDATE)
@PostMapping("/feedbackDispatch/{acceptId}")
public R<Void> feedbackDispatch(@NotNull(message = "主键不能为空")
@PathVariable Long acceptId) {
return toAjax(iTsComplaintAcceptService.feedbackDispatch(acceptId));
@PostMapping("/feedbackDispatch")
public R<Void> feedbackDispatch(@RequestParam Long acceptId,
@RequestParam List<Long> deptIds) {
return toAjax(iTsComplaintAcceptService.feedbackDispatch(acceptId, deptIds));
}
}