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