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