上传下载调解书
This commit is contained in:
+4
@@ -36,6 +36,8 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import static com.google.common.io.Files.getFileExtension;
|
||||
|
||||
@Component
|
||||
public class FixSelectFlowDetailUtils {
|
||||
@Autowired
|
||||
@@ -121,6 +123,7 @@ public class FixSelectFlowDetailUtils {
|
||||
caseAttach.setAnnexType(AnnexTypeEnum.SEAL_PICTURE.getCode()); //10代表印章图片
|
||||
caseAttach.setAnnexPath(savePath);
|
||||
caseAttach.setAnnexName(saveName);
|
||||
caseAttach.setSuffix(getFileExtension(caseAttach.getAnnexPath()));
|
||||
int i1 = caseAttachMapper.save(caseAttach);
|
||||
if (i1 > 0) {
|
||||
//将印章信息保存到公章管理表里
|
||||
@@ -217,6 +220,7 @@ public class FixSelectFlowDetailUtils {
|
||||
caseAttach.setAnnexPath(savePath);
|
||||
caseAttach.setAnnexName(saveName);
|
||||
int i1 = caseAttachMapper.save(caseAttach);
|
||||
caseAttach.setSuffix(getFileExtension(caseAttach.getAnnexPath()));
|
||||
if (i1 > 0) {
|
||||
//将附件id保存到公章管理表里
|
||||
Long annexId1 = caseAttach.getAnnexId();
|
||||
|
||||
Reference in New Issue
Block a user