仲裁bug修复
This commit is contained in:
+8
-8
@@ -132,9 +132,9 @@ public class VideoController extends BaseController {
|
||||
*/
|
||||
@Anonymous
|
||||
@GetMapping("secretaryRoleByUserId")
|
||||
public AjaxResult secretaryRoleByUserId( @RequestParam(value = "userId",required = true) Long userId) {
|
||||
public AjaxResult secretaryRoleByUserId( @RequestParam(value = "userId",required = true) Long userId,@RequestParam(value = "caseId",required = true) Long caseId) {
|
||||
|
||||
return videoService.secretaryRoleByUserId(userId);
|
||||
return videoService.secretaryRoleByUserId(userId,caseId);
|
||||
}
|
||||
/**
|
||||
* 根据html字符串转pdf并和案件关联
|
||||
@@ -235,16 +235,16 @@ public class VideoController extends BaseController {
|
||||
}
|
||||
}else {
|
||||
// 如果是调解书并且是pdf,则删除之前的在新增
|
||||
// if(isMediaBook != null && isMediaBook == 1 ){
|
||||
if(annexType!=null && annexType.equals(3) ){
|
||||
// if(StrUtil.isNotEmpty(suffix)&&!suffix.equals("pdf")){
|
||||
// return AjaxResult.error("请上传pdf格式文件");
|
||||
// }
|
||||
// annexType=AnnexTypeEnum.MEDIATE_BOOK_PDF.getCode();
|
||||
// // 先删除之前的附件
|
||||
// if(caseId!=null) {
|
||||
// msCaseAttachMapper.deleteCaseAttachByCasedIdAndType(caseId, annexType);
|
||||
// }
|
||||
// }
|
||||
// 先删除之前的附件
|
||||
if(caseId!=null) {
|
||||
caseAttachMapper.deleteCaseAttachByCasedIdAndType(caseId, annexType);
|
||||
}
|
||||
}
|
||||
Long annexId = saveCaseAttach(annexType, fileName, file.getOriginalFilename(), caseId);
|
||||
|
||||
AjaxResult ajax = AjaxResult.success();
|
||||
|
||||
Reference in New Issue
Block a user