master
james.zhao 6 years ago
parent fb89c08f95
commit 84a8fe9d31

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

Loading…
Cancel
Save