Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
50ae9fab
Commit
50ae9fab
authored
Mar 21, 2025
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加事项备注字段
parent
da023cff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
...a/com/mortals/xhx/module/matter/web/MatterController.java
+5
-3
No files found.
base-manager/src/main/java/com/mortals/xhx/module/matter/web/MatterController.java
View file @
50ae9fab
...
@@ -317,7 +317,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
...
@@ -317,7 +317,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
@GetMapping
(
value
=
"genMatterTxt"
)
@GetMapping
(
value
=
"genMatterTxt"
)
@UnAuth
@UnAuth
public
Rest
<
Object
>
genMatterTxt
(
@RequestParam
(
value
=
"areaCode"
,
defaultValue
=
""
)
String
areaCode
public
String
genMatterTxt
(
@RequestParam
(
value
=
"areaCode"
,
defaultValue
=
""
)
String
areaCode
,
@RequestParam
(
value
=
"genFilePath"
,
defaultValue
=
"/home/txt"
)
String
genFilePath
)
{
,
@RequestParam
(
value
=
"genFilePath"
,
defaultValue
=
"/home/txt"
)
String
genFilePath
)
{
Rest
<
Object
>
ret
=
new
Rest
<>();
Rest
<
Object
>
ret
=
new
Rest
<>();
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
...
@@ -345,7 +345,9 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
...
@@ -345,7 +345,9 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
cacheService
.
del
(
"genMatterTxt:"
+
areaCode
);
cacheService
.
del
(
"genMatterTxt:"
+
areaCode
);
}).
start
();
}).
start
();
//http://192.168.0.98:11071/home/txt/
//http://192.168.0.98:11071/home/txt/
model
.
put
(
MESSAGE_INFO
,
"异步生成文件中,请稍后查看文件!,文件访问地址:http://192.168.0.98:11071"
+
genFilePath
+
"/"
);
// model.put(MESSAGE_INFO, "异步生成文件中,请稍后查看文件!,文件访问地址:http://192.168.0.98:11071" + genFilePath+"/");
return
"异步生成文件中,请稍后查看文件!,文件访问地址: http://192.168.0.98:11071"
+
genFilePath
+
"/"
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
code
=
VALUE_RESULT_FAILURE
;
code
=
VALUE_RESULT_FAILURE
;
...
@@ -354,7 +356,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
...
@@ -354,7 +356,7 @@ public class MatterController extends BaseCRUDJsonBodyMappingController<MatterSe
ret
.
setCode
(
code
);
ret
.
setCode
(
code
);
ret
.
setData
(
model
);
ret
.
setData
(
model
);
ret
.
setMsg
(
model
.
get
(
MESSAGE_INFO
)
==
null
?
""
:
model
.
remove
(
MESSAGE_INFO
).
toString
());
ret
.
setMsg
(
model
.
get
(
MESSAGE_INFO
)
==
null
?
""
:
model
.
remove
(
MESSAGE_INFO
).
toString
());
return
ret
;
return
ret
.
toString
()
;
}
}
}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment