Commit 5e04b95d authored by hongguangwu's avatar hongguangwu

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

parents 6c1be802 cd49609d
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
<groupId>com.yifu.cloud.plus.v1</groupId> <groupId>com.yifu.cloud.plus.v1</groupId>
<artifactId>yifu</artifactId> <artifactId>yifu</artifactId>
<version>1.0.0</version> <version>1.0.0</version>
<relativePath/>
</parent> </parent>
<artifactId>yifu-archives-api</artifactId> <artifactId>yifu-archives-api</artifactId>
......
...@@ -94,6 +94,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T ...@@ -94,6 +94,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
try{ try{
for(String userId : userIdList){ for(String userId : userIdList){
redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_VOS_BY_USERID +"_"+userId); redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_VOS_BY_USERID +"_"+userId);
redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_NOS_BY_USERID +"_"+userId);
// 清空userinfo // 清空userinfo
Objects.requireNonNull(cacheManager.getCache(CacheConstants.USER_DETAILS)).clear(); Objects.requireNonNull(cacheManager.getCache(CacheConstants.USER_DETAILS)).clear();
redisUtil.remove(CacheConstants.USER_DETAILS +"::"+ user.getUsername()); redisUtil.remove(CacheConstants.USER_DETAILS +"::"+ user.getUsername());
......
...@@ -75,24 +75,24 @@ ...@@ -75,24 +75,24 @@
a.VACATION_END_TIME between #{query.vacationStartTime} and #{query.vacationEndTime} a.VACATION_END_TIME between #{query.vacationStartTime} and #{query.vacationEndTime}
) )
</if> </if>
<if test="query.vacationStatus != null and query.vacationStatus.trim() != ''"> <if test="query.vacationStatus != null and query.vacationStatus.trim() != ''">
<!-- 待休 --> <!-- 待休 -->
<if test="query.vacationStatus == '0'.toString()"> <if test="query.vacationStatus == '0'.toString()">
and now() <![CDATA[<]]> a.VACATION_START_TIME and now() <![CDATA[<]]> a.VACATION_START_TIME and a.VACATION_STATUS = '4'
</if> </if>
<!-- 休假中 --> <!-- 休假中 -->
<if test="query.vacationStatus == '1'.toString()"> <if test="query.vacationStatus == '1'.toString()">
and now() <![CDATA[>=]]> a.VACATION_START_TIME and now() <![CDATA[<=]]> a.VACATION_END_TIME and now() <![CDATA[>=]]> a.VACATION_START_TIME and now() <![CDATA[<=]]> a.VACATION_END_TIME and a.VACATION_STATUS = '4'
</if> </if>
<!-- 到期待销假 --> <!-- 到期待销假 -->
<if test="query.vacationStatus == '2'.toString()"> <if test="query.vacationStatus == '2'.toString()">
and now() <![CDATA[>]]> a.VACATION_END_TIME and a.VACATION_STATUS = '4' and now() <![CDATA[>]]> a.VACATION_END_TIME and a.VACATION_STATUS = '4'
</if> </if>
<!-- 已销假 --> <!-- 已销假 -->
<if test="query.vacationStatus == '3'.toString()"> <if test="query.vacationStatus == '3'.toString()">
and a.VACATION_STATUS <![CDATA[<>]]> '4' and a.VACATION_STATUS <![CDATA[<>]]> '4'
</if> </if>
</if> </if>
</sql> </sql>
<select id="getListByPage" resultMap="TVacationInfoVO"> <select id="getListByPage" resultMap="TVacationInfoVO">
......
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