Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rop-merchant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ee446a18
authored
Aug 03, 2021
by
zhouhb
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]代码提交
1 parent
75f13e9f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
9 deletions
src/main/java/cn/com/glsx/merchants/controller/StaffController.java
src/main/java/cn/com/glsx/merchants/request/staff/StaffUpdateValRequest.java
src/main/java/cn/com/glsx/merchants/controller/StaffController.java
View file @
ee446a1
...
@@ -2,23 +2,15 @@ package cn.com.glsx.merchants.controller;
...
@@ -2,23 +2,15 @@ package cn.com.glsx.merchants.controller;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.framework.rop.response.RopResponse
;
import
cn.com.glsx.merchants.request.DataRequest
;
import
cn.com.glsx.merchants.request.merchant.MerchantSaveRequest
;
import
cn.com.glsx.merchants.request.merchant.MerchantSearchResquest
;
import
cn.com.glsx.merchants.request.staff.*
;
import
cn.com.glsx.merchants.request.staff.*
;
import
cn.com.glsx.merchants.response.MerchantRopResponse
;
import
cn.com.glsx.merchants.response.StaffResponse
;
import
cn.com.glsx.merchants.response.StaffResponse
;
import
cn.com.glsx.merchants.service.StaffService
;
import
cn.com.glsx.merchants.service.StaffService
;
import
cn.com.glsx.merchants.util.Pagination
;
import
cn.com.glsx.merchants.util.Pagination
;
import
com.alibaba.fastjson.JSONObject
;
import
com.rop.AbstractRopRequest
;
import
com.rop.annotation.*
;
import
com.rop.annotation.*
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
java.util.List
;
import
java.util.List
;
...
@@ -42,7 +34,7 @@ public class StaffController {
...
@@ -42,7 +34,7 @@ public class StaffController {
* @param staffSaveRequest 入参
* @param staffSaveRequest 入参
* @return
* @return
*/
*/
@ServiceMethod
(
method
=
"cn.com.glsx.merchants.staff.saveStaff"
,
needInSession
=
NeedInSessionType
.
NO
#
)
@ServiceMethod
(
method
=
"cn.com.glsx.merchants.staff.saveStaff"
,
needInSession
=
NeedInSessionType
.
NO
)
@ApiOperation
(
"保存员工"
)
@ApiOperation
(
"保存员工"
)
public
RopResponse
<
Boolean
>
saveStaff
(
StaffSaveRequest
staffSaveRequest
)
{
public
RopResponse
<
Boolean
>
saveStaff
(
StaffSaveRequest
staffSaveRequest
)
{
try
{
try
{
...
...
src/main/java/cn/com/glsx/merchants/request/staff/StaffUpdateValRequest.java
0 → 100644
View file @
ee446a1
package
cn
.
com
.
glsx
.
merchants
.
request
.
staff
;
import
cn.com.glsx.merchants.request.DefaultRequest
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* @author zhouhaibao
* @version 1.0
* @description: TODO
* @date 2021/7/22 11:14
*/
@Data
public
class
StaffUpdateValRequest
extends
DefaultRequest
implements
Serializable
{
@ApiModelProperty
(
notes
=
"员工id"
,
required
=
true
)
private
Integer
id
;
@ApiModelProperty
(
notes
=
"状态"
,
required
=
true
)
private
Integer
effectiveTime
;
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment