|
|
@@ -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())
|
|
|
;
|