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
0cf71411
Commit
0cf71411
authored
Aug 17, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申报,稿酬,劳务费接口修改
parent
97d37ac5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
506 additions
and
105 deletions
+506
-105
TStatisticsLabor.java
...fu/cloud/plus/v1/yifu/salary/entity/TStatisticsLabor.java
+0
-7
TStatisticsRemuneration.java
...d/plus/v1/yifu/salary/entity/TStatisticsRemuneration.java
+0
-7
TStatisticsLaborVo.java
...yifu/cloud/plus/v1/yifu/salary/vo/TStatisticsLaborVo.java
+0
-8
TStatisticsRemunerationVo.java
...oud/plus/v1/yifu/salary/vo/TStatisticsRemunerationVo.java
+0
-8
SalaryUploadController.java
...lus/v1/yifu/salary/controller/SalaryUploadController.java
+1
-2
TStatisticsLaborController.java
...v1/yifu/salary/controller/TStatisticsLaborController.java
+17
-2
TStatisticsLaborMapper.java
...ud/plus/v1/yifu/salary/mapper/TStatisticsLaborMapper.java
+10
-0
TStatisticsLaborService.java
.../plus/v1/yifu/salary/service/TStatisticsLaborService.java
+7
-1
SalaryUploadServiceImpl.java
.../v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
+432
-56
TStatisticsLaborServiceImpl.java
...yifu/salary/service/impl/TStatisticsLaborServiceImpl.java
+22
-0
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+5
-3
TStatisticsLaborMapper.xml
...-biz/src/main/resources/mapper/TStatisticsLaborMapper.xml
+11
-5
TStatisticsRemunerationMapper.xml
...c/main/resources/mapper/TStatisticsRemunerationMapper.xml
+1
-6
No files found.
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TStatisticsLabor.java
View file @
0cf71411
...
@@ -75,13 +75,6 @@ public class TStatisticsLabor {
...
@@ -75,13 +75,6 @@ public class TStatisticsLabor {
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
private
String
empIdcard
;
/**
* 工号
*/
@ExcelAttribute
(
name
=
"工号"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"工号不能超过32个字符"
)
@ExcelProperty
(
"工号"
)
private
String
workNo
;
/**
/**
* 证件类型
* 证件类型
*/
*/
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TStatisticsRemuneration.java
View file @
0cf71411
...
@@ -94,12 +94,5 @@ public class TStatisticsRemuneration {
...
@@ -94,12 +94,5 @@ public class TStatisticsRemuneration {
@ExcelAttribute
(
name
=
"个税"
)
@ExcelAttribute
(
name
=
"个税"
)
@ExcelProperty
(
"个税"
)
@ExcelProperty
(
"个税"
)
private
BigDecimal
personalTax
;
private
BigDecimal
personalTax
;
/**
* 工号
*/
@ExcelAttribute
(
name
=
"工号"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"工号不能超过32个字符"
)
@ExcelProperty
(
"工号"
)
private
String
workNo
;
}
}
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/TStatisticsLaborVo.java
View file @
0cf71411
...
@@ -81,14 +81,6 @@ public class TStatisticsLaborVo extends RowIndex implements Serializable {
...
@@ -81,14 +81,6 @@ public class TStatisticsLaborVo extends RowIndex implements Serializable {
@Schema
(
description
=
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
private
String
empIdcard
;
/**
* 工号
*/
@Length
(
max
=
32
,
message
=
"工号 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"工号"
,
maxLength
=
32
)
@Schema
(
description
=
"工号"
)
@ExcelProperty
(
"工号"
)
private
String
workNo
;
/**
/**
* 证件类型
* 证件类型
*/
*/
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/TStatisticsRemunerationVo.java
View file @
0cf71411
...
@@ -103,13 +103,5 @@ public class TStatisticsRemunerationVo extends RowIndex implements Serializable
...
@@ -103,13 +103,5 @@ public class TStatisticsRemunerationVo extends RowIndex implements Serializable
@Schema
(
description
=
"个税"
)
@Schema
(
description
=
"个税"
)
@ExcelProperty
(
"个税"
)
@ExcelProperty
(
"个税"
)
private
BigDecimal
personalTax
;
private
BigDecimal
personalTax
;
/**
* 工号
*/
@Length
(
max
=
32
,
message
=
"工号 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"工号"
,
maxLength
=
32
)
@Schema
(
description
=
"工号"
)
@ExcelProperty
(
"工号"
)
private
String
workNo
;
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/SalaryUploadController.java
View file @
0cf71411
...
@@ -32,7 +32,6 @@ public class SalaryUploadController {
...
@@ -32,7 +32,6 @@ public class SalaryUploadController {
* @param settleDepart 结算主体id
* @param settleDepart 结算主体id
* @param configId 配置方案id
* @param configId 配置方案id
* @param salaryType 报表类型id
* @param salaryType 报表类型id
* @param repeatFlag 默认 0:不允许重复导入已存在系统内的数据;1:允许重复导入
* @Description:
* @Description:
* @Author: hgw
* @Author: hgw
* @Date: 2019/9/11 15:21
* @Date: 2019/9/11 15:21
...
@@ -41,7 +40,7 @@ public class SalaryUploadController {
...
@@ -41,7 +40,7 @@ public class SalaryUploadController {
@Operation
(
description
=
"上传:jsonString:表格json;settleDepart:结算主体id;configId:工资配置结算月等信息的id;salaryType:工资类型"
)
@Operation
(
description
=
"上传:jsonString:表格json;settleDepart:结算主体id;configId:工资配置结算月等信息的id;salaryType:工资类型"
)
@SysLog
(
"上传薪资表"
)
@SysLog
(
"上传薪资表"
)
@PostMapping
(
"/upload"
)
@PostMapping
(
"/upload"
)
public
R
upload
(
@RequestBody
String
jsonString
,
@RequestParam
String
settleDepart
,
@RequestParam
String
configId
public
R
upload
(
@RequestBody
String
jsonString
,
@RequestParam
String
settleDepart
,
@RequestParam
(
required
=
false
)
String
configId
,
@RequestParam
String
salaryType
)
{
,
@RequestParam
String
salaryType
)
{
return
salaryUploadService
.
salaryUpload
(
jsonString
,
settleDepart
,
configId
,
salaryType
);
return
salaryUploadService
.
salaryUpload
(
jsonString
,
settleDepart
,
configId
,
salaryType
);
}
}
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TStatisticsLaborController.java
View file @
0cf71411
...
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner
;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TStatisticsLabor
;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TStatisticsLabor
;
import
com.yifu.cloud.plus.v1.yifu.salary.service.TStatisticsLaborService
;
import
com.yifu.cloud.plus.v1.yifu.salary.service.TStatisticsLaborService
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TStatisticsLaborSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.TStatisticsLaborSearchVo
;
...
@@ -36,7 +37,7 @@ import javax.servlet.http.HttpServletResponse;
...
@@ -36,7 +37,7 @@ import javax.servlet.http.HttpServletResponse;
/**
/**
* 本期劳务费申报表
* 本期劳务费申报表
*
*
* @author h
gw
* @author h
uyc
* @date 2022-08-05 11:40:14
* @date 2022-08-05 11:40:14
*/
*/
@RestController
@RestController
...
@@ -90,7 +91,7 @@ public class TStatisticsLaborController {
...
@@ -90,7 +91,7 @@ public class TStatisticsLaborController {
/**
/**
* 本期劳务费申报表 批量导出
* 本期劳务费申报表 批量导出
*
*
* @author h
gw
* @author h
uyc
* @date 2022-08-05 11:40:14
* @date 2022-08-05 11:40:14
**/
**/
@Operation
(
description
=
"导出本期劳务费申报表 hasPermission('salary_tstatisticslabor-export')"
)
@Operation
(
description
=
"导出本期劳务费申报表 hasPermission('salary_tstatisticslabor-export')"
)
...
@@ -113,4 +114,18 @@ public class TStatisticsLaborController {
...
@@ -113,4 +114,18 @@ public class TStatisticsLaborController {
public
R
batchDelete
(
@RequestParam
String
declareMonth
){
public
R
batchDelete
(
@RequestParam
String
declareMonth
){
return
tStatisticsLaborService
.
batchDelete
(
declareMonth
);
return
tStatisticsLaborService
.
batchDelete
(
declareMonth
);
}
}
/**
* @param
* @Description: 生成本期劳务费
* @Author: huyc
* @Date: 2022-08-17 18:17:48
* @return: com.yifu.cloud.v1.common.core.util.R
**/
@Inner
@Operation
(
description
=
"生成本期劳务费"
)
@PostMapping
(
"/inner/doStatisticsLabor"
)
public
R
doStatisticsLabor
()
{
return
tStatisticsLaborService
.
doStatisticsLabor
();
}
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/mapper/TStatisticsLaborMapper.java
View file @
0cf71411
...
@@ -23,6 +23,9 @@ import org.apache.ibatis.annotations.Mapper;
...
@@ -23,6 +23,9 @@ import org.apache.ibatis.annotations.Mapper;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
/**
* 本期劳务费申报表
* 本期劳务费申报表
*
*
...
@@ -37,4 +40,11 @@ public interface TStatisticsLaborMapper extends BaseMapper<TStatisticsLabor> {
...
@@ -37,4 +40,11 @@ public interface TStatisticsLaborMapper extends BaseMapper<TStatisticsLabor> {
* @return
* @return
*/
*/
IPage
<
TStatisticsLabor
>
getTStatisticsLaborPage
(
Page
<
TStatisticsLabor
>
page
,
@Param
(
"tStatisticsLabor"
)
TStatisticsLabor
tStatisticsLabor
);
IPage
<
TStatisticsLabor
>
getTStatisticsLaborPage
(
Page
<
TStatisticsLabor
>
page
,
@Param
(
"tStatisticsLabor"
)
TStatisticsLabor
tStatisticsLabor
);
/**
* @param
* @Description: 统计
* @return:
**/
List
<
TStatisticsLabor
>
doStatisticsLabor
(
@Param
(
"nowMonth"
)
String
nowMonth
,
@Param
(
"lastYear"
)
String
lastYear
);
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/TStatisticsLaborService.java
View file @
0cf71411
...
@@ -50,9 +50,15 @@ public interface TStatisticsLaborService extends IService<TStatisticsLabor> {
...
@@ -50,9 +50,15 @@ public interface TStatisticsLaborService extends IService<TStatisticsLabor> {
List
<
TStatisticsLabor
>
noPageDiy
(
TStatisticsLaborSearchVo
searchVo
);
List
<
TStatisticsLabor
>
noPageDiy
(
TStatisticsLaborSearchVo
searchVo
);
/**
/**
* 批量删除本期
稿酬
申报表
* 批量删除本期
劳务费
申报表
* @param declareMonth 申报月份
* @param declareMonth 申报月份
* @return
* @return
*/
*/
R
batchDelete
(
String
declareMonth
);
R
batchDelete
(
String
declareMonth
);
/** 生成本期劳务费
* @param
* @return
**/
R
doStatisticsLabor
();
}
}
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
View file @
0cf71411
This diff is collapsed.
Click to expand it.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/TStatisticsLaborServiceImpl.java
View file @
0cf71411
...
@@ -25,6 +25,7 @@ import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
...
@@ -25,6 +25,7 @@ import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
...
@@ -241,6 +242,27 @@ public class TStatisticsLaborServiceImpl extends ServiceImpl<TStatisticsLaborMap
...
@@ -241,6 +242,27 @@ public class TStatisticsLaborServiceImpl extends ServiceImpl<TStatisticsLaborMap
return
null
;
return
null
;
}
}
@Override
public
R
doStatisticsLabor
()
{
String
nowMonth
=
DateUtil
.
addMonth
(
0
);
//本月
TStatisticsLabor
std
=
new
TStatisticsLabor
();
std
.
setDeclareMonth
(
nowMonth
);
QueryWrapper
<
TStatisticsLabor
>
queryWrapperSs
=
new
QueryWrapper
<>();
queryWrapperSs
.
setEntity
(
std
);
long
num
=
this
.
count
(
queryWrapperSs
);
if
(
num
>
0
)
{
return
R
.
failed
(
"上月数据已生成,不可重复生成!"
);
}
else
{
String
lastMonth
=
DateUtil
.
addMonth
(-
1
);
//上月
String
lastYear
=
lastMonth
.
substring
(
0
,
4
);
List
<
TStatisticsLabor
>
stdvoList
=
baseMapper
.
doStatisticsLabor
(
nowMonth
,
lastYear
);
for
(
TStatisticsLabor
declarer
:
stdvoList
)
{
this
.
save
(
declarer
);
}
return
R
.
ok
();
}
}
private
void
importTStatisticsLabor
(
List
<
TStatisticsLaborVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
private
void
importTStatisticsLabor
(
List
<
TStatisticsLaborVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
// 个性化校验逻辑
ErrorMessage
errorMsg
;
ErrorMessage
errorMsg
;
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
0cf71411
...
@@ -296,9 +296,11 @@ public class SalaryAccountUtil implements Serializable {
...
@@ -296,9 +296,11 @@ public class SalaryAccountUtil implements Serializable {
entity
.
setIsRepeat
(
CommonConstants
.
ZERO_INT
);
entity
.
setIsRepeat
(
CommonConstants
.
ZERO_INT
);
if
(
relaySalary
!=
null
)
{
if
(
relaySalary
!=
null
)
{
relaySalary
=
relaySalary
.
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
);
relaySalary
=
relaySalary
.
setScale
(
2
,
BigDecimal
.
ROUND_HALF_UP
);
if
(
checkMap
.
get
(
entity
.
getEmpIdcard
()
+
CommonConstants
.
DOWN_LINE_STRING
+
DateUtil
.
addMonth
(
configSalary
.
getSalaryMonth
())
if
(
checkMap
.
size
()
>
CommonConstants
.
ZERO_INT
)
{
+
CommonConstants
.
DOWN_LINE_STRING
+
salaryType
+
CommonConstants
.
DOWN_LINE_STRING
+
relaySalary
)
!=
null
)
{
if
(
checkMap
.
get
(
entity
.
getEmpIdcard
()
+
CommonConstants
.
DOWN_LINE_STRING
+
DateUtil
.
addMonth
(
configSalary
.
getSalaryMonth
())
entity
.
setIsRepeat
(
CommonConstants
.
ONE_INT
);
+
CommonConstants
.
DOWN_LINE_STRING
+
salaryType
+
CommonConstants
.
DOWN_LINE_STRING
+
relaySalary
)
!=
null
)
{
entity
.
setIsRepeat
(
CommonConstants
.
ONE_INT
);
}
}
}
if
(
new
BigDecimal
(
"3500"
).
compareTo
(
relaySalary
)
==
CommonConstants
.
ZERO_INT
if
(
new
BigDecimal
(
"3500"
).
compareTo
(
relaySalary
)
==
CommonConstants
.
ZERO_INT
||
new
BigDecimal
(
"5000"
).
compareTo
(
relaySalary
)
==
CommonConstants
.
ZERO_INT
)
{
||
new
BigDecimal
(
"5000"
).
compareTo
(
relaySalary
)
==
CommonConstants
.
ZERO_INT
)
{
...
...
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TStatisticsLaborMapper.xml
View file @
0cf71411
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
<result
property=
"declareMonth"
column=
"DECLARE_MONTH"
/>
<result
property=
"declareMonth"
column=
"DECLARE_MONTH"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"workNo"
column=
"WORK_NO"
/>
<result
property=
"cardType"
column=
"CARD_TYPE"
/>
<result
property=
"cardType"
column=
"CARD_TYPE"
/>
<result
property=
"income"
column=
"INCOME"
/>
<result
property=
"income"
column=
"INCOME"
/>
<result
property=
"personalTax"
column=
"PERSONAL_TAX"
/>
<result
property=
"personalTax"
column=
"PERSONAL_TAX"
/>
...
@@ -41,7 +40,6 @@
...
@@ -41,7 +40,6 @@
a.DECLARE_MONTH,
a.DECLARE_MONTH,
a.EMP_NAME,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_IDCARD,
a.WORK_NO,
a.CARD_TYPE,
a.CARD_TYPE,
a.INCOME,
a.INCOME,
a.PERSONAL_TAX,
a.PERSONAL_TAX,
...
@@ -64,9 +62,6 @@
...
@@ -64,9 +62,6 @@
<if
test=
"tStatisticsLabor.empIdcard != null and tStatisticsLabor.empIdcard.trim() != ''"
>
<if
test=
"tStatisticsLabor.empIdcard != null and tStatisticsLabor.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tStatisticsLabor.empIdcard}
AND a.EMP_IDCARD = #{tStatisticsLabor.empIdcard}
</if>
</if>
<if
test=
"tStatisticsLabor.workNo != null and tStatisticsLabor.workNo.trim() != ''"
>
AND a.WORK_NO = #{tStatisticsLabor.workNo}
</if>
<if
test=
"tStatisticsLabor.cardType != null and tStatisticsLabor.cardType.trim() != ''"
>
<if
test=
"tStatisticsLabor.cardType != null and tStatisticsLabor.cardType.trim() != ''"
>
AND a.CARD_TYPE = #{tStatisticsLabor.cardType}
AND a.CARD_TYPE = #{tStatisticsLabor.cardType}
</if>
</if>
...
@@ -93,4 +88,15 @@
...
@@ -93,4 +88,15 @@
group by a.EMP_IDCARD,a.DECLARE_MONTH,a.EMP_NAME
group by a.EMP_IDCARD,a.DECLARE_MONTH,a.EMP_NAME
order by a.DECLARE_MONTH desc
order by a.DECLARE_MONTH desc
</select>
</select>
<!--统计-->
<select
id=
"doStatisticsLabor"
resultMap=
"tStatisticsLaborMap"
>
select
#{nowMonth} DECLARE_MONTH,a.EMP_NAME,a.EMP_IDCARD,a.SALARY_TAX PERSONAL_TAX,a.ACTUAL_SALARY INCOME,
b.UNIT_NAME DECLARE_UNIT,'一般劳务报酬所得' INCOME_ITEM,'居民身份证' CARD_TYPE
from t_salary_account a
left join t_salary_employee b on b.id = a.EMP_ID
where a.DELETE_FLAG = 0 and a.SETTLEMENT_MONTH like '${lastYear}%'
GROUP BY a.EMP_IDCARD
</select>
</mapper>
</mapper>
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TStatisticsRemunerationMapper.xml
View file @
0cf71411
...
@@ -32,7 +32,6 @@
...
@@ -32,7 +32,6 @@
<result
property=
"cardType"
column=
"CARD_TYPE"
/>
<result
property=
"cardType"
column=
"CARD_TYPE"
/>
<result
property=
"income"
column=
"INCOME"
/>
<result
property=
"income"
column=
"INCOME"
/>
<result
property=
"personalTax"
column=
"PERSONAL_TAX"
/>
<result
property=
"personalTax"
column=
"PERSONAL_TAX"
/>
<result
property=
"workNo"
column=
"WORK_NO"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
a.ID,
a.ID,
...
@@ -42,8 +41,7 @@
...
@@ -42,8 +41,7 @@
a.EMP_IDCARD,
a.EMP_IDCARD,
a.CARD_TYPE,
a.CARD_TYPE,
a.INCOME,
a.INCOME,
a.PERSONAL_TAX,
a.PERSONAL_TAX
a.WORK_NO
</sql>
</sql>
<sql
id=
"tStatisticsRemuneration_where"
>
<sql
id=
"tStatisticsRemuneration_where"
>
<if
test=
"tStatisticsRemuneration != null"
>
<if
test=
"tStatisticsRemuneration != null"
>
...
@@ -71,9 +69,6 @@
...
@@ -71,9 +69,6 @@
<if
test=
"tStatisticsRemuneration.personalTax != null"
>
<if
test=
"tStatisticsRemuneration.personalTax != null"
>
AND a.PERSONAL_TAX = #{tStatisticsRemuneration.personalTax}
AND a.PERSONAL_TAX = #{tStatisticsRemuneration.personalTax}
</if>
</if>
<if
test=
"tStatisticsRemuneration.workNo != null and tStatisticsRemuneration.workNo.trim() != ''"
>
AND a.WORK_NO = #{tStatisticsRemuneration.workNo}
</if>
</if>
</if>
</sql>
</sql>
<!--tStatisticsRemuneration简单分页查询-->
<!--tStatisticsRemuneration简单分页查询-->
...
...
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