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 cc0a8448
authored
Jan 27, 2026
by
林冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
申诉单
1 parent
f0288a3f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
9 deletions
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/salaryappealapply/StaffSalaryAppealApplyRecordRemoteImpl.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/StaffSalaryAppealApplyRecordService.java
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/salary/StaffMonthSalarySlipService.java
rpc-dj-staff/src/main/resources/META-INF/orm/StaffSalaryAppealApplyRecordMapper.xml
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/remote/salaryappealapply/StaffSalaryAppealApplyRecordRemoteImpl.java
View file @
cc0a844
...
@@ -6,6 +6,7 @@ import cn.com.glsx.dj.staff.dto.salaryappealapply.StaffSalaryAppealSummaryDTO;
...
@@ -6,6 +6,7 @@ import cn.com.glsx.dj.staff.dto.salaryappealapply.StaffSalaryAppealSummaryDTO;
import
cn.com.glsx.dj.staff.service.StaffSalaryAppealApplyRecordService
;
import
cn.com.glsx.dj.staff.service.StaffSalaryAppealApplyRecordService
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcPagination
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.beans.rpc.RpcResponse
;
import
cn.com.glsx.framework.core.exception.RpcServiceException
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.dubbo.config.annotation.DubboService
;
import
org.apache.dubbo.config.annotation.DubboService
;
...
@@ -25,6 +26,9 @@ public class StaffSalaryAppealApplyRecordRemoteImpl implements StaffSalaryAppeal
...
@@ -25,6 +26,9 @@ public class StaffSalaryAppealApplyRecordRemoteImpl implements StaffSalaryAppeal
log
.
info
(
"createAppeal start, dto:{}"
,
dto
);
log
.
info
(
"createAppeal start, dto:{}"
,
dto
);
Boolean
result
=
staffSalaryAppealApplyRecordService
.
createAppeal
(
dto
);
Boolean
result
=
staffSalaryAppealApplyRecordService
.
createAppeal
(
dto
);
return
RpcResponse
.
success
(
result
);
return
RpcResponse
.
success
(
result
);
}
catch
(
RpcServiceException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
return
RpcResponse
.
error
(
e
);
...
@@ -95,6 +99,9 @@ public class StaffSalaryAppealApplyRecordRemoteImpl implements StaffSalaryAppeal
...
@@ -95,6 +99,9 @@ public class StaffSalaryAppealApplyRecordRemoteImpl implements StaffSalaryAppeal
log
.
info
(
"webReply start, dto:{}"
,
dto
);
log
.
info
(
"webReply start, dto:{}"
,
dto
);
Boolean
result
=
staffSalaryAppealApplyRecordService
.
webReply
(
dto
);
Boolean
result
=
staffSalaryAppealApplyRecordService
.
webReply
(
dto
);
return
RpcResponse
.
success
(
result
);
return
RpcResponse
.
success
(
result
);
}
catch
(
RpcServiceException
e
){
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
log
.
error
(
e
.
getMessage
(),
e
);
return
RpcResponse
.
error
(
e
);
return
RpcResponse
.
error
(
e
);
...
...
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/StaffSalaryAppealApplyRecordService.java
View file @
cc0a844
This diff is collapsed.
Click to expand it.
rpc-dj-staff/src/main/java/cn/com/glsx/dj/staff/service/salary/StaffMonthSalarySlipService.java
View file @
cc0a844
...
@@ -27,7 +27,6 @@ import com.github.pagehelper.Page;
...
@@ -27,7 +27,6 @@ import com.github.pagehelper.Page;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageHelper
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.oreframework.distribute.lock.annotation.GlsxDistributeLockable
;
import
org.oreframework.distribute.lock.annotation.GlsxDistributeLockable
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.context.annotation.Lazy
;
import
org.springframework.context.annotation.Lazy
;
...
@@ -38,7 +37,10 @@ import tk.mybatis.mapper.entity.Example;
...
@@ -38,7 +37,10 @@ import tk.mybatis.mapper.entity.Example;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.math.RoundingMode
;
import
java.math.RoundingMode
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Objects
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
@Slf4j
@Slf4j
...
@@ -476,10 +478,11 @@ public class StaffMonthSalarySlipService {
...
@@ -476,10 +478,11 @@ public class StaffMonthSalarySlipService {
StaffMonthBdmCount
oldRecord
=
list
.
get
(
0
);
StaffMonthBdmCount
oldRecord
=
list
.
get
(
0
);
oldRecord
.
setModifyFlag
(
1
);
oldRecord
.
setModifyFlag
(
1
);
oldRecord
.
setShopCount
(
staffMonthBdmCount
.
getShopCount
());
oldRecord
.
setShopCount
(
staffMonthBdmCount
.
getShopCount
());
oldRecord
.
setRecordingCount
(
staffMonthBdmCount
.
getRecordingCount
());
oldRecord
.
setBehaviorCount
(
Math
.
abs
(
staffMonthBdmCount
.
getRecordingCount
()
-
oldRecord
.
getShopCount
()));
oldRecord
.
setBehaviorCount
(
Math
.
abs
(
staffMonthBdmCount
.
getRecordingCount
()
-
oldRecord
.
getShopCount
()));
oldRecord
.
setUpdatedDate
(
new
Date
());
oldRecord
.
setUpdatedDate
(
new
Date
());
oldRecord
.
setUpdatedBy
(
staffMonthBdmCount
.
getUpdatedBy
());
oldRecord
.
setUpdatedBy
(
staffMonthBdmCount
.
getUpdatedBy
());
return
staffMonthBdmCountMapper
.
updateByPrimaryKeySelective
(
staffMonthBdmCount
);
return
staffMonthBdmCountMapper
.
updateByPrimaryKeySelective
(
oldRecord
);
}
}
// 新增
// 新增
...
...
rpc-dj-staff/src/main/resources/META-INF/orm/StaffSalaryAppealApplyRecordMapper.xml
View file @
cc0a844
...
@@ -58,6 +58,9 @@
...
@@ -58,6 +58,9 @@
<if
test=
"appealType != null"
>
<if
test=
"appealType != null"
>
AND appeal_type = #{appealType}
AND appeal_type = #{appealType}
</if>
</if>
<if
test=
"dealStatus != null"
>
AND deal_status = #{dealStatus}
</if>
<if
test=
"applyStartTime != null and applyStartTime != ''"
>
<if
test=
"applyStartTime != null and applyStartTime != ''"
>
AND created_date
>
= #{applyStartTime}
AND created_date
>
= #{applyStartTime}
</if>
</if>
...
@@ -129,17 +132,13 @@
...
@@ -129,17 +132,13 @@
</foreach>
</foreach>
)
)
</if>
</if>
<if
test=
"sceneType
List != null and sceneTypeList.size() > 0
"
>
<if
test=
"sceneType
!= null
"
>
AND EXISTS (
AND EXISTS (
SELECT 1
SELECT 1
FROM dj_car_life_staff_info dclsi
FROM dj_car_life_staff_info dclsi
WHERE dclsi.phone_number = dj_car_life_staff_salary_appeal_apply_record.staff_phone
WHERE dclsi.phone_number = dj_car_life_staff_salary_appeal_apply_record.staff_phone
AND dclsi.deleted_flag = 'N'
AND dclsi.deleted_flag = 'N'
AND (
AND FIND_IN_SET(#{sceneType}, dclsi.staff_scene_label) > 0
<foreach
collection=
"sceneTypeList"
item=
"sceneType"
separator=
"OR"
>
FIND_IN_SET(#{sceneType}, dclsi.staff_scene_label) > 0
</foreach>
)
)
)
</if>
</if>
ORDER BY created_date DESC
ORDER BY created_date DESC
...
...
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