Commit 9dbdca76 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.5.4' into MVP1.5.4

parents 2df0836b 6c94995c
...@@ -483,11 +483,6 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr ...@@ -483,11 +483,6 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
} }
} else { } else {
baseMapper.updateById(tEmployeeContractInfo); baseMapper.updateById(tEmployeeContractInfo);
if (CommonConstants.TWO_STRING.equals(tEmployeeContractInfo.getContractType())
|| CommonConstants.ZERO_STRING.equals(tEmployeeContractInfo.getContractType())) {
tEmployeeContractInfo.setContractEnd(null);
baseMapper.updateContractEnd(tEmployeeContractInfo);
}
} }
// 不是待提交,记录审核记录 // 不是待提交,记录审核记录
......
...@@ -163,7 +163,6 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal ...@@ -163,7 +163,6 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
data.setErrorFlag(true); data.setErrorFlag(true);
errorMessage.append("ID为空;"); errorMessage.append("ID为空;");
} else { } else {
TMinSalary ll = baseMapper.selectById(data.getId());
if (Common.isEmpty(baseMapper.selectById(data.getId()))) { if (Common.isEmpty(baseMapper.selectById(data.getId()))) {
data.setErrorFlag(true); data.setErrorFlag(true);
errorMessage.append("ID不存在无法更新,请核实后再操作!;"); errorMessage.append("ID不存在无法更新,请核实后再操作!;");
...@@ -171,135 +170,36 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal ...@@ -171,135 +170,36 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
if (Common.isEmpty(data.getLocation()) && Common.isEmpty(data.getSalaryBase()) && Common.isEmpty(data.getStatus())) { if (Common.isEmpty(data.getLocation()) && Common.isEmpty(data.getSalaryBase()) && Common.isEmpty(data.getStatus())) {
data.setErrorFlag(true); data.setErrorFlag(true);
errorMessage.append("所在地、最低工资(元)、状态为空;"); errorMessage.append("所在地、最低工资(元)、状态为空;");
}
if (data.getLocation().contains("-")) {
data.setErrorFlag(true);
errorMessage.append("所在地格式与列表保持一致;");
} else {
if (null != data.getLocation()) { if (null != data.getLocation()) {
if (data.getLocation().contains("/")) { String location[] = data.getLocation().split("/");
String location[] = data.getLocation().split("/"); if (!data.getLocation().isEmpty()) {
if (!data.getLocation().isEmpty()) { if (location.length == 1) {
if (location.length == 1) { data.setErrorFlag(true);
data.setErrorFlag(true); errorMessage.append("所在地”请精确到市或县/区;");
errorMessage.append("所在地”请精确到市或县/区;");
}
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisProvinceName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
} }
if (location.length == 2) { String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]); if (Common.isEmpty(redisProvinceName)) {
if (Common.isEmpty(redisProvinceName)) { data.setErrorFlag(true);
data.setErrorFlag(true); errorMessage.append("对应区域不存在;");
errorMessage.append("对应区域不存在;");
}
String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisCityName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
TMinSalary entity = baseMapper.selectById(data.getId());
if (Common.isNotNull(entity)) {
LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>();
if (Common.isNotNull(redisProvinceName)) {
query.eq(TMinSalary::getProvince, redisProvinceName);
}
if (Common.isNotNull(redisCityName)) {
query.eq(TMinSalary::getCity, redisCityName);
}
query.ne(TMinSalary::getId, data.getId());
long res = baseMapper.selectCount(query);
if (res > CommonConstants.ZERO_INT) {
data.setErrorFlag(true);
errorMessage.append("已存在对应区域在用的配置信息;");
}
}
}
if (location.length > 2) {
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisProvinceName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisCityName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
String redisTownName = getRedisAreaValue(location[CommonConstants.TWO_INT] + "_" + location[CommonConstants.ONE_INT]);
if (Common.isEmpty(redisTownName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
TMinSalary entity = baseMapper.selectById(data.getId());
if (Common.isNotNull(entity)) {
LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>();
if (Common.isNotNull(redisCityName)) {
query.eq(TMinSalary::getProvince, redisCityName);
}
if (Common.isNotNull(redisCityName)) {
query.eq(TMinSalary::getCity, redisCityName);
}
if (Common.isNotNull(redisTownName)) {
query.eq(TMinSalary::getTown, redisTownName);
}
if (Common.isEmpty(location[2])) {
query.isNull(TMinSalary::getTown);
}
query.ne(TMinSalary::getId, data.getId());
long res = baseMapper.selectCount(query);
if (res > CommonConstants.ZERO_INT) {
data.setErrorFlag(true);
errorMessage.append("已存在对应区域在用的配置信息;");
}
}
}
if (null != data.getSalaryBase()) {
if (!ValidityUtil.validateStandard(data.getSalaryBase())) {
data.setErrorFlag(true);
errorMessage.append("最低工资,请填写>0的两位小数;");
}
}
if (!data.getStatus().isEmpty()) {
if (!(CommonConstants.START.equals(data.getStatus()) || CommonConstants.STOP.equals(data.getStatus()))) {
data.setErrorFlag(true);
errorMessage.append("填写的状态不是启用或停用");
}
} }
} }
if (location.length == 2) {
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
if (data.getLocation().contains("-")) { if (Common.isEmpty(redisProvinceName)) {
String location[] = data.getLocation().split("-"); data.setErrorFlag(true);
if (!data.getLocation().isEmpty()) { errorMessage.append("对应区域不存在;");
if (location.length == 1) {
data.setErrorFlag(true);
errorMessage.append("所在地”请精确到市或县/区;");
}
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisProvinceName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
}
} }
if (location.length == 2) { String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]);
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]); if (Common.isEmpty(redisCityName)) {
if (Common.isEmpty(redisProvinceName)) { data.setErrorFlag(true);
data.setErrorFlag(true); errorMessage.append("对应区域不存在;");
errorMessage.append("对应区域不存在;");
}
String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]);
if (Common.isEmpty(redisCityName)) {
data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
} } else {
TMinSalary entity = baseMapper.selectById(data.getId()); TMinSalary entity = baseMapper.selectById(data.getId());
if (Common.isNotNull(entity)) { if (Common.isNotNull(entity)) {
LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>(); LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>();
...@@ -320,28 +220,30 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal ...@@ -320,28 +220,30 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
} }
} }
} }
if (location.length > 2) { }
String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]); if (location.length > 2) {
if (Common.isEmpty(redisProvinceName)) { String redisProvinceName = getRedisAreaValue(location[CommonConstants.ZERO_INT]);
data.setErrorFlag(true); if (Common.isEmpty(redisProvinceName)) {
errorMessage.append("对应区域不存在;"); data.setErrorFlag(true);
} errorMessage.append("对应区域不存在;");
String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]); }
if (Common.isEmpty(redisCityName)) { String redisCityName = getRedisAreaValue(location[CommonConstants.ONE_INT] + "_" + location[CommonConstants.ZERO_INT]);
data.setErrorFlag(true); if (Common.isEmpty(redisCityName)) {
errorMessage.append("对应区域不存在;"); data.setErrorFlag(true);
errorMessage.append("对应区域不存在;");
} }
String redisTownName = getRedisAreaValue(location[CommonConstants.TWO_INT] + "_" + location[CommonConstants.ONE_INT]); String redisTownName = getRedisAreaValue(location[CommonConstants.TWO_INT] + "_" + location[CommonConstants.ONE_INT]);
if (Common.isEmpty(redisTownName)) { if (Common.isEmpty(redisTownName)) {
data.setErrorFlag(true); data.setErrorFlag(true);
errorMessage.append("对应区域不存在;"); errorMessage.append("对应区域不存在;");
} }
else {
TMinSalary entity = baseMapper.selectById(data.getId()); TMinSalary entity = baseMapper.selectById(data.getId());
if (Common.isNotNull(entity)) { if (Common.isNotNull(entity)) {
LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>(); LambdaQueryWrapper<TMinSalary> query = new LambdaQueryWrapper<>();
if (Common.isNotNull(redisCityName)) { if (Common.isNotNull(redisProvinceName)) {
query.eq(TMinSalary::getProvince, redisCityName); query.eq(TMinSalary::getProvince, redisProvinceName);
} }
if (Common.isNotNull(redisCityName)) { if (Common.isNotNull(redisCityName)) {
query.eq(TMinSalary::getCity, redisCityName); query.eq(TMinSalary::getCity, redisCityName);
...@@ -361,84 +263,87 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal ...@@ -361,84 +263,87 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
} }
} }
} }
if (null != data.getSalaryBase()) {
if (!ValidityUtil.validateStandard(data.getSalaryBase())) {
data.setErrorFlag(true);
errorMessage.append("最低工资,请填写>0的两位小数;");
}
}
if (null != data.getStatus()) {
if (!(CommonConstants.START.equals(data.getStatus()) || CommonConstants.STOP.equals(data.getStatus()))) {
data.setErrorFlag(true);
errorMessage.append("填写的状态不是启用或停用");
}
}
} }
} }
} }
} if (null != data.getSalaryBase()) {
if (data.isErrorFlag()) { if (!ValidityUtil.validateStandard(data.getSalaryBase())) {
data.setErrorMessage(errorMessage.toString()); data.setErrorFlag(true);
} errorMessage.append("最低工资,请填写>0的两位小数;");
tMinSalaryImportVoList.add(data); }
} }
if (null != data.getStatus()) {
if (!(CommonConstants.START.equals(data.getStatus()) || CommonConstants.STOP.equals(data.getStatus()))) {
data.setErrorFlag(true);
errorMessage.append("填写的状态不是启用或停用");
}
}
}
if(data.isErrorFlag())
@Override {
public void doAfterAllAnalysed(AnalysisContext context) { data.setErrorMessage(errorMessage.toString());
saveData();
} }
tMinSalaryImportVoList.add(data);
}
private void saveData() {
List<TMinSalaryImportVo> salaryImportsSuccessList = tMinSalaryImportVoList.stream().filter(e -> e.isErrorFlag() != true).collect(Collectors.toList()); @Override
if (CollectionUtils.isNotEmpty(salaryImportsSuccessList)) { public void doAfterAllAnalysed (AnalysisContext context){
saveData();
//将成功的数据转换成需要入库的格式 }
salaryImportsSuccessList.stream().forEach(e -> {
TMinSalary selectOne = new TMinSalary(); private void saveData () {
selectOne.setId(e.getId()); List<TMinSalaryImportVo> salaryImportsSuccessList = tMinSalaryImportVoList.stream().filter(e -> e.isErrorFlag() != true).collect(Collectors.toList());
if(null!=e.getLocation()) { if (CollectionUtils.isNotEmpty(salaryImportsSuccessList)) {
if (e.getLocation().contains("/")) {
String location[] = e.getLocation().split("/"); //将成功的数据转换成需要入库的格式
if (location.length > 1) { salaryImportsSuccessList.stream().forEach(e -> {
for (int i = 0; i < location.length; i++) { TMinSalary selectOne = new TMinSalary();
if (i == CommonConstants.ZERO_INT) { selectOne.setId(e.getId());
int province = baseMapper.selectByAreaName(location[i]); if (null != e.getLocation()) {
selectOne.setProvince(province); if (e.getLocation().contains("/")) {
} String location[] = e.getLocation().split("/");
if (i == CommonConstants.ONE_INT) { if (location.length >1) {
int city = baseMapper.selectByAreaName(location[i]); for (int i = 0; i < location.length; i++) {
selectOne.setCity(city); if (i == CommonConstants.ZERO_INT) {
} int province = baseMapper.selectByAreaName(location[i]);
if (i == CommonConstants.TWO_INT) { selectOne.setProvince(province);
int town = baseMapper.selectByAreaName(location[i]); }
selectOne.setTown(town); if (i == CommonConstants.ONE_INT) {
int city = baseMapper.selectByAreaName(location[i]);
selectOne.setCity(city);
}
if (i == CommonConstants.TWO_INT) {
int town = baseMapper.selectByAreaName(location[i]);
selectOne.setTown(town);
}
} }
} }
} }
} if (e.getLocation().contains("-")) {
if (e.getLocation().contains("-")) { String location[] = e.getLocation().split("-");
String location[] = e.getLocation().split("-"); if (location.length > 1) {
if (location.length > 1) { for (int i = 0; i < location.length; i++) {
for (int i = 0; i < location.length; i++) { if (i == CommonConstants.ZERO_INT) {
if (i == CommonConstants.ZERO_INT) { int province = baseMapper.selectByAreaName(location[i]);
int province = baseMapper.selectByAreaName(location[i]); selectOne.setProvince(province);
selectOne.setProvince(province); }
} if (i == CommonConstants.ONE_INT) {
if (i == CommonConstants.ONE_INT) { int city = baseMapper.selectByAreaName(location[i]);
int city = baseMapper.selectByAreaName(location[i]); selectOne.setCity(city);
selectOne.setCity(city); }
} if (i == CommonConstants.TWO_INT) {
if (i == CommonConstants.TWO_INT) { int town = baseMapper.selectByAreaName(location[i]);
int town = baseMapper.selectByAreaName(location[i]); selectOne.setTown(town);
selectOne.setTown(town);
}
} }
} }
} }
} }
}
if (CommonConstants.START.equals(e.getStatus())) { if (CommonConstants.START.equals(e.getStatus())) {
selectOne.setStatus(CommonConstants.ONE_INT); selectOne.setStatus(CommonConstants.ONE_INT);
} }
...@@ -449,21 +354,24 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal ...@@ -449,21 +354,24 @@ public class TMinSalaryServiceImpl extends ServiceImpl<TMinSalaryMapper, TMinSal
selectOne.setUpdateTime(LocalDateTime.now()); selectOne.setUpdateTime(LocalDateTime.now());
baseMapper.updateById(selectOne); baseMapper.updateById(selectOne);
} }
); );
}
} }
}
}).sheet().doRead(); }).sheet().doRead();
} catch (Exception e) { } catch(
log.error(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR, e); Exception e)
return R.failed(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR);
}
//返回给前端的错误数据 {
List<TMinSalaryImportVo> errorImportErrorList = tMinSalaryImportVoList.stream().filter(e -> e.isErrorFlag() == true).collect(Collectors.toList()); log.error(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR, e);
return R.failed(CommonConstants.IMPORT_DATA_ANALYSIS_ERROR);
}
//返回给前端的错误数据
List<TMinSalaryImportVo> errorImportErrorList = tMinSalaryImportVoList.stream().filter(e -> e.isErrorFlag() == true).collect(Collectors.toList());
return R.ok(errorImportErrorList); return R.ok(errorImportErrorList);
} }
private String getRedisAreaValue(String areaString) { private String getRedisAreaValue(String areaString) {
......
...@@ -71,13 +71,13 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable { ...@@ -71,13 +71,13 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable {
private String settleDomainName; private String settleDomainName;
/** /**
* 社保缴纳地 * 生成月份
*/ */
@ExcelAttribute(name = "社保缴纳地" ) @ExcelAttribute(name = "生成月份")
@Schema(description ="社保缴纳地") @Schema(description ="生成月份")
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地") @ExcelProperty("生成月份")
private String socialPayAddr; private String socialCreateMonth;
/** /**
* 缴纳月份 * 缴纳月份
...@@ -89,13 +89,22 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable { ...@@ -89,13 +89,22 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable {
private String socialPayMonth; private String socialPayMonth;
/** /**
* 生成月份 * 社保户
*/ */
@ExcelAttribute(name = "生成月份") @ExcelAttribute(name = "社保户" )
@Schema(description ="生成月份") @Schema(description ="社保户")
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("生成月份") @ExcelProperty("社保户")
private String socialCreateMonth; private String socialHousehold;
/**
* 社保缴纳地
*/
@ExcelAttribute(name = "社保缴纳地" )
@Schema(description ="社保缴纳地")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保缴纳地")
private String socialPayAddr;
/** /**
* 养老金额 * 养老金额
...@@ -147,14 +156,6 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable { ...@@ -147,14 +156,6 @@ public class TPaymentInfoNewExportVo extends RowIndex implements Serializable {
@ExcelProperty("补缴利息") @ExcelProperty("补缴利息")
private BigDecimal accrualSum; private BigDecimal accrualSum;
/**
* 社保户
*/
@ExcelAttribute(name = "社保户" )
@Schema(description ="社保户")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保户")
private String socialHousehold;
/** /**
* 社保合计 * 社保合计
......
...@@ -830,6 +830,25 @@ ...@@ -830,6 +830,25 @@
</if> </if>
</sql> </sql>
<sql id="tPaymentInfo_export_socialFund_where1">
<if test="tPaymentInfo != null">
<if test="tPaymentInfo.idList == null">
<if test="tPaymentInfo.socialHousehold != null and tPaymentInfo.socialHousehold.trim() != ''">
AND k.SOCIAL_HOUSEHOLD = #{tPaymentInfo.socialHousehold}
</if>
<if test="tPaymentInfo.providentHousehold != null and tPaymentInfo.providentHousehold.trim() != ''">
AND k.PROVIDENT_HOUSEHOLD = #{tPaymentInfo.providentHousehold}
</if>
<if test="tPaymentInfo.socialCreateMonth != null and tPaymentInfo.socialCreateMonth.trim() != ''">
AND k.SOCIAL_CREATE_MONTH = #{tPaymentInfo.socialCreateMonth}
</if>
<if test="tPaymentInfo.socialPayMonth != null and tPaymentInfo.socialPayMonth.trim() != ''">
AND k.SOCIAL_PAY_MONTH = #{tPaymentInfo.socialPayMonth}
</if>
</if>
</if>
</sql>
<sql id="tPaymentInfo_export_fund_where"> <sql id="tPaymentInfo_export_fund_where">
<if test="tPaymentInfo != null"> <if test="tPaymentInfo != null">
<if test="tPaymentInfo.idList == null"> <if test="tPaymentInfo.idList == null">
...@@ -1182,6 +1201,54 @@ ...@@ -1182,6 +1201,54 @@
<!--tPaymentInfo简单分页查询--> <!--tPaymentInfo简单分页查询-->
<select id="getTPaymentInfoNewPageInfo" resultMap="tPaymentInfoNewMap"> <select id="getTPaymentInfoNewPageInfo" resultMap="tPaymentInfoNewMap">
SELECT SELECT
k.EMP_IDCARD,
k.EMP_NAME,
k.UNIT_NAME,
k.SETTLE_DOMAIN_NAME,
k.SOCIAL_HOUSEHOLD,
k.SOCIAL_SECURITY_NO,
k.SOCIAL_PAY_ADDR,
k.SOCIAL_PAY_MONTH,
k.SOCIAL_CREATE_MONTH,
k.PERSONAL_PROVIDENT_SUM,
k.SUM_ALL,
k.PROVIDENT_HOUSEHOLD,
k.PROVIDENT_PAY_ADDR,
k.SOCIAL_SUM,
k.UNIT_SOCIAL_SUM,
k.SOCIAL_SECURITY_PERSONAL_SUM,
k.PROVIDENT_SUM,
k.COMPANY_ACCRUAL,
k.PERSONAL_ACCRUAL,
k.UNIT_PENSION_SET,
k.UNIT_MEDICAL_SET,
k.UNIT_UNEMPLOYMENT_SET,
k.UNIT_INJURY_SET,
k.UNIT_BIRTH_SET,
k.UNIT_PENSION_MONEY,
k.UNIT_MEDICAL_MONEY,
k.UNIT_UNEMPLOYMENT_MONEY,
k.UNIT_INJURY_MONEY,
k.UNIT_BIRTH_MONEY,
k.UNIT_BIGMAILMENT_MONEY,
k.PERSONAL_PENSION_MONEY,
k.PERSONAL_MEDICAL_MONEY,
k.PERSONAL_UNEMPLOYMENT_MONEY,
k.PERSONAL_BIGMAILMENT_MONEY,
k.PENSION_MONEY_SUM,
k.MEDICAL_MONEY_SUM,
k.UNEMPLOYMENT_MONEY_SUM,
k.BIGMAILMENT_MONEY_SUM,
k.ACCRUAL_SUM,
k.PROVIDENT_NO,
k.PERSONAL_PROIDENT_SET,
k.UNIT_PROVIDENT_SET,
k.PROVIDENT_PERCENT,
k.SOCIAL_FUND_PERSONAL_SUM,
k.UNIT_SOCIAL_FUND_SUM,
k.UNIT_PROVIDENT_SUM
from (
select
w.keyGroup, w.keyGroup,
w.EMP_IDCARD, w.EMP_IDCARD,
w.EMP_NAME, w.EMP_NAME,
...@@ -1338,7 +1405,11 @@ ...@@ -1338,7 +1405,11 @@
GROUP BY a.EMP_IDCARD,a.PROVIDENT_PAY_MONTH,a.PROVIDENT_CREATE_MONTH,a.SETTLE_DOMAIN_CODE GROUP BY a.EMP_IDCARD,a.PROVIDENT_PAY_MONTH,a.PROVIDENT_CREATE_MONTH,a.SETTLE_DOMAIN_CODE
) )
) w ) w
GROUP BY w.keyGroup GROUP BY w.keyGroup) k
<where>
1 = 1
<include refid="tPaymentInfo_export_socialFund_where1"/>
</where>
</select> </select>
<!--tPaymentInfo数量查询--> <!--tPaymentInfo数量查询-->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment