Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
peizhen-java
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PeiZhen-Java
peizhen-java
Commits
40016aa2
Commit
40016aa2
authored
Sep 19, 2023
by
sdif
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
05961170
0bea2f7a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
30 deletions
+6
-30
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsCategoryController.java
+2
-6
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsController.java
+2
-6
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsTagController.java
+2
-6
pz-admin/src/main/java/com/pz/web/controller/system/StoreIncomeController.java
+0
-6
pz-admin/src/main/java/com/pz/web/controller/system/StoreOrderController.java
+0
-6
No files found.
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsCategoryController.java
View file @
40016aa2
...
@@ -49,7 +49,6 @@ public class StoreGoodsCategoryController extends BaseController {
...
@@ -49,7 +49,6 @@ public class StoreGoodsCategoryController extends BaseController {
/**
/**
* 查询商品分类列表
* 查询商品分类列表
*/
*/
@SaCheckPermission
(
"system:goodsCategory:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
StoreGoodsCategoryVo
>
list
(
StoreGoodsCategoryBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
StoreGoodsCategoryVo
>
list
(
StoreGoodsCategoryBo
bo
,
PageQuery
pageQuery
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
...
@@ -60,7 +59,6 @@ public class StoreGoodsCategoryController extends BaseController {
...
@@ -60,7 +59,6 @@ public class StoreGoodsCategoryController extends BaseController {
/**
/**
* 导出商品分类列表
* 导出商品分类列表
*/
*/
@SaCheckPermission
(
"system:goodsCategory:export"
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
StoreGoodsCategoryBo
bo
,
HttpServletResponse
response
)
{
public
void
export
(
StoreGoodsCategoryBo
bo
,
HttpServletResponse
response
)
{
...
@@ -73,7 +71,6 @@ public class StoreGoodsCategoryController extends BaseController {
...
@@ -73,7 +71,6 @@ public class StoreGoodsCategoryController extends BaseController {
*
*
* @param id 主键
* @param id 主键
*/
*/
@SaCheckPermission
(
"system:goodsCategory:query"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
<
StoreGoodsCategoryVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
public
R
<
StoreGoodsCategoryVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@PathVariable
Integer
id
)
{
@PathVariable
Integer
id
)
{
...
@@ -83,18 +80,18 @@ public class StoreGoodsCategoryController extends BaseController {
...
@@ -83,18 +80,18 @@ public class StoreGoodsCategoryController extends BaseController {
/**
/**
* 新增商品分类
* 新增商品分类
*/
*/
@SaCheckPermission
(
"system:goodsCategory:add"
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
INSERT
)
@RepeatSubmit
()
@RepeatSubmit
()
@PostMapping
()
@PostMapping
()
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsCategoryBo
bo
)
{
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsCategoryBo
bo
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
.
ifPresent
(
storeInfo
->
bo
.
setStoreId
(
storeInfo
.
getId
()));
return
toAjax
(
iStoreGoodsCategoryService
.
insertByBo
(
bo
));
return
toAjax
(
iStoreGoodsCategoryService
.
insertByBo
(
bo
));
}
}
/**
/**
* 修改商品分类
* 修改商品分类
*/
*/
@SaCheckPermission
(
"system:goodsCategory:edit"
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
UPDATE
)
@RepeatSubmit
()
@RepeatSubmit
()
@PutMapping
()
@PutMapping
()
...
@@ -107,7 +104,6 @@ public class StoreGoodsCategoryController extends BaseController {
...
@@ -107,7 +104,6 @@ public class StoreGoodsCategoryController extends BaseController {
*
*
* @param ids 主键串
* @param ids 主键串
*/
*/
@SaCheckPermission
(
"system:goodsCategory:remove"
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"商品分类"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
...
...
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsController.java
View file @
40016aa2
...
@@ -45,7 +45,6 @@ public class StoreGoodsController extends BaseController {
...
@@ -45,7 +45,6 @@ public class StoreGoodsController extends BaseController {
/**
/**
* 查询商品列表
* 查询商品列表
*/
*/
@SaCheckPermission
(
"system:goods:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
StoreGoodsVo
>
list
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
StoreGoodsVo
>
list
(
StoreGoodsBo
bo
,
PageQuery
pageQuery
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
...
@@ -56,7 +55,6 @@ public class StoreGoodsController extends BaseController {
...
@@ -56,7 +55,6 @@ public class StoreGoodsController extends BaseController {
/**
/**
* 导出商品列表
* 导出商品列表
*/
*/
@SaCheckPermission
(
"system:goods:export"
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
StoreGoodsBo
bo
,
HttpServletResponse
response
)
{
public
void
export
(
StoreGoodsBo
bo
,
HttpServletResponse
response
)
{
...
@@ -69,7 +67,6 @@ public class StoreGoodsController extends BaseController {
...
@@ -69,7 +67,6 @@ public class StoreGoodsController extends BaseController {
*
*
* @param id 主键
* @param id 主键
*/
*/
@SaCheckPermission
(
"system:goods:query"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
<
StoreGoodsVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
public
R
<
StoreGoodsVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@PathVariable
Integer
id
)
{
@PathVariable
Integer
id
)
{
...
@@ -79,18 +76,18 @@ public class StoreGoodsController extends BaseController {
...
@@ -79,18 +76,18 @@ public class StoreGoodsController extends BaseController {
/**
/**
* 新增商品
* 新增商品
*/
*/
@SaCheckPermission
(
"system:goods:add"
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
INSERT
)
@RepeatSubmit
()
@RepeatSubmit
()
@PostMapping
()
@PostMapping
()
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsBo
bo
)
{
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsBo
bo
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
.
ifPresent
(
storeInfo
->
bo
.
setStoreId
(
storeInfo
.
getId
()));
return
toAjax
(
iStoreGoodsService
.
insertByBo
(
bo
));
return
toAjax
(
iStoreGoodsService
.
insertByBo
(
bo
));
}
}
/**
/**
* 修改商品
* 修改商品
*/
*/
@SaCheckPermission
(
"system:goods:edit"
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
UPDATE
)
@RepeatSubmit
()
@RepeatSubmit
()
@PutMapping
()
@PutMapping
()
...
@@ -103,7 +100,6 @@ public class StoreGoodsController extends BaseController {
...
@@ -103,7 +100,6 @@ public class StoreGoodsController extends BaseController {
*
*
* @param ids 主键串
* @param ids 主键串
*/
*/
@SaCheckPermission
(
"system:goods:remove"
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"商品"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
...
...
pz-admin/src/main/java/com/pz/web/controller/system/StoreGoodsTagController.java
View file @
40016aa2
...
@@ -45,7 +45,6 @@ public class StoreGoodsTagController extends BaseController {
...
@@ -45,7 +45,6 @@ public class StoreGoodsTagController extends BaseController {
/**
/**
* 查询商品标签列表
* 查询商品标签列表
*/
*/
@SaCheckPermission
(
"system:goodsTag:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
StoreGoodsTagVo
>
list
(
StoreGoodsTagBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
StoreGoodsTagVo
>
list
(
StoreGoodsTagBo
bo
,
PageQuery
pageQuery
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
...
@@ -56,7 +55,6 @@ public class StoreGoodsTagController extends BaseController {
...
@@ -56,7 +55,6 @@ public class StoreGoodsTagController extends BaseController {
/**
/**
* 导出商品标签列表
* 导出商品标签列表
*/
*/
@SaCheckPermission
(
"system:goodsTag:export"
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
StoreGoodsTagBo
bo
,
HttpServletResponse
response
)
{
public
void
export
(
StoreGoodsTagBo
bo
,
HttpServletResponse
response
)
{
...
@@ -69,7 +67,6 @@ public class StoreGoodsTagController extends BaseController {
...
@@ -69,7 +67,6 @@ public class StoreGoodsTagController extends BaseController {
*
*
* @param id 主键
* @param id 主键
*/
*/
@SaCheckPermission
(
"system:goodsTag:query"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
<
StoreGoodsTagVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
public
R
<
StoreGoodsTagVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@PathVariable
Integer
id
)
{
@PathVariable
Integer
id
)
{
...
@@ -79,18 +76,18 @@ public class StoreGoodsTagController extends BaseController {
...
@@ -79,18 +76,18 @@ public class StoreGoodsTagController extends BaseController {
/**
/**
* 新增商品标签
* 新增商品标签
*/
*/
@SaCheckPermission
(
"system:goodsTag:add"
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
INSERT
)
@RepeatSubmit
()
@RepeatSubmit
()
@PostMapping
()
@PostMapping
()
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsTagBo
bo
)
{
public
R
<
Void
>
add
(
@Validated
(
AddGroup
.
class
)
@RequestBody
StoreGoodsTagBo
bo
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
.
ifPresent
(
storeInfo
->
bo
.
setStoreId
(
storeInfo
.
getId
()));
return
toAjax
(
iStoreGoodsTagService
.
insertByBo
(
bo
));
return
toAjax
(
iStoreGoodsTagService
.
insertByBo
(
bo
));
}
}
/**
/**
* 修改商品标签
* 修改商品标签
*/
*/
@SaCheckPermission
(
"system:goodsTag:edit"
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
UPDATE
)
@RepeatSubmit
()
@RepeatSubmit
()
@PutMapping
()
@PutMapping
()
...
@@ -103,7 +100,6 @@ public class StoreGoodsTagController extends BaseController {
...
@@ -103,7 +100,6 @@ public class StoreGoodsTagController extends BaseController {
*
*
* @param ids 主键串
* @param ids 主键串
*/
*/
@SaCheckPermission
(
"system:goodsTag:remove"
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"商品标签"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
...
...
pz-admin/src/main/java/com/pz/web/controller/system/StoreIncomeController.java
View file @
40016aa2
...
@@ -48,7 +48,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -48,7 +48,6 @@ public class StoreIncomeController extends BaseController {
/**
/**
* 查询商城提现审批列表
* 查询商城提现审批列表
*/
*/
@SaCheckPermission
(
"system:storeIncome:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
StoreIncomeVo
>
list
(
StoreIncomeBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
StoreIncomeVo
>
list
(
StoreIncomeBo
bo
,
PageQuery
pageQuery
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
...
@@ -59,7 +58,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -59,7 +58,6 @@ public class StoreIncomeController extends BaseController {
/**
/**
* 导出商城提现审批列表
* 导出商城提现审批列表
*/
*/
@SaCheckPermission
(
"system:storeIncome:export"
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
StoreIncomeBo
bo
,
HttpServletResponse
response
)
{
public
void
export
(
StoreIncomeBo
bo
,
HttpServletResponse
response
)
{
...
@@ -72,7 +70,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -72,7 +70,6 @@ public class StoreIncomeController extends BaseController {
*
*
* @param id 主键
* @param id 主键
*/
*/
@SaCheckPermission
(
"system:storeIncome:query"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
<
StoreIncomeVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
public
R
<
StoreIncomeVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@PathVariable
Integer
id
)
{
@PathVariable
Integer
id
)
{
...
@@ -82,7 +79,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -82,7 +79,6 @@ public class StoreIncomeController extends BaseController {
/**
/**
* 新增商城提现审批
* 新增商城提现审批
*/
*/
@SaCheckPermission
(
"system:storeIncome:add"
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
INSERT
)
@RepeatSubmit
()
@RepeatSubmit
()
@PostMapping
()
@PostMapping
()
...
@@ -95,7 +91,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -95,7 +91,6 @@ public class StoreIncomeController extends BaseController {
/**
/**
* 修改商城提现审批
* 修改商城提现审批
*/
*/
@SaCheckPermission
(
"system:storeIncome:edit"
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
UPDATE
)
@RepeatSubmit
()
@RepeatSubmit
()
@PutMapping
()
@PutMapping
()
...
@@ -108,7 +103,6 @@ public class StoreIncomeController extends BaseController {
...
@@ -108,7 +103,6 @@ public class StoreIncomeController extends BaseController {
*
*
* @param ids 主键串
* @param ids 主键串
*/
*/
@SaCheckPermission
(
"system:storeIncome:remove"
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"商城提现审批"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
...
...
pz-admin/src/main/java/com/pz/web/controller/system/StoreOrderController.java
View file @
40016aa2
...
@@ -49,7 +49,6 @@ public class StoreOrderController extends BaseController {
...
@@ -49,7 +49,6 @@ public class StoreOrderController extends BaseController {
/**
/**
* 查询商城订单列表
* 查询商城订单列表
*/
*/
@SaCheckPermission
(
"system:storeOrder:list"
)
@GetMapping
(
"/list"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
<
StoreAdminOrderVo
>
list
(
StoreOrderBo
bo
,
PageQuery
pageQuery
)
{
public
TableDataInfo
<
StoreAdminOrderVo
>
list
(
StoreOrderBo
bo
,
PageQuery
pageQuery
)
{
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
Optional
.
ofNullable
(
storeInfoMapper
.
selectOne
(
Wrappers
.<
StoreInfo
>
lambdaQuery
().
eq
(
StoreInfo:
:
getUid
,
getUserId
())))
...
@@ -60,7 +59,6 @@ public class StoreOrderController extends BaseController {
...
@@ -60,7 +59,6 @@ public class StoreOrderController extends BaseController {
/**
/**
* 导出商城订单列表
* 导出商城订单列表
*/
*/
@SaCheckPermission
(
"system:storeOrder:export"
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
EXPORT
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
EXPORT
)
@PostMapping
(
"/export"
)
@PostMapping
(
"/export"
)
public
void
export
(
StoreOrderBo
bo
,
HttpServletResponse
response
)
{
public
void
export
(
StoreOrderBo
bo
,
HttpServletResponse
response
)
{
...
@@ -73,7 +71,6 @@ public class StoreOrderController extends BaseController {
...
@@ -73,7 +71,6 @@ public class StoreOrderController extends BaseController {
*
*
* @param id 主键
* @param id 主键
*/
*/
@SaCheckPermission
(
"system:storeOrder:query"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
<
StoreOrderVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
public
R
<
StoreOrderVo
>
getInfo
(
@NotNull
(
message
=
"主键不能为空"
)
@PathVariable
Integer
id
)
{
@PathVariable
Integer
id
)
{
...
@@ -83,7 +80,6 @@ public class StoreOrderController extends BaseController {
...
@@ -83,7 +80,6 @@ public class StoreOrderController extends BaseController {
/**
/**
* 新增商城订单
* 新增商城订单
*/
*/
@SaCheckPermission
(
"system:storeOrder:add"
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
INSERT
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
INSERT
)
@RepeatSubmit
()
@RepeatSubmit
()
@PostMapping
()
@PostMapping
()
...
@@ -94,7 +90,6 @@ public class StoreOrderController extends BaseController {
...
@@ -94,7 +90,6 @@ public class StoreOrderController extends BaseController {
/**
/**
* 修改商城订单
* 修改商城订单
*/
*/
@SaCheckPermission
(
"system:storeOrder:edit"
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
UPDATE
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
UPDATE
)
@RepeatSubmit
()
@RepeatSubmit
()
@PutMapping
()
@PutMapping
()
...
@@ -107,7 +102,6 @@ public class StoreOrderController extends BaseController {
...
@@ -107,7 +102,6 @@ public class StoreOrderController extends BaseController {
*
*
* @param ids 主键串
* @param ids 主键串
*/
*/
@SaCheckPermission
(
"system:storeOrder:remove"
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
DELETE
)
@Log
(
title
=
"商城订单"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{ids}"
)
@DeleteMapping
(
"/{ids}"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
public
R
<
Void
>
remove
(
@NotEmpty
(
message
=
"主键不能为空"
)
...
...
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