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
22e3f4f7
Commit
22e3f4f7
authored
Jan 09, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监管发起相关修改
parent
7c9ffaf7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
22 deletions
+49
-22
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+23
-4
ICommonService.java
...ejoin/amos/boot/module/jg/biz/service/ICommonService.java
+3
-0
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+0
-0
superviseBusinessCategory.json
...iz/src/main/resources/json/superviseBusinessCategory.json
+2
-2
ApplicationFormTypeEnum.java
...os/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
+20
-15
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/CommonController.java
View file @
22e3f4f7
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jg.api.dto.JgInstallationNoticeDto
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.ICommonService
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory
;
import
com.yeejoin.amos.boot.module.ymt.api.enums.FlowStatusEnum
;
...
...
@@ -10,10 +13,7 @@ import io.swagger.annotations.ApiOperation;
import
javafx.scene.chart.ValueAxis
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
...
...
@@ -181,5 +181,24 @@ public class CommonController extends BaseController {
}
@Autowired
private
IJgInstallationNoticeService
iJgInstallationNoticeService
;
/**
* 业务发起公共接口
* /jg/jg-installation-notice/save
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveOrSubmit"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"业务发起公共接口"
,
notes
=
"业务发起公共接口"
)
public
ResponseModel
<
Object
>
save
(
@RequestParam
(
value
=
"submitType"
,
required
=
false
)
String
submitType
,
@RequestBody
Map
<
String
,
Object
>
map
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
commonService
.
invokeBusinessProcess
(
submitType
,
map
,
reginParams
);
return
ResponseHelper
.
buildResponse
(
""
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/ICommonService.java
View file @
22e3f4f7
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
service
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.EquipmentCategory
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
...
...
@@ -42,4 +43,6 @@ public interface ICommonService {
List
<
LinkedHashMap
>
creatApproveTree
();
List
<
Map
<
String
,
Object
>>
superviseBusinessCategory
(
String
type
);
void
invokeBusinessProcess
(
String
submitType
,
Map
<
String
,
Object
>
obj
,
ReginParams
reginParams
);
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/CommonServiceImpl.java
View file @
22e3f4f7
This diff is collapsed.
Click to expand it.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/json/superviseBusinessCategory.json
View file @
22e3f4f7
...
...
@@ -2,7 +2,7 @@
"SGGZ"
:
[
{
"name"
:
"安装告知"
,
"code"
:
"GZ
-
AZ"
"code"
:
"GZ
_
AZ"
},
{
"name"
:
"改造告知"
,
...
...
@@ -28,7 +28,7 @@
},
{
"name"
:
"移装变更登记"
,
"code"
:
"DJ_
BG
"
"code"
:
"DJ_
YZ
"
},
{
"name"
:
"单位变更登记"
,
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/enums/ApplicationFormTypeEnum.java
View file @
22e3f4f7
...
...
@@ -14,25 +14,30 @@ public enum ApplicationFormTypeEnum {
/**
* 申请单枚举
*/
AZGZ
(
"AZGZ"
),
//安装告知
WBBA
(
"WBBA"
),
//维保备案
SYDJ
(
"SYDJ"
),
//使用登记
SBYJ
(
"SBYJ"
),
//设备移交
GZGZ
(
"GZGZ"
),
//改造告知
WXGZ
(
"WXGZ"
),
//维修告知
YZGZ
(
"YZGZ"
),
//移装告知
GZBG
(
"GZBG"
),
//改造变更登记
YZBG
(
"YZBG"
),
//移装变更登记
DWBG
(
"DWBG"
),
//单位变更登记
JY
(
"JY"
),
JG
(
"JG"
),
// 检验结果
SBZX
(
"SBZX"
),
//电梯(设备)注销
GMBG
(
"GMBG"
),
//更名变更
TYQY
(
"TYQY"
)
//停用启用
AZGZ
(
"AZGZ"
,
"GZ_AZ"
),
//安装告知
WBBA
(
"WBBA"
,
"WB_BA"
),
//维保备案
SYDJ
(
"SYDJ"
,
"DJ_SY"
),
//使用登记
SBYJ
(
"SBYJ"
,
"SB_YJ"
),
//设备移交
GZGZ
(
"GZGZ"
,
"GZ_GZ"
),
//改造告知
WXGZ
(
"WXGZ"
,
"GZ_WX"
),
//维修告知
YZGZ
(
"YZGZ"
,
"GZ_YZ"
),
//移装告知
GZBG
(
"GZBG"
,
"DJ_GZ"
),
//改造变更登记
YZBG
(
"YZBG"
,
"DJ_YZ"
),
//移装变更登记
DWBG
(
"DWBG"
,
"DJ_DW"
),
//单位变更登记
JY
(
"JY"
,
""
),
JG
(
"JG"
,
""
),
// 检验结果
SBZX
(
"SBZX"
,
"BF_YZ"
),
//电梯(设备)注销
GMBG
(
"GMBG"
,
"DJ_GM"
),
//更名变更
TYQY
(
"TYQY"
,
"SB_QY"
)
//停用启用
;
/**
* 编号
*/
private
final
String
code
;
/**
* 业务编号
*/
private
final
String
businessCode
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
22e3f4f7
...
...
@@ -393,7 +393,7 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
if
(
ValidationUtil
.
isEmpty
(
type
))
{
mapList
=
resourceJson
.
get
(
EquipmentClassifityEnum
.
BDLS
.
getCode
());
}
else
{
if
(
"
ZXBF"
.
equals
(
type
)
||
"TYQY
"
.
equals
(
type
))
{
if
(
"
QTBF
"
.
equals
(
type
))
{
type
=
"superviseBusiness"
;
}
else
{
type
=
EquipmentClassifityEnum
.
BDLS
.
getCode
();
...
...
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