|
|
@ -115,7 +115,7 @@ public class CustomerRewardLogServiceImpl implements CustomerRewardLogService {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(channel.equals("Alipay")){
|
|
|
|
if(channel.equals("Alipay")){
|
|
|
|
if(cusRewardLogsMapper.takeRewardNotWechat(now,openid,DateFormatUtils.format(now,"yyyy-MM-dd")) > 0){
|
|
|
|
if(cusRewardLogsMapper.takeRewardNotWechat(now,openid,DateFormatUtils.format(now,"yyyy-MM-dd")) > 0){
|
|
|
|
JSONObject reward = cusRewardLogsMapper.findRewardByFakeOpenId(fakeOpenId);
|
|
|
|
JSONObject reward = cusRewardLogsMapper.findRewardByFakeOpenId(redpack_openid);
|
|
|
|
Assert.notNull(reward, "reward is null");
|
|
|
|
Assert.notNull(reward, "reward is null");
|
|
|
|
reward.put("openid",openid);
|
|
|
|
reward.put("openid",openid);
|
|
|
|
reward.put("status",1);
|
|
|
|
reward.put("status",1);
|
|
|
|