Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
a7714823
Commit
a7714823
authored
Jan 19, 2024
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
逻辑调整
parent
9990472a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
73 additions
and
19 deletions
+73
-19
BizTypeEnum.java
.../yeejoin/amos/boot/module/jyjc/api/enums/BizTypeEnum.java
+1
-1
JyjcOpeningApplicationController.java
...jyjc/biz/controller/JyjcOpeningApplicationController.java
+8
-3
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+63
-14
bizTypeInfo.json
...-module-jyjc-biz/src/main/resources/json/bizTypeInfo.json
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/enums/BizTypeEnum.java
View file @
a7714823
...
@@ -57,7 +57,7 @@ public enum BizTypeEnum {
...
@@ -57,7 +57,7 @@ public enum BizTypeEnum {
public
static
String
getNameByNum
(
String
num
)
{
public
static
String
getNameByNum
(
String
num
)
{
for
(
BizTypeEnum
c
:
BizTypeEnum
.
values
())
{
for
(
BizTypeEnum
c
:
BizTypeEnum
.
values
())
{
if
(
c
.
get
Code
().
equals
(
num
)){
if
(
c
.
get
Num
().
equals
(
num
)){
return
c
.
getName
();
return
c
.
getName
();
}
}
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcOpeningApplicationController.java
View file @
a7714823
...
@@ -80,9 +80,13 @@ public class JyjcOpeningApplicationController extends BaseController {
...
@@ -80,9 +80,13 @@ public class JyjcOpeningApplicationController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/submit"
)
@PutMapping
(
value
=
"/submit"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"保存并提交"
,
notes
=
"保存并提交"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"保存并提交"
,
notes
=
"保存并提交"
)
public
ResponseModel
<
JyjcOpeningApplicationModel
>
updateBySequenceNbrAndStartFlow
(
@RequestBody
JSONObject
jsonObject
,
@RequestParam
(
value
=
"sequenceNbr"
,
required
=
false
)
Long
sequenceNbr
)
{
public
ResponseModel
<
List
<
JyjcOpeningApplicationModel
>
>
updateBySequenceNbrAndStartFlow
(
@RequestBody
JSONObject
jsonObject
,
@RequestParam
(
value
=
"sequenceNbr"
,
required
=
false
)
Long
sequenceNbr
)
{
JyjcOpeningApplicationModel
model
=
new
JyjcOpeningApplicationModel
();
JyjcOpeningApplicationModel
model
=
new
JyjcOpeningApplicationModel
();
BeanUtil
.
copyProperties
(
jsonObject
.
get
(
"applyInfo"
),
model
);
if
(
jsonObject
.
containsKey
(
"applyInfo"
))
{
BeanUtil
.
copyProperties
(
jsonObject
.
get
(
"applyInfo"
),
model
);
}
else
{
BeanUtil
.
copyProperties
(
jsonObject
,
model
);
}
model
.
setSequenceNbr
(
sequenceNbr
);
model
.
setSequenceNbr
(
sequenceNbr
);
if
(
sequenceNbr
!=
null
)
{
if
(
sequenceNbr
!=
null
)
{
JyjcOpeningApplicationModel
jyjcOpeningApplicationModel
=
jyjcOpeningApplicationServiceImpl
.
queryDetail
(
sequenceNbr
);
JyjcOpeningApplicationModel
jyjcOpeningApplicationModel
=
jyjcOpeningApplicationServiceImpl
.
queryDetail
(
sequenceNbr
);
...
@@ -90,7 +94,8 @@ public class JyjcOpeningApplicationController extends BaseController {
...
@@ -90,7 +94,8 @@ public class JyjcOpeningApplicationController extends BaseController {
throw
new
BadRequest
(
"企业资质信息和检验人员信息为空,无法提交!"
);
throw
new
BadRequest
(
"企业资质信息和检验人员信息为空,无法提交!"
);
}
}
}
}
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
saveOrUpdateModel
(
model
,
true
));
JyjcOpeningApplicationModel
data
=
jyjcOpeningApplicationServiceImpl
.
saveOrUpdateModel
(
model
,
true
);
return
ResponseHelper
.
buildResponse
(
Collections
.
singletonList
(
data
));
}
}
@Deprecated
@Deprecated
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
a7714823
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/json/bizTypeInfo.json
View file @
a7714823
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
},
{
},
{
"type"
:
"114"
,
"type"
:
"114"
,
"pageType"
:
"look"
,
"pageType"
:
"look"
,
"url"
:
"/mixuap?appId=1742358052905971713&id=1735201757841092609&roleIds={roleIds}&userId={userId}&pageType=
edit
"
"url"
:
"/mixuap?appId=1742358052905971713&id=1735201757841092609&roleIds={roleIds}&userId={userId}&pageType=
look
"
},
{
},
{
"type"
:
"114"
,
"type"
:
"114"
,
"pageType"
:
"edit"
,
"pageType"
:
"edit"
,
...
...
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