dos преди 1 месец
родител
ревизия
b791cd7998
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      game-business/src/main/java/com/game/business/controller/AppUsersCashrecordController.java

+ 2 - 1
game-business/src/main/java/com/game/business/controller/AppUsersCashrecordController.java

@@ -151,7 +151,8 @@ public class AppUsersCashrecordController extends BaseController
         update.setId(cashrecord.getId());
         update.setStatus(appUsersCashrecord.getStatus());
         update.setReason(appUsersCashrecord.getReason());
-        if(appUsersCashrecord.getCallOther() == 0 && 1== appUsersCashrecord.getStatus().intValue()){
+        if(appUsersCashrecord.getCallOther() == 0 && 1== appUsersCashrecord.getStatus().intValue() &&
+                (null == appUsersCashrecord.getCashChannelId() || appUsersCashrecord.getCashChannelId() < 1)){
             return R.fail("审核失败,未找到对应渠道,请驳回或者人工审核");
         }
         if(1 == appUsersCashrecord.getStatus().intValue() && null != appUsersCashrecord.getCashChannelId() && appUsersCashrecord.getCashChannelId() > 0