Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
rpc-staff
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 f10be0a2
authored
Jan 19, 2026
by
崔彦峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add:提交有效引荐数相关接口设计。
1 parent
1649778e
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
345 additions
and
12 deletions
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/EffectiveReferralReviewDTO.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/SceneTypeEffectiveReferralDTO.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/StoreEffectiveReferralDetailDTO.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewMiniProgramRemote.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewRemote.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewMiniProgramRemoteImpl.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewRemoteImpl.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/EffectiveReferralReviewMiniProgramService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/EffectiveReferralReviewService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/staffPerformance/StaffPerformanceCalService.java
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/EffectiveReferralReviewDTO.java
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
dto
.
perfSalary
;
package
cn
.
com
.
glsx
.
dj
.
staff
.
dto
.
perfSalary
;
import
cn.com.glsx.dj.staff.model.perfSalary.EffectiveReferralReview
;
import
cn.com.glsx.dj.staff.model.perfSalary.EffectiveReferralReview
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.*
;
import
lombok.*
;
import
lombok.experimental.SuperBuilder
;
import
lombok.experimental.SuperBuilder
;
...
@@ -17,4 +18,10 @@ import lombok.experimental.SuperBuilder;
...
@@ -17,4 +18,10 @@ import lombok.experimental.SuperBuilder;
public
class
EffectiveReferralReviewDTO
extends
EffectiveReferralReview
{
public
class
EffectiveReferralReviewDTO
extends
EffectiveReferralReview
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"门店名称"
)
private
String
merchantName
;
@ApiModelProperty
(
value
=
"提交状态:0-未提交 1-已提交"
)
private
Integer
submitStatus
;
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/SceneTypeEffectiveReferralDTO.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
dto
.
perfSalary
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
@Data
public
class
SceneTypeEffectiveReferralDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"业务场景:1-精品升级(轻改);2-会员权益(广联权益);3-单延保;"
)
private
Integer
sceneType
;
@ApiModelProperty
(
value
=
"品牌类型:0-问界 1-智界 2-享界 3-尊界 4-尚界 5-其它品牌"
)
private
Integer
brandType
;
@ApiModelProperty
(
value
=
"品牌名称,例如:问界、智界..."
)
private
String
brandName
;
@ApiModelProperty
(
value
=
"交车数"
)
private
Integer
deliveryCount
;
@ApiModelProperty
(
value
=
"有效引荐数"
)
private
Integer
effectiveReferralCount
;
@ApiModelProperty
(
value
=
"凭证Url 以,分隔"
)
private
String
imageUrls
;
@ApiModelProperty
(
value
=
"备注"
)
private
String
remark
;
}
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/dto/perfSalary/StoreEffectiveReferralDetailDTO.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
dto
.
perfSalary
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
public
class
StoreEffectiveReferralDetailDTO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"门店名称"
)
private
String
merchantName
;
@ApiModelProperty
(
value
=
"业务场景引荐数列表"
)
private
List
<
SceneTypeEffectiveReferralDTO
>
sceneTypeEffectiveReferrals
;
}
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewMiniProgramRemote.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
remote
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralDetailDTO
;
import
cn.com.glsx.framework.core.annotation.ApiMethod
;
import
cn.com.glsx.framework.core.annotation.ApiParam
;
import
cn.com.glsx.framework.core.annotation.ApiResponse
;
import
cn.com.glsx.framework.core.annotation.ApiService
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
javax.validation.constraints.NotNull
;
@ApiService
(
value
=
"小程序有效引荐接口"
,
owner
=
"team"
,
protocol
=
ApiService
.
ProtocolEnum
.
dubbo
,
version
=
"1.0.0"
)
public
interface
EffectiveReferralReviewMiniProgramRemote
{
@ApiMethod
(
"门店有效引荐数列表"
)
@ApiParam
(
name
=
"pagination"
,
notes
=
"分页查询信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"门店有效引荐数分页"
)
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralStorePage
(
@NotNull
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
);
@ApiMethod
(
"门店有效引荐数详情"
)
@ApiParam
(
name
=
"id"
,
notes
=
"门店有效引荐记录id"
,
dataType
=
ApiParam
.
DataTypeEnum
.
INTEGER
,
required
=
true
)
@ApiResponse
(
"门店有效引荐数详情"
)
RpcResponse
<
StoreEffectiveReferralDetailDTO
>
effectiveReferralStoreDetail
(
Integer
id
);
@ApiMethod
(
"门店有效引荐数提交"
)
@ApiParam
(
name
=
"dto"
,
notes
=
"提交信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"提交结果"
)
RpcResponse
<
Boolean
>
effectiveReferralStoreSubmit
(
@NotNull
EffectiveReferralReviewDTO
dto
);
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff-api/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewRemote.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
remote
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.framework.core.annotation.ApiMethod
;
import
cn.com.glsx.framework.core.annotation.ApiParam
;
import
cn.com.glsx.framework.core.annotation.ApiResponse
;
import
cn.com.glsx.framework.core.annotation.ApiService
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
javax.validation.constraints.NotNull
;
@ApiService
(
value
=
"有效引荐接口"
,
owner
=
"team"
,
protocol
=
ApiService
.
ProtocolEnum
.
dubbo
,
version
=
"1.0.0"
)
public
interface
EffectiveReferralReviewRemote
{
@ApiMethod
(
"店铺设置-有效引荐列表"
)
@ApiParam
(
name
=
"pagination"
,
notes
=
"分页查询信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"有效引荐分页"
)
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralPage
(
@NotNull
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
);
@ApiMethod
(
"订单管理-有效引荐数复核列表"
)
@ApiParam
(
name
=
"pagination"
,
notes
=
"分页查询信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"有效引荐复核分页"
)
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralAuditPage
(
@NotNull
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
);
@ApiMethod
(
"有效引荐详情"
)
@ApiParam
(
name
=
"id"
,
notes
=
"有效引荐记录id"
,
dataType
=
ApiParam
.
DataTypeEnum
.
INTEGER
,
required
=
true
)
@ApiResponse
(
"有效引荐详情"
)
RpcResponse
<
EffectiveReferralReviewDTO
>
effectiveReferralDetail
(
Integer
id
);
@ApiMethod
(
"有效引荐数-复核"
)
@ApiParam
(
name
=
"dto"
,
notes
=
"复核信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"复核结果"
)
RpcResponse
<
Boolean
>
effectiveReferralAudit
(
@NotNull
EffectiveReferralReviewDTO
dto
);
@ApiMethod
(
"web端有效引荐导出数据查询"
)
@ApiParam
(
name
=
"pagination"
,
notes
=
"分页查询信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"导出数据列表"
)
RpcResponse
<
String
>
effectiveReferralExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
);
@ApiMethod
(
"web端有效引荐复核导出数据查询"
)
@ApiParam
(
name
=
"pagination"
,
notes
=
"分页查询信息"
,
dataType
=
ApiParam
.
DataTypeEnum
.
OBJECT
,
required
=
true
)
@ApiResponse
(
"复核导出数据列表"
)
RpcResponse
<
String
>
effectiveReferralAuditExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
);
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewMiniProgramRemoteImpl.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
remote
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralDetailDTO
;
import
cn.com.glsx.dj.staff.service.perfSalary.EffectiveReferralReviewMiniProgramService
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.dubbo.config.annotation.DubboService
;
import
org.springframework.beans.factory.annotation.Autowired
;
@Slf4j
@DubboService
(
version
=
"1.0.0"
,
validation
=
"true"
)
public
class
EffectiveReferralReviewMiniProgramRemoteImpl
implements
EffectiveReferralReviewMiniProgramRemote
{
@Autowired
private
EffectiveReferralReviewMiniProgramService
effectiveReferralReviewMiniprogramService
;
@Override
public
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralStorePage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewMiniprogramService
.
effectiveReferralStorePage
(
pagination
));
}
catch
(
RpcServiceException
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
StoreEffectiveReferralDetailDTO
>
effectiveReferralStoreDetail
(
Integer
id
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewMiniprogramService
.
effectiveReferralStoreDetail
(
id
));
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
Boolean
>
effectiveReferralStoreSubmit
(
EffectiveReferralReviewDTO
dto
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewMiniprogramService
.
effectiveReferralStoreSubmit
(
dto
));
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/perfSalary/EffectiveReferralReviewRemoteImpl.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
remote
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.service.perfSalary.EffectiveReferralReviewService
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.dubbo.config.annotation.DubboService
;
import
org.springframework.beans.factory.annotation.Autowired
;
@Slf4j
@DubboService
(
version
=
"1.0.0"
,
validation
=
"true"
)
public
class
EffectiveReferralReviewRemoteImpl
implements
EffectiveReferralReviewRemote
{
@Autowired
private
EffectiveReferralReviewService
effectiveReferralReviewService
;
@Override
public
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralPage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewService
.
effectiveReferralPage
(
pagination
));
}
catch
(
RpcServiceException
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
RpcPagination
<
EffectiveReferralReviewDTO
>>
effectiveReferralAuditPage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewService
.
effectiveReferralAuditPage
(
pagination
));
}
catch
(
RpcServiceException
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
EffectiveReferralReviewDTO
>
effectiveReferralDetail
(
Integer
id
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewService
.
effectiveReferralDetail
(
id
));
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
Boolean
>
effectiveReferralAudit
(
EffectiveReferralReviewDTO
dto
)
{
try
{
effectiveReferralReviewService
.
effectiveReferralAudit
(
dto
);
return
RpcResponse
.
success
(
true
);
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
String
>
effectiveReferralExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewService
.
effectiveReferralExportData
(
pagination
));
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
@Override
public
RpcResponse
<
String
>
effectiveReferralAuditExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
try
{
return
RpcResponse
.
success
(
effectiveReferralReviewService
.
effectiveReferralAuditExportData
(
pagination
));
}
catch
(
Exception
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/EffectiveReferralReviewMiniProgramService.java
0 → 100644
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
service
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralDetailDTO
;
import
cn.com.glsx.dj.staff.mapper.perfSalary.EffectiveReferralReviewMapper
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.util.List
;
@Slf4j
@Service
@Transactional
(
propagation
=
Propagation
.
SUPPORTS
,
rollbackFor
=
RpcServiceException
.
class
)
public
class
EffectiveReferralReviewMiniProgramService
{
@Resource
private
EffectiveReferralReviewMapper
effectiveReferralReviewMapper
;
public
RpcPagination
<
EffectiveReferralReviewDTO
>
effectiveReferralStorePage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
PageHelper
.
startPage
(
pagination
.
getPageNum
(),
pagination
.
getPageSize
());
List
<
EffectiveReferralReviewDTO
>
list
=
null
;
Page
<
EffectiveReferralReviewDTO
>
page
=
(
Page
<
EffectiveReferralReviewDTO
>)
list
;
pagination
=
RpcPagination
.
copyPage
(
page
);
return
pagination
;
}
public
StoreEffectiveReferralDetailDTO
effectiveReferralStoreDetail
(
Integer
id
)
{
return
null
;
}
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
RpcServiceException
.
class
)
public
Boolean
effectiveReferralStoreSubmit
(
EffectiveReferralReviewDTO
dto
)
{
// 核心业务逻辑暂不实现
effectiveReferralReviewMapper
.
updateByPrimaryKeySelective
(
dto
);
return
true
;
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/perfSalary/EffectiveReferralReviewService.java
View file @
f10be0a
package
cn
.
com
.
glsx
.
dj
.
staff
.
service
.
perfSalary
;
package
cn
.
com
.
glsx
.
dj
.
staff
.
service
.
perfSalary
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.mapper.perfSalary.EffectiveReferralReviewMapper
;
import
cn.com.glsx.dj.staff.mapper.perfSalary.EffectiveReferralReviewMapper
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Propagation
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.List
;
@Slf4j
@Slf4j
@Service
@Service
...
@@ -18,19 +23,39 @@ public class EffectiveReferralReviewService {
...
@@ -18,19 +23,39 @@ public class EffectiveReferralReviewService {
@Resource
@Resource
private
EffectiveReferralReviewMapper
effectiveReferralReviewMapper
;
private
EffectiveReferralReviewMapper
effectiveReferralReviewMapper
;
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
RpcServiceException
.
class
)
public
RpcPagination
<
EffectiveReferralReviewDTO
>
effectiveReferralPage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
public
void
test
(
String
test
)
{
PageHelper
.
startPage
(
pagination
.
getPageNum
(),
pagination
.
getPageSize
());
List
<
EffectiveReferralReviewDTO
>
list
=
null
;
Page
<
EffectiveReferralReviewDTO
>
page
=
(
Page
<
EffectiveReferralReviewDTO
>)
list
;
pagination
=
RpcPagination
.
copyPage
(
page
);
return
pagination
;
}
public
RpcPagination
<
EffectiveReferralReviewDTO
>
effectiveReferralAuditPage
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
PageHelper
.
startPage
(
pagination
.
getPageNum
(),
pagination
.
getPageSize
());
List
<
EffectiveReferralReviewDTO
>
list
=
null
;
Page
<
EffectiveReferralReviewDTO
>
page
=
(
Page
<
EffectiveReferralReviewDTO
>)
list
;
pagination
=
RpcPagination
.
copyPage
(
page
);
return
pagination
;
}
}
/**
public
EffectiveReferralReviewDTO
effectiveReferralDetail
(
Integer
id
)
{
* 根据条件查询单条有效引荐数记录
return
(
EffectiveReferralReviewDTO
)
effectiveReferralReviewMapper
.
selectByPrimaryKey
(
id
);
*
* @param query 查询参数
* @return 记录
*/
public
EffectiveReferralReviewDTO
queryEffectiveReferralReview
(
EffectiveReferralReviewDTO
query
)
{
return
effectiveReferralReviewMapper
.
selectOneByQuery
(
query
);
}
}
@Transactional
(
propagation
=
Propagation
.
REQUIRED
,
rollbackFor
=
RpcServiceException
.
class
)
public
void
effectiveReferralAudit
(
EffectiveReferralReviewDTO
dto
)
{
// 核心业务逻辑暂不实现
effectiveReferralReviewMapper
.
updateByPrimaryKeySelective
(
dto
);
}
public
String
effectiveReferralExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
return
null
;
}
public
String
effectiveReferralAuditExportData
(
RpcPagination
<
EffectiveReferralReviewDTO
>
pagination
)
{
return
null
;
}
}
}
\ No newline at end of file
\ No newline at end of file
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/staffPerformance/StaffPerformanceCalService.java
View file @
f10be0a
...
@@ -11,7 +11,6 @@ import cn.com.glsx.dj.staff.dto.*;
...
@@ -11,7 +11,6 @@ import cn.com.glsx.dj.staff.dto.*;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO
;
import
cn.com.glsx.dj.staff.enums.AssessmentFactorEnum
;
import
cn.com.glsx.dj.staff.enums.AssessmentFactorEnum
;
import
cn.com.glsx.dj.staff.mapper.StaffPerformanceCalMapper
;
import
cn.com.glsx.dj.staff.mapper.StaffPerformanceCalMapper
;
import
cn.com.glsx.dj.staff.service.perfSalary.EffectiveReferralReviewService
;
import
cn.com.glsx.framework.core.enums.DefaultErrorEnum
;
import
cn.com.glsx.framework.core.enums.DefaultErrorEnum
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
cn.com.glsx.framework.core.util.RpcAssert
;
import
cn.com.glsx.framework.core.util.RpcAssert
;
...
...
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