|
|
@@ -213,8 +213,12 @@ public class WxCreditHistoryServiceImpl implements WxCreditHistoryService { |
|
|
} else if (wxCUserBasicInfo != null && wxCUserBasicInfo.getCredit() != null && wxCUserBasicInfo.getCredit() > 0) { |
|
|
} else if (wxCUserBasicInfo != null && wxCUserBasicInfo.getCredit() != null && wxCUserBasicInfo.getCredit() > 0) { |
|
|
currentCreditAmount = wxCUserBasicInfo.getCredit(); |
|
|
currentCreditAmount = wxCUserBasicInfo.getCredit(); |
|
|
} |
|
|
} |
|
|
record.setCreditAmount(currentCreditAmount); |
|
|
|
|
|
record.setCreditNum(0); |
|
|
|
|
|
|
|
|
if (record.getCreditAmount() == null) { |
|
|
|
|
|
record.setCreditAmount(currentCreditAmount); |
|
|
|
|
|
} |
|
|
|
|
|
if (record.getCreditNum() == null) { |
|
|
|
|
|
record.setCreditNum(0); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
int creditChangeNumOrigin = creditIncrement(record); |
|
|
int creditChangeNumOrigin = creditIncrement(record); |
|
|
int creditChangeNum = creditChangeNumOrigin ; |
|
|
int creditChangeNum = creditChangeNumOrigin ; |
|
|
|