Mr.qian 2 hete
szülő
commit
27158b9d84

+ 2 - 2
cif-service/src/main/java/com/txz/cif/service/impl/FlowServiceImpl.java

@@ -263,7 +263,7 @@ public class FlowServiceImpl extends AbstractService<Flow> implements FlowServic
             }
             Condition c = new Condition(AccountFreezd.class);
             c.createCriteria()
-                    .andEqualTo("type", AccountFreezdTypeEnum.REFUND_FREEZE)
+                    .andEqualTo("type", AccountFreezdTypeEnum.REFUND_FREEZE.getCode())
                     .andIn("status", CollUtil.newArrayList(1, 2))
                     .andEqualTo("userId", param.getUserId())
             ;
@@ -510,7 +510,7 @@ public class FlowServiceImpl extends AbstractService<Flow> implements FlowServic
     public void unfreezeRefund() {
         Condition c = new Condition(AccountFreezd.class);
         c.createCriteria()
-                .andEqualTo("type", AccountFreezdTypeEnum.REFUND_FREEZE)
+                .andEqualTo("type", AccountFreezdTypeEnum.REFUND_FREEZE.getCode())
                 .andIn("status", CollUtil.newArrayList(1, 2))
                 .andLessThanOrEqualTo("unfreezeTime", new Date())
         ;