六厂财务系统离线功能完善
This commit is contained in:
+3
-1
@@ -538,7 +538,9 @@
|
||||
sys_user_sub us
|
||||
JOIN st_client_member_balance mb ON us.id = mb.member_id
|
||||
<if test="timestamp != null and timestamp !='' ">
|
||||
AND (mb.create_time > FROM_UNIXTIME(#{timestamp} / 1000) or mb.last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000))
|
||||
AND (mb.create_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
||||
or mb.update_time > FROM_UNIXTIME(#{timestamp} / 1000)
|
||||
or mb.last_consumption_time > FROM_UNIXTIME(#{timestamp} / 1000))
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
+1
@@ -220,6 +220,7 @@ public class CqBaseEmployeeServiceImpl extends ServiceImpl<CqBaseEmployeeMapper,
|
||||
|
||||
@Override
|
||||
public List<StUserBalanceVo> getUserBalanceList(Long timestamp){
|
||||
System.out.println("用户余额心跳 :"+timestamp);
|
||||
return baseMapper.getUserBalanceList(timestamp);
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -156,6 +156,7 @@
|
||||
<if test="invoiceBalance != null">
|
||||
invoice_total = invoice_total + #{invoiceBalance,jdbcType=DECIMAL},
|
||||
</if>
|
||||
update_time = now(),
|
||||
is_sync = 0
|
||||
</set>
|
||||
where id = #{id}
|
||||
|
||||
Reference in New Issue
Block a user