diff --git a/mallinkPublicApi/src/main/java/com/iformall/utils/AppTest.java b/mallinkPublicApi/src/main/java/com/iformall/utils/AppTest.java index 3b08bcbb7..7a70f58a2 100644 --- a/mallinkPublicApi/src/main/java/com/iformall/utils/AppTest.java +++ b/mallinkPublicApi/src/main/java/com/iformall/utils/AppTest.java @@ -101,9 +101,9 @@ public class AppTest { paramMap.put("transactionId",String.valueOf(idWorker.nextId()));//***订单Id // paramMap.put("userNumber","551612907794915328");//***会员Id546907706202185728 paramMap.put("userPhone","18872592633");//会员手机号 - paramMap.put("timeEnd","2022-09-20 16:54:00");//***积分抵扣时间 - paramMap.put("amount",-99);//***积分 - paramMap.put("summary","加积分");// + paramMap.put("timeEnd","2022-09-20 17:24:00");//***积分抵扣时间 + paramMap.put("amount",-10000);//***积分 + paramMap.put("summary","再再扣你一万");// /** * 参数加密并封装 diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxThirdPartyOrdersServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxThirdPartyOrdersServiceImpl.java index 112a9a73a..51011b0af 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxThirdPartyOrdersServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxThirdPartyOrdersServiceImpl.java @@ -428,7 +428,7 @@ public class WxThirdPartyOrdersServiceImpl implements WxThirdPartyOrdersService creditHistory.setOperatorType(EnumUserType.THIRD_CIRCLE.getCode()); creditHistory.setCreditNum(record.getPayAmount()); creditHistory.setCreditType(EnumScoreType.CHANGE_CREDIT.getCode()); - creditHistory.setChangePurpose(record.getSourceAppName()+"·积分抵扣-"+record.getPayAmount()+"{"+record.getSummary()+"}"); + creditHistory.setChangePurpose(record.getSourceAppName()+"·积分抵扣-"+record.getPayAmount()+"("+record.getSummary()+")"); creditHistory.setCouponId(record.getId()); creditHistory = wxCreditHistoryService.saveOrUpdate(creditHistory, record.getTenantId()); Integer creditNum = 0; @@ -599,9 +599,9 @@ public class WxThirdPartyOrdersServiceImpl implements WxThirdPartyOrdersService creditHistory.setCreditNum(record.getPayAmount()); creditHistory.setCreditType(EnumScoreType.POINT_CHANGE.getCode()); if(creditHistory.getCreditNum() > 0){ - creditHistory.setChangePurpose(record.getSourceAppName()+"·积分新增"+record.getPayAmount()+"{"+record.getSummary()+"}"); + creditHistory.setChangePurpose(record.getSourceAppName()+"·积分新增"+record.getPayAmount()+"("+record.getSummary()+")"); }else if(creditHistory.getCreditNum() < 0){ - creditHistory.setChangePurpose(record.getSourceAppName()+"·积分扣减-"+record.getPayAmount()+"{"+record.getSummary()+"}"); + creditHistory.setChangePurpose(record.getSourceAppName()+"·积分扣减"+record.getPayAmount()+"("+record.getSummary()+")"); } creditHistory.setCouponId(record.getId());