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
ffc35ef4
Commit
ffc35ef4
authored
Nov 06, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.7.17' into MVP1.7.17
parents
878e5763
44587eed
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
17 deletions
+67
-17
TInsuranceWarnMapper.xml
...main/resources/mapper/insurances/TInsuranceWarnMapper.xml
+7
-1
TSocialFriendReduceSet.java
...ud/plus/v1/yifu/social/entity/TSocialFriendReduceSet.java
+4
-4
SociaFriendYgsAddVo.java
...ifu/cloud/plus/v1/yifu/social/vo/SociaFriendYgsAddVo.java
+17
-0
TSocialFriendPushServiceImpl.java
...ifu/social/service/impl/TSocialFriendPushServiceImpl.java
+33
-11
TSocialFriendMapper.xml
...ial-biz/src/main/resources/mapper/TSocialFriendMapper.xml
+6
-1
No files found.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceWarnMapper.xml
View file @
ffc35ef4
...
@@ -95,7 +95,9 @@
...
@@ -95,7 +95,9 @@
SELECT
SELECT
h.endTime,
h.endTime,
max( l.POLICY_START ) POLICY_START,
max( l.POLICY_START ) POLICY_START,
l.EMP_IDCARD_NO
l.EMP_IDCARD_NO,
l.INSURANCE_COMPANY_NAME,
l.INSURANCE_TYPE_NAME
FROM
FROM
(
(
SELECT
SELECT
...
@@ -142,7 +144,11 @@
...
@@ -142,7 +144,11 @@
) ll ON ll.EMP_IDCARD_NO = a.EMP_IDCARD_NO
) ll ON ll.EMP_IDCARD_NO = a.EMP_IDCARD_NO
AND ll.POLICY_START = a.POLICY_START
AND ll.POLICY_START = a.POLICY_START
AND ll.endTime = a.POLICY_END
AND ll.endTime = a.POLICY_END
AND ll.INSURANCE_COMPANY_NAME = a.INSURANCE_COMPANY_NAME
AND ll.INSURANCE_TYPE_NAME = a.INSURANCE_TYPE_NAME
where a.DELETE_FLAG = '0'
where a.DELETE_FLAG = '0'
AND a.EXPIRE_IGNORE_FLAG = '1'
AND a.IS_EFFECT = 0
</select>
</select>
<resultMap
id=
"PushWxResultMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceAlertWx"
>
<resultMap
id=
"PushWxResultMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.vo.InsuranceAlertWx"
>
<result
property=
"projectName"
column=
"DEPT_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"projectName"
column=
"DEPT_NAME"
jdbcType=
"VARCHAR"
/>
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFriendReduceSet.java
View file @
ffc35ef4
...
@@ -53,7 +53,7 @@ public class TSocialFriendReduceSet {
...
@@ -53,7 +53,7 @@ public class TSocialFriendReduceSet {
@Schema
(
description
=
"减少原因"
)
@Schema
(
description
=
"减少原因"
)
private
String
reduceReasonName
;
private
String
reduceReasonName
;
/**
/**
* 中断原因
* 中断原因
(池州特殊减员映射1:减员原因
*/
*/
@ExcelAttribute
(
name
=
"中断原因"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"中断原因"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"中断原因不能超过32个字符"
)
@Length
(
max
=
32
,
message
=
"中断原因不能超过32个字符"
)
...
@@ -61,7 +61,7 @@ public class TSocialFriendReduceSet {
...
@@ -61,7 +61,7 @@ public class TSocialFriendReduceSet {
@Schema
(
description
=
"中断原因"
)
@Schema
(
description
=
"中断原因"
)
private
String
tbyy
;
private
String
tbyy
;
/**
/**
* 劳动用工备案解除/终止原因
* 劳动用工备案解除/终止原因
(池州特殊减员映射2:劳动用工备案解除/终止原因
*/
*/
@ExcelAttribute
(
name
=
"劳动用工备案解除/终止原因"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"劳动用工备案解除/终止原因"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"劳动用工备案解除/终止原因不能超过32个字符"
)
@Length
(
max
=
32
,
message
=
"劳动用工备案解除/终止原因不能超过32个字符"
)
...
@@ -86,12 +86,12 @@ public class TSocialFriendReduceSet {
...
@@ -86,12 +86,12 @@ public class TSocialFriendReduceSet {
@Schema
(
description
=
"离职原因"
)
@Schema
(
description
=
"离职原因"
)
private
String
mvpKey
;
private
String
mvpKey
;
/**
/**
* 类型1:社保;2:医保
* 类型1:社保;2:医保
;3池州特殊减员映射
*/
*/
@ExcelAttribute
(
name
=
"类型"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"类型"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"类型"
)
@Length
(
max
=
32
,
message
=
"类型"
)
@ExcelProperty
(
"类型"
)
@ExcelProperty
(
"类型"
)
@Schema
(
description
=
"类型1:社保;2:医保"
)
@Schema
(
description
=
"类型1:社保;2:医保
;3池州特殊减员映射
"
)
private
String
mvpType
;
private
String
mvpType
;
}
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/SociaFriendYgsAddVo.java
View file @
ffc35ef4
...
@@ -2,6 +2,9 @@ package com.yifu.cloud.plus.v1.yifu.social.vo;
...
@@ -2,6 +2,9 @@ package com.yifu.cloud.plus.v1.yifu.social.vo;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.HeadFontStyle
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.io.Serializable
;
...
@@ -201,4 +204,18 @@ public class SociaFriendYgsAddVo implements Serializable {
...
@@ -201,4 +204,18 @@ public class SociaFriendYgsAddVo implements Serializable {
@ExcelProperty
(
"是否强制停保"
)
@ExcelProperty
(
"是否强制停保"
)
private
String
sfqztb
;
private
String
sfqztb
;
// 池州特殊减员映射1:减员原因
@ExcelProperty
(
"池州特殊减员映射1:减员原因"
)
private
String
chiZhouTbyy
;
// 池州特殊减员映射2:劳动用工备案解除/终止原因
@ExcelProperty
(
"池州特殊减员映射2:劳动用工备案解除/终止原因"
)
private
String
chiZhouZzyy
;
@ExcelProperty
(
"身份证省"
)
private
String
idCardProvince
;
@ExcelProperty
(
"身份证市"
)
private
String
idCardCity
;
@ExcelProperty
(
"身份证县"
)
private
String
idCardTown
;
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFriendPushServiceImpl.java
View file @
ffc35ef4
...
@@ -102,6 +102,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -102,6 +102,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
@Autowired
@Autowired
private
TDispatchInfoMapper
dispatchInfoMapper
;
private
TDispatchInfoMapper
dispatchInfoMapper
;
private
final
static
String
AND_STR
=
"&"
;
/**
/**
* @Description: 推送到税友
* @Description: 推送到税友
* @Author: hgw
* @Author: hgw
...
@@ -118,17 +119,19 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -118,17 +119,19 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
// 通用的模板+查到的户的模板map
// 通用的模板+查到的户的模板map
Map
<
String
,
URL
>
templateSrcMap
=
new
HashMap
<>();
Map
<
String
,
URL
>
templateSrcMap
=
new
HashMap
<>();
// 通用的花名册模板
// 通用的花名册模板
List
<
TAttaInfo
>
srcList
=
attaInfoMapper
.
getTemplateSrcById
();
// 2025-11-4 17:45:38 1.7.17-税友临时分支,此处代码暂时注释掉,因为需求(陈红)说暂时不要通用花名册模板,后面有可能还是要通用花名册模板
// List<TAttaInfo> srcList = attaInfoMapper.getTemplateSrcById();
URL
url
;
URL
url
;
if
(
srcList
!=
null
&&
!
srcList
.
isEmpty
())
{
/*
if (srcList != null && !srcList.isEmpty()) {
for (TAttaInfo src : srcList) {
for (TAttaInfo src : srcList) {
url = ossUtil.getObjectUrl(null, src.getAttaSrc());
url = ossUtil.getObjectUrl(null, src.getAttaSrc());
templateSrcMap.put("template_" + src.getId(), url);
templateSrcMap.put("template_" + src.getId(), url);
}
}
}
}
*/
// 离职原因Map,将离职原因翻译为税友的字典
// 离职原因Map,将离职原因翻译为税友的字典
Map
<
String
,
TSocialFriendReduceSet
>
reduceYgsMap
=
tSocialFriendReduceSetService
.
getFriendReduceMap
(
CommonConstants
.
ONE_STRING
);
Map
<
String
,
TSocialFriendReduceSet
>
reduceYgsMap
=
tSocialFriendReduceSetService
.
getFriendReduceMap
(
CommonConstants
.
ONE_STRING
);
Map
<
String
,
TSocialFriendReduceSet
>
reduceYsdMap
=
tSocialFriendReduceSetService
.
getFriendReduceMap
(
CommonConstants
.
TWO_STRING
);
Map
<
String
,
TSocialFriendReduceSet
>
reduceYsdMap
=
tSocialFriendReduceSetService
.
getFriendReduceMap
(
CommonConstants
.
TWO_STRING
);
Map
<
String
,
TSocialFriendReduceSet
>
reduceChiZhouMap
=
tSocialFriendReduceSetService
.
getFriendReduceMap
(
CommonConstants
.
THREE_STRING
);
// 获取时间限制配置(获取 当月启用 的配置)
// 获取时间限制配置(获取 当月启用 的配置)
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
=
tSocialDeadlineInfoService
.
getSocialSetByAreaId
();
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
=
tSocialDeadlineInfoService
.
getSocialSetByAreaId
();
...
@@ -151,23 +154,23 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -151,23 +154,23 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
// 养工失新增列表
// 养工失新增列表
List
<
SociaFriendYgsAddVo
>
ygsAddlist
=
baseMapper
.
getSocialSoldierYgsAddVoList
(
dispatchIdList
);
List
<
SociaFriendYgsAddVo
>
ygsAddlist
=
baseMapper
.
getSocialSoldierYgsAddVoList
(
dispatchIdList
);
if
(
ygsAddlist
!=
null
&&
!
ygsAddlist
.
isEmpty
())
{
if
(
ygsAddlist
!=
null
&&
!
ygsAddlist
.
isEmpty
())
{
this
.
doPushSocialAndLogYgs
(
socialSetMap
,
ygsAddlist
,
1
,
reduceYgsMap
,
zhangMap
,
templateUrl
,
templateSrcMap
);
this
.
doPushSocialAndLogYgs
(
socialSetMap
,
ygsAddlist
,
1
,
reduceYgsMap
,
zhangMap
,
templateUrl
,
templateSrcMap
,
reduceChiZhouMap
);
}
}
// 养工失减少列表
// 养工失减少列表
List
<
SociaFriendYgsAddVo
>
ygsReducelist
=
baseMapper
.
getSocialSoldierYgsReduceVoList
(
dispatchIdList
);
List
<
SociaFriendYgsAddVo
>
ygsReducelist
=
baseMapper
.
getSocialSoldierYgsReduceVoList
(
dispatchIdList
);
if
(
ygsReducelist
!=
null
&&
!
ygsReducelist
.
isEmpty
())
{
if
(
ygsReducelist
!=
null
&&
!
ygsReducelist
.
isEmpty
())
{
this
.
doPushSocialAndLogYgs
(
socialSetMap
,
ygsReducelist
,
2
,
reduceYgsMap
,
zhangMap
,
templateUrl
,
templateSrcMap
);
this
.
doPushSocialAndLogYgs
(
socialSetMap
,
ygsReducelist
,
2
,
reduceYgsMap
,
zhangMap
,
templateUrl
,
templateSrcMap
,
reduceChiZhouMap
);
}
}
// 医生大新增列表
// 医生大新增列表
List
<
SociaFriendYgsAddVo
>
ysdAddlist
=
baseMapper
.
getSocialSoldierYsdAddVoList
(
dispatchIdList
);
List
<
SociaFriendYgsAddVo
>
ysdAddlist
=
baseMapper
.
getSocialSoldierYsdAddVoList
(
dispatchIdList
);
if
(
ysdAddlist
!=
null
&&
!
ysdAddlist
.
isEmpty
())
{
if
(
ysdAddlist
!=
null
&&
!
ysdAddlist
.
isEmpty
())
{
this
.
doPushSocialAndLogYsd
(
socialSetMap
,
ysdAddlist
,
3
,
reduceYsdMap
,
zhangMap
,
templateUrl
,
templateSrcMap
);
this
.
doPushSocialAndLogYsd
(
socialSetMap
,
ysdAddlist
,
3
,
reduceYsdMap
,
zhangMap
,
templateUrl
,
templateSrcMap
,
reduceChiZhouMap
);
}
}
// 医生大减少列表
// 医生大减少列表
List
<
SociaFriendYgsAddVo
>
ysdReducelist
=
baseMapper
.
getSocialSoldierYsdReduceVoList
(
dispatchIdList
);
List
<
SociaFriendYgsAddVo
>
ysdReducelist
=
baseMapper
.
getSocialSoldierYsdReduceVoList
(
dispatchIdList
);
if
(
ysdReducelist
!=
null
&&
!
ysdReducelist
.
isEmpty
())
{
if
(
ysdReducelist
!=
null
&&
!
ysdReducelist
.
isEmpty
())
{
this
.
doPushSocialAndLogYsd
(
socialSetMap
,
ysdReducelist
,
4
,
reduceYsdMap
,
zhangMap
,
templateUrl
,
templateSrcMap
);
this
.
doPushSocialAndLogYsd
(
socialSetMap
,
ysdReducelist
,
4
,
reduceYsdMap
,
zhangMap
,
templateUrl
,
templateSrcMap
,
reduceChiZhouMap
);
}
}
if
((
ygsAddlist
==
null
||
ygsAddlist
.
isEmpty
())
if
((
ygsAddlist
==
null
||
ygsAddlist
.
isEmpty
())
&&
(
ygsReducelist
==
null
||
ygsReducelist
.
isEmpty
())
&&
(
ygsReducelist
==
null
||
ygsReducelist
.
isEmpty
())
...
@@ -195,7 +198,8 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -195,7 +198,8 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
**/
**/
private
R
<
String
>
doPushSocialAndLogYgs
(
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
private
R
<
String
>
doPushSocialAndLogYgs
(
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
,
List
<
SociaFriendYgsAddVo
>
ygsAddlist
,
int
type
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceMap
,
List
<
SociaFriendYgsAddVo
>
ygsAddlist
,
int
type
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceMap
,
Map
<
String
,
URL
>
zhangMap
,
URL
templateUrl
,
Map
<
String
,
URL
>
templateSrcMap
)
{
,
Map
<
String
,
URL
>
zhangMap
,
URL
templateUrl
,
Map
<
String
,
URL
>
templateSrcMap
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceChiZhouMap
)
{
int
canPushType
;
int
canPushType
;
TSocialInfo
socialInfo
;
TSocialInfo
socialInfo
;
String
typeStr
=
"提交"
;
String
typeStr
=
"提交"
;
...
@@ -251,6 +255,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -251,6 +255,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
}
continue
;
continue
;
}
}
reduceSet
=
reduceChiZhouMap
.
get
(
vo
.
getTbyy
());
if
(
reduceSet
!=
null
)
{
vo
.
setChiZhouTbyy
(
reduceSet
.
getTbyy
());
vo
.
setChiZhouZzyy
(
reduceSet
.
getZzyy
());
}
}
}
// 0:未到时间不动; 1:推送; 2:转人工;3预减员
// 0:未到时间不动; 1:推送; 2:转人工;3预减员
canPushType
=
this
.
getCanPushType
(
socialSetMap
,
vo
);
canPushType
=
this
.
getCanPushType
(
socialSetMap
,
vo
);
...
@@ -486,7 +495,8 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -486,7 +495,8 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
**/
**/
private
void
doPushSocialAndLogYsd
(
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
private
void
doPushSocialAndLogYsd
(
Map
<
String
,
TSocialDeadlineInfo
>
socialSetMap
,
List
<
SociaFriendYgsAddVo
>
ysdAddlist
,
int
type
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceMap
,
List
<
SociaFriendYgsAddVo
>
ysdAddlist
,
int
type
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceMap
,
Map
<
String
,
URL
>
zhangMap
,
URL
templateUrl
,
Map
<
String
,
URL
>
templateSrcMap
)
{
,
Map
<
String
,
URL
>
zhangMap
,
URL
templateUrl
,
Map
<
String
,
URL
>
templateSrcMap
,
Map
<
String
,
TSocialFriendReduceSet
>
reduceChiZhouMap
)
{
int
canPushType
;
int
canPushType
;
TSocialInfo
socialInfo
;
TSocialInfo
socialInfo
;
String
typeStr
=
"提交"
;
String
typeStr
=
"提交"
;
...
@@ -557,6 +567,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -557,6 +567,11 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
}
continue
;
continue
;
}
}
reduceSet
=
reduceChiZhouMap
.
get
(
vo
.
getTbyy
());
if
(
reduceSet
!=
null
)
{
vo
.
setChiZhouTbyy
(
reduceSet
.
getTbyy
());
vo
.
setChiZhouZzyy
(
reduceSet
.
getZzyy
());
}
}
}
canPushType
=
this
.
getCanPushTypeYsd
(
socialSetMap
,
vo
);
canPushType
=
this
.
getCanPushTypeYsd
(
socialSetMap
,
vo
);
if
(
1
==
canPushType
)
{
if
(
1
==
canPushType
)
{
...
@@ -1518,7 +1533,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -1518,7 +1533,7 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
}
}
if
(
key
.
contains
(
CommonConstants
.
QIAN_MING
))
{
if
(
key
.
contains
(
CommonConstants
.
QIAN_MING
))
{
// 签名样式
// 签名样式
qianMingArr
=
key
.
split
(
"&"
);
qianMingArr
=
key
.
split
(
AND_STR
);
if
(
qianMingArr
.
length
>
1
)
{
if
(
qianMingArr
.
length
>
1
)
{
key
=
qianMingArr
[
1
];
key
=
qianMingArr
[
1
];
}
else
{
}
else
{
...
@@ -1528,11 +1543,18 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
...
@@ -1528,11 +1543,18 @@ public class TSocialFriendPushServiceImpl extends ServiceImpl<TSocialFriendMappe
setQianMingStyle
(
cell
,
newValue
);
setQianMingStyle
(
cell
,
newValue
);
}
else
if
(
key
.
contains
(
CommonConstants
.
GU_DING
))
{
}
else
if
(
key
.
contains
(
CommonConstants
.
GU_DING
))
{
// 固定文字
// 固定文字
qianMingArr
=
key
.
split
(
"&"
);
qianMingArr
=
key
.
split
(
AND_STR
);
if
(
qianMingArr
.
length
>
1
)
{
if
(
qianMingArr
.
length
>
1
)
{
key
=
qianMingArr
[
1
];
key
=
qianMingArr
[
1
];
cell
.
setCellValue
(
key
);
cell
.
setCellValue
(
key
);
}
}
}
else
if
(
key
.
contains
(
AND_STR
))
{
qianMingArr
=
key
.
split
(
AND_STR
);
newValue
=
""
;
for
(
String
s
:
qianMingArr
)
{
newValue
+=
getFieldValue
(
vo
,
s
);
}
cell
.
setCellValue
(
newValue
);
}
else
{
}
else
{
newValue
=
getFieldValue
(
vo
,
key
);
newValue
=
getFieldValue
(
vo
,
key
);
cell
.
setCellValue
(
newValue
);
cell
.
setCellValue
(
newValue
);
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFriendMapper.xml
View file @
ffc35ef4
...
@@ -106,6 +106,9 @@
...
@@ -106,6 +106,9 @@
,DATE_FORMAT(now(),"%Y年%m月%d日") nowDay
,DATE_FORMAT(now(),"%Y年%m月%d日") nowDay
,s.SOCIAL_HOUSEHOLD huId
,s.SOCIAL_HOUSEHOLD huId
,s.SFQZTB sfqztb
,s.SFQZTB sfqztb
,idp.AREA_NAME idCardProvince
,idc.AREA_NAME idCardCity
,idt.AREA_NAME idCardTown
</sql>
</sql>
...
@@ -117,7 +120,9 @@
...
@@ -117,7 +120,9 @@
left join t_dispatch_social_fund_info h on a.id = h.REDUCE_SOCIAL_FUND_ID
left join t_dispatch_social_fund_info h on a.id = h.REDUCE_SOCIAL_FUND_ID
left join sys_house_hold_info shh on shh.id = s.SOCIAL_HOUSEHOLD
left join sys_house_hold_info shh on shh.id = s.SOCIAL_HOUSEHOLD
left join view_sys_dict_item nation on nation.value=a.EMP_NATIONAL and nation.type='emp_national'
left join view_sys_dict_item nation on nation.value=a.EMP_NATIONAL and nation.type='emp_national'
left join sys_area idp on idp.id = a.ID_CARD_PROVINCE
left join sys_area idc on idc.id = a.ID_CARD_CITY
left join sys_area idt on idt.id = a.ID_CARD_TOWN
<include
refid=
"where_getSocialSoldier_base_handler"
/>
<include
refid=
"where_getSocialSoldier_base_handler"
/>
and DATE_FORMAT(a.AUDIT_TIME,'%Y%m') = DATE_FORMAT(now(),'%Y%m')
and DATE_FORMAT(a.AUDIT_TIME,'%Y%m') = DATE_FORMAT(now(),'%Y%m')
</sql>
</sql>
...
...
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