Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
4367a7db
Commit
4367a7db
authored
Aug 26, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature-zhaji
parents
782881f6
61705ee2
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
51 additions
and
4 deletions
+51
-4
TSalaryStandardController.java
.../v1/yifu/salary/controller/TSalaryStandardController.java
+15
-0
TSalaryStandardMapper.java
...oud/plus/v1/yifu/salary/mapper/TSalaryStandardMapper.java
+2
-0
TSalaryStandardService.java
...d/plus/v1/yifu/salary/service/TSalaryStandardService.java
+1
-0
TSalaryStandardServiceImpl.java
.../yifu/salary/service/impl/TSalaryStandardServiceImpl.java
+11
-0
TSpecialDeducationSumServiceImpl.java
...salary/service/impl/TSpecialDeducationSumServiceImpl.java
+5
-1
SysMessageSalaryMapper.xml
...-biz/src/main/resources/mapper/SysMessageSalaryMapper.xml
+3
-2
THaveSalaryNosocialMapper.xml
...z/src/main/resources/mapper/THaveSalaryNosocialMapper.xml
+2
-1
TSalaryStandardMapper.xml
...y-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
+12
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryStandardController.java
View file @
4367a7db
...
@@ -58,6 +58,21 @@ public class TSalaryStandardController {
...
@@ -58,6 +58,21 @@ public class TSalaryStandardController {
private
final
TApprovalRecordService
auditLogService
;
private
final
TApprovalRecordService
auditLogService
;
/**
* 简单分页查询-申请
*
* @param page 分页对象
* @param tSalaryStandard 标准薪酬工资表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/pageApply"
)
public
R
<
IPage
<
TSalaryStandard
>>
getTSalaryStandardPageApply
(
Page
<
TSalaryStandard
>
page
,
TSalaryStandardSearchVo
tSalaryStandard
)
{
tSalaryStandard
.
setDeleteFlag
(
CommonConstants
.
ZERO_INT
);
return
new
R
<>(
tSalaryStandardService
.
getTSalaryStandardPageApply
(
page
,
tSalaryStandard
));
}
/**
/**
* 简单分页查询
* 简单分页查询
*
*
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/mapper/TSalaryStandardMapper.java
View file @
4367a7db
...
@@ -43,6 +43,7 @@ public interface TSalaryStandardMapper extends BaseMapper<TSalaryStandard> {
...
@@ -43,6 +43,7 @@ public interface TSalaryStandardMapper extends BaseMapper<TSalaryStandard> {
*/
*/
IPage
<
TSalaryStandard
>
getTSalaryStandardPage
(
Page
<
TSalaryStandard
>
page
,
@Param
(
"tSalaryStandard"
)
TSalaryStandard
tSalaryStandard
);
IPage
<
TSalaryStandard
>
getTSalaryStandardPage
(
Page
<
TSalaryStandard
>
page
,
@Param
(
"tSalaryStandard"
)
TSalaryStandard
tSalaryStandard
);
IPage
<
TSalaryStandard
>
getTSalaryStandardPageApply
(
Page
<
TSalaryStandard
>
page
,
@Param
(
"tSalaryStandard"
)
TSalaryStandard
tSalaryStandard
);
/**
/**
* 标准薪酬工资表审核页面简单分页查询
* 标准薪酬工资表审核页面简单分页查询
* @param tSalaryStandard 标准薪酬工资表
* @param tSalaryStandard 标准薪酬工资表
...
@@ -53,4 +54,5 @@ public interface TSalaryStandardMapper extends BaseMapper<TSalaryStandard> {
...
@@ -53,4 +54,5 @@ public interface TSalaryStandardMapper extends BaseMapper<TSalaryStandard> {
List
<
TSalaryStandardExportVo
>
getSalaryStandardExport
(
@Param
(
"searchVo"
)
TSalaryStandardSearchVo
searchVo
,
@Param
(
"idList"
)
List
<
String
>
idList
);
List
<
TSalaryStandardExportVo
>
getSalaryStandardExport
(
@Param
(
"searchVo"
)
TSalaryStandardSearchVo
searchVo
,
@Param
(
"idList"
)
List
<
String
>
idList
);
int
getSalaryStandardExportCount
(
@Param
(
"searchVo"
)
TSalaryStandardSearchVo
searchVo
,
@Param
(
"idList"
)
List
<
String
>
idList
);
int
getSalaryStandardExportCount
(
@Param
(
"searchVo"
)
TSalaryStandardSearchVo
searchVo
,
@Param
(
"idList"
)
List
<
String
>
idList
);
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/TSalaryStandardService.java
View file @
4367a7db
...
@@ -74,4 +74,5 @@ public interface TSalaryStandardService extends IService<TSalaryStandard> {
...
@@ -74,4 +74,5 @@ public interface TSalaryStandardService extends IService<TSalaryStandard> {
**/
**/
R
<
String
>
deleteSalaryById
(
String
id
);
R
<
String
>
deleteSalaryById
(
String
id
);
IPage
<
TSalaryStandard
>
getTSalaryStandardPageApply
(
Page
<
TSalaryStandard
>
page
,
TSalaryStandardSearchVo
tSalaryStandard
);
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSalaryStandardServiceImpl.java
View file @
4367a7db
...
@@ -84,6 +84,17 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
...
@@ -84,6 +84,17 @@ public class TSalaryStandardServiceImpl extends ServiceImpl<TSalaryStandardMappe
@Autowired
@Autowired
private
DaprSocialProperties
socialProperties
;
private
DaprSocialProperties
socialProperties
;
/**
* 标准薪酬工资表简单分页查询
*
* @param tSalaryStandard 标准薪酬工资表
* @return
*/
@Override
public
IPage
<
TSalaryStandard
>
getTSalaryStandardPageApply
(
Page
<
TSalaryStandard
>
page
,
TSalaryStandardSearchVo
tSalaryStandard
)
{
return
baseMapper
.
getTSalaryStandardPageApply
(
page
,
tSalaryStandard
);
}
/**
/**
* 标准薪酬工资表简单分页查询
* 标准薪酬工资表简单分页查询
*
*
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TSpecialDeducationSumServiceImpl.java
View file @
4367a7db
...
@@ -19,6 +19,7 @@ import java.util.ArrayList;
...
@@ -19,6 +19,7 @@ import java.util.ArrayList;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
/**
/**
* @Author fxj
* @Author fxj
...
@@ -128,7 +129,10 @@ public class TSpecialDeducationSumServiceImpl extends ServiceImpl<TSpecialDeduca
...
@@ -128,7 +129,10 @@ public class TSpecialDeducationSumServiceImpl extends ServiceImpl<TSpecialDeduca
if
(
Common
.
isEmpty
(
declareTitle
))
{
if
(
Common
.
isEmpty
(
declareTitle
))
{
return
R
.
failed
(
"申报单位不能为空"
);
return
R
.
failed
(
"申报单位不能为空"
);
}
}
List
<
String
>
uc
=
sdsList
.
stream
().
map
(
TSpecialDeducationSum:
:
getDeclareTitle
).
collect
(
Collectors
.
toList
());
if
(
Common
.
isNotNull
(
uc
)
&&
uc
.
size
()
>
CommonConstants
.
ONE_INT
){
return
R
.
failed
(
"一次只允许导入一个申报单位"
);
}
TSpecialDeducationSum
sdsCheck
=
new
TSpecialDeducationSum
();
TSpecialDeducationSum
sdsCheck
=
new
TSpecialDeducationSum
();
sdsCheck
.
setCreateMonth
(
yearMonth
);
sdsCheck
.
setCreateMonth
(
yearMonth
);
sdsCheck
.
setDeclareTitle
(
declareTitle
);
sdsCheck
.
setDeclareTitle
(
declareTitle
);
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/SysMessageSalaryMapper.xml
View file @
4367a7db
...
@@ -20,6 +20,8 @@
...
@@ -20,6 +20,8 @@
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"customerId"
column=
"CUSTOMER_ID"
/>
<result
property=
"customerId"
column=
"CUSTOMER_ID"
/>
<result
property=
"customerName"
column=
"CUSTOMER_NAME"
/>
<result
property=
"customerName"
column=
"CUSTOMER_NAME"
/>
<result
property=
"reasonType"
column=
"REASON_TYPE"
/>
<result
property=
"feedBack"
column=
"FEED_BACK"
/>
</resultMap>
</resultMap>
<resultMap
id=
"sysMessageSalaryExportMap"
type=
"com.yifu.cloud.plus.v1.yifu.salary.vo.SysMessageSalaryExportVo"
>
<resultMap
id=
"sysMessageSalaryExportMap"
type=
"com.yifu.cloud.plus.v1.yifu.salary.vo.SysMessageSalaryExportVo"
>
<result
property=
"actualSalary"
column=
"actual_salary"
/>
<result
property=
"actualSalary"
column=
"actual_salary"
/>
...
@@ -119,8 +121,7 @@
...
@@ -119,8 +121,7 @@
<!--sysMessageSalary简单分页查询-->
<!--sysMessageSalary简单分页查询-->
<select
id=
"getSysMessageSalaryPage"
resultMap=
"sysMessageSalaryMap"
>
<select
id=
"getSysMessageSalaryPage"
resultMap=
"sysMessageSalaryMap"
>
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
,
<include
refid=
"Base_Column_List"
/>
b.*
FROM sys_message_salary a
FROM sys_message_salary a
left join t_feed_back b on a.ID=b.RELATE_ID
left join t_feed_back b on a.ID=b.RELATE_ID
<where>
<where>
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/THaveSalaryNosocialMapper.xml
View file @
4367a7db
...
@@ -94,7 +94,8 @@
...
@@ -94,7 +94,8 @@
a.SETTLEMENT_ORGAN_NAME,
a.SETTLEMENT_ORGAN_NAME,
a.month,
a.month,
a.relay_salary,
a.relay_salary,
a.CREATE_NAME
a.CREATE_NAME,
a.feed_back,a.reason_type
FROM t_have_salary_nosocial a
FROM t_have_salary_nosocial a
<include
refid=
"querPage"
/>
<include
refid=
"querPage"
/>
</select>
</select>
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
View file @
4367a7db
...
@@ -264,6 +264,18 @@
...
@@ -264,6 +264,18 @@
<include
refid=
"tSalaryStandard_where"
/>
<include
refid=
"tSalaryStandard_where"
/>
</where>
</where>
ORDER BY a.CREATE_TIME desc
ORDER BY a.CREATE_TIME desc
</select>
<!--tSalaryStandard简单分页查询-->
<select
id=
"getTSalaryStandardPageApply"
resultMap=
"tSalaryStandardMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_salary_standard a
<where>
a.DELETE_FLAG = 0
<!-- 薪资是否可查看 0 是 1否-->
<include
refid=
"tSalaryStandard_where"
/>
</where>
ORDER BY a.CREATE_TIME desc
</select>
</select>
<!--tSalaryStandard简单分页查询-->
<!--tSalaryStandard简单分页查询-->
<select
id=
"getTSalaryStandardAuditPage"
resultMap=
"tSalaryStandardMap"
>
<select
id=
"getTSalaryStandardAuditPage"
resultMap=
"tSalaryStandardMap"
>
...
...
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