Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
Project
Project
Details
Activity
Releases
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
李丛阳
education
Commits
12c5fd2c
Commit
12c5fd2c
authored
Nov 14, 2019
by
zhangqingle
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/meiteng' into zql
parents
7cd676c8
fb3529b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
BPersonValueController.java
...iness/bpersonvalue/controller/BPersonValueController.java
+3
-1
BReleaseValueRepository.java
...t/business/breleasevalue/dao/BReleaseValueRepository.java
+1
-1
No files found.
src/main/java/org/rcisoft/business/bpersonvalue/controller/BPersonValueController.java
View file @
12c5fd2c
...
...
@@ -2,6 +2,7 @@ package org.rcisoft.business.bpersonvalue.controller;
/*固定导入*/
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiImplicitParam
;
import
io.swagger.annotations.ApiImplicitParams
;
import
io.swagger.annotations.ApiOperation
;
...
...
@@ -32,6 +33,7 @@ import java.util.List;
/**
* Created by on 2019-11-13 13:28:38.
*/
@Api
(
tags
=
"16 用户积分操作"
)
@RestController
@RequestMapping
(
"bpersonvalue"
)
public
class
BPersonValueController
extends
PaginationController
<
BPersonValue
>
{
...
...
@@ -56,7 +58,7 @@ public class BPersonValueController extends PaginationController<BPersonValue> {
@GetMapping
(
value
=
"/add"
)
public
Result
add
(
CurUser
curUser
,
@Valid
PersonValueDto
personValueDto
,
BindingResult
bindingResult
)
{
int
line
=
bPersonValueServiceImpl
.
add
(
personValueDto
,
curUser
.
getCorpId
());
return
Result
.
builder
(
new
PersistModel
(
1
),
return
Result
.
builder
(
new
PersistModel
(
line
),
MessageConstant
.
MESSAGE_ALERT_SUCCESS
,
MessageConstant
.
MESSAGE_ALERT_ERROR
,
personValueDto
);
...
...
src/main/java/org/rcisoft/business/breleasevalue/dao/BReleaseValueRepository.java
View file @
12c5fd2c
...
...
@@ -122,7 +122,7 @@ public interface BReleaseValueRepository extends BaseMapper<BReleaseValue> {
* @param businessId
* @return
*/
@Select
(
"select sum(value) valueConsume from b_person_value where type = 1 and del_flag !=1 and flag = 1 and
user
_id = #{businessId}"
)
@Select
(
"select sum(value) valueConsume from b_person_value where type = 1 and del_flag !=1 and flag = 1 and
person
_id = #{businessId}"
)
String
getValueConsume
(
@Param
(
"businessId"
)
String
businessId
);
}
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