Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
dfccd350
Commit
dfccd350
authored
May 10, 2025
by
Roger Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
出差表单插件,修改参数不必填
parent
d9cfdfbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
BizPluginBusinessRestImpl.java
.../plugin_business/rest/impl/BizPluginBusinessRestImpl.java
+5
-3
No files found.
src/main/java/cn/com/poc/thirdparty/resource/demand/ai/plugin_business/rest/impl/BizPluginBusinessRestImpl.java
View file @
dfccd350
...
...
@@ -33,15 +33,17 @@ public class BizPluginBusinessRestImpl implements BizPluginBusinessRest {
@Override
public
void
submitTravelForm
(
BizPluginBusinessDto
bizPluginBusinessDto
)
throws
Exception
{
Assert
.
notBlank
(
bizPluginBusinessDto
.
getFormType
());
Assert
.
notBlank
(
bizPluginBusinessDto
.
getFormData
());
Assert
.
notNull
(
bizPluginBusinessDto
.
getFromDataDto
());
String
formData
=
cn
.
com
.
yict
.
framemax
.
core
.
utils
.
JSON
.
serialize
(
bizPluginBusinessDto
.
getFromDataDto
());
BizPluginBusinessEntity
entity
=
new
BizPluginBusinessEntity
();
entity
.
setFormNo
(
String
.
valueOf
(
new
Date
().
getTime
()));
entity
.
setFormData
(
cn
.
com
.
yict
.
framemax
.
core
.
utils
.
JSON
.
serialize
(
bizPluginBusinessDto
.
getFromDataDto
())
);
entity
.
setFormData
(
formData
);
entity
.
setFormType
(
bizPluginBusinessDto
.
getFormType
());
BizPluginBusinessEntity
save
=
service
.
save
(
entity
);
JSONObject
jsonObject
=
JSON
.
parseObject
(
bizPluginBusinessDto
.
getFormData
()
);
JSONObject
jsonObject
=
JSON
.
parseObject
(
formData
);
String
email
=
jsonObject
.
getString
(
"email"
);
if
(
StringUtils
.
isBlank
(
email
))
{
return
;
...
...
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