Merge branch 'refs/heads/分账重构-总和'
This commit is contained in:
@ -149,8 +149,8 @@ public class WxProfitsharingServiceImpl implements WxProfitsharingService {
|
|||||||
public int startProfitsharing() {
|
public int startProfitsharing() {
|
||||||
//获取昨天营业额中的微信充值金额
|
//获取昨天营业额中的微信充值金额
|
||||||
BigDecimal today = wxProfitsharingMapper.getToday();
|
BigDecimal today = wxProfitsharingMapper.getToday();
|
||||||
if (today == null) {
|
if (ObjectUtil.isEmpty(today)) {
|
||||||
return 0;
|
today = BigDecimal.ZERO;
|
||||||
}
|
}
|
||||||
//转换单位 元-->分
|
//转换单位 元-->分
|
||||||
int money = today.multiply(new BigDecimal("100")).intValue();
|
int money = today.multiply(new BigDecimal("100")).intValue();
|
||||||
|
Reference in New Issue
Block a user