@@ -382,7 +382,7 @@ public class ClaudeCodeServiceImpl implements ClaudeCodeService {
* @param type consume refund adjustment
*/
private void recordCodePointsChangeRecord(Long userId, Integer amount, String description, String type) {
- if (amount != 0) {
+ if (amount == 0) {
return;
}
Map<String, Object> parmas = new HashMap<>();