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
525980bc
Commit
525980bc
authored
Oct 13, 2022
by
dqq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
焊工添加接口
parent
cdc1aa10
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
13 deletions
+31
-13
OrgUsrController.java
...s/boot/module/common/biz/controller/OrgUsrController.java
+0
-12
WelderDto.java
...a/com/yeejoin/amos/boot/module/ugp/api/dto/WelderDto.java
+1
-1
WelderController.java
...amos/boot/module/ugp/biz/controller/WelderController.java
+30
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/OrgUsrController.java
View file @
525980bc
...
...
@@ -115,18 +115,6 @@ public class OrgUsrController extends BaseController {
return
ResponseHelper
.
buildResponse
(
iOrgUsrService
.
saveOrgUsr
(
OrgUsrVo
));
}
/**
* 新增焊工信息
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/saveWelder"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增焊工信息"
,
notes
=
"新增焊工信息"
)
public
ResponseModel
<
Object
>
saveWelder
(
@RequestParam
String
isWelder
,
@RequestBody
WelderDto
welderDto
)
{
return
ResponseHelper
.
buildResponse
(
null
);
}
/**
* 根据id删除
...
...
amos-boot-
module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common
/api/dto/WelderDto.java
→
amos-boot-
system-ugp/amos-boot-module-ugp-api/src/main/java/com/yeejoin/amos/boot/module/ugp
/api/dto/WelderDto.java
View file @
525980bc
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
api
.
dto
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ugp
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
io.swagger.annotations.ApiModel
;
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/WelderController.java
0 → 100644
View file @
525980bc
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ugp
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.ugp.api.dto.WelderDto
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
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
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
@RestController
@Api
(
tags
=
"焊工信息"
)
@RequestMapping
(
value
=
"/welder"
)
public
class
WelderController
extends
BaseController
{
/**
* 新增焊工信息
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/saveWelder"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增焊工信息"
,
notes
=
"新增焊工信息"
)
public
ResponseModel
<
Object
>
saveWelder
(
@RequestParam
String
isWelder
,
@RequestBody
WelderDto
welderDto
)
{
return
ResponseHelper
.
buildResponse
(
null
);
}
}
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