Ver Fonte

退款时用户已被删除问题处理

小么熊🐻 há 2 anos atrás
pai
commit
d3dea1ec07

+ 1 - 1
jsjp-admin/src/main/java/com/miaxis/app/controller/gzpt/GzptUserInfoController.java

@@ -102,7 +102,7 @@ public class GzptUserInfoController extends BaseController {
         //清除会员信息
         int i = userVipService.removeByUserId(gzptVideoVipDTO.getUserId());
         //清除激活信息
-        schActivationService.delSchActivationByStuId(gzptUserInfo.getOutId());
+        schActivationService.delSchActivationByUserId(gzptUserInfo.getId());
         return Response.success();
 
     }

+ 1 - 1
jsjp-admin/src/test/java/com/miaxis/test/NewGzptTest.java

@@ -47,7 +47,7 @@ public class NewGzptTest {
     public void test1() throws Exception {
        // int reuslt = activationService.isSchActivation(350101318159l);
        // System.out.println(reuslt);
-        activationService.upDelSchActivationByStuId(350101318159l,0);
+        activationService.upDelSchActivationByUserId(350101318159l,0);
     }
 
     @Test