|
|
@@ -160,7 +160,7 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
|
|
|
@Override
|
|
|
public List<TopDivideLogVo> getCompanyList(TopDivideLogQueryBo bo) {
|
|
|
- if(Validator.isNotEmpty(bo.getPayStatus())){
|
|
|
+ if(Validator.isNotEmpty(bo.getPayStatus())&&bo.getPayStatus().size()>0){
|
|
|
List<Integer> payStatus = new ArrayList<>();
|
|
|
for(Integer status : bo.getPayStatus()){
|
|
|
if(status==2){
|
|
|
@@ -175,7 +175,7 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
}
|
|
|
bo.setPayStatus(payStatus);
|
|
|
}
|
|
|
- if(Validator.isNotEmpty(bo.getOverPayDay())){
|
|
|
+ if(Validator.isNotEmpty(bo.getOverPayDay())&&bo.getOverPayDay()>0){
|
|
|
bo.setNotPayStatus(1);
|
|
|
if(bo.getOverPayDay()==1){
|
|
|
bo.setOverPayDayTime(DateUtils.getNowTime()-(7*24*3600));
|
|
|
@@ -293,7 +293,7 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
|
|
|
@Override
|
|
|
public List<TopDivideLogVo> getSellerList(TopDivideLogQueryBo bo) {
|
|
|
- if(Validator.isNotEmpty(bo.getPayStatus())){
|
|
|
+ if(Validator.isNotEmpty(bo.getPayStatus())&&bo.getPayStatus().size()>0){
|
|
|
List<Integer> payStatus = new ArrayList<>();
|
|
|
for(Integer status : bo.getPayStatus()){
|
|
|
if(status==2){
|
|
|
@@ -308,7 +308,7 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
}
|
|
|
bo.setPayStatus(payStatus);
|
|
|
}
|
|
|
- if(Validator.isNotEmpty(bo.getOverPayDay())){
|
|
|
+ if(Validator.isNotEmpty(bo.getOverPayDay())&&bo.getOverPayDay()>0){
|
|
|
bo.setNotPayStatus(1);
|
|
|
if(bo.getOverPayDay()==1){
|
|
|
bo.setOverPayDayTime(DateUtils.getNowTime()-(7*24*3600));
|
|
|
@@ -345,7 +345,7 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
|
|
|
@Override
|
|
|
public List<TopDivideOrderVo> getCommissionList(TopDivideOrderQueryBo bo) {
|
|
|
- if(Validator.isNotEmpty(bo.getCheckStatus())){
|
|
|
+ if(Validator.isNotEmpty(bo.getCheckStatus())&&bo.getCheckStatus().size()>0){
|
|
|
List<Integer> payStatus = new ArrayList<>();
|
|
|
for(Integer status : bo.getCheckStatus()){
|
|
|
if(status==0){
|
|
|
@@ -385,6 +385,8 @@ public class TopDivideLogServiceImpl extends ServiceImpl<TopDivideLogMapper, Top
|
|
|
orderTotalPrice = orderTotalPrice.add(vo.getOrderPrice());
|
|
|
pretaxTotalBrokerage = pretaxTotalBrokerage.add(vo.getPretaxBrokerage());
|
|
|
}
|
|
|
+ Long result =iTopDivideOrderService.getMonthCreditWaitCount(bo);
|
|
|
+ map.put("waitAuditTotal", Validator.isNotEmpty(result)?result:0);
|
|
|
map.put("orderTotalPrice",orderTotalPrice); //订单金额
|
|
|
map.put("BrokerageTotalMoney",brokerageTotalMoney); //结算佣金
|
|
|
map.put("pretaxTotalBrokerage",pretaxTotalBrokerage);//税前佣金
|