|
@@ -10,6 +10,7 @@ import com.zanxiang.game.module.sdk.pojo.param.GameRemitLogParam;
|
|
|
import com.zanxiang.game.module.sdk.service.IGameExtService;
|
|
|
import com.zanxiang.game.module.sdk.service.IGameRemitLogService;
|
|
|
import com.zanxiang.game.module.sdk.util.SignUtil;
|
|
|
+import com.zanxiang.module.util.DateUtil;
|
|
|
import com.zanxiang.module.util.exception.BaseException;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -64,7 +65,7 @@ public class GameRemitLogServiceImpl extends ServiceImpl<GameRemitLogMapper, Gam
|
|
|
gameRemitLog.setAmount(param.getAmount());
|
|
|
gameRemitLog.setPayPlatform(PayWayEnum.getKeyByPayWayId(param.getPayPlatform()));
|
|
|
gameRemitLog.setPayAccount(param.getPayAccount());
|
|
|
- gameRemitLog.setCreatedTime(param.getCreatedTime());
|
|
|
+ gameRemitLog.setCreatedTime(DateUtil.milliToLocalDateTime(param.getCreatedTime()));
|
|
|
gameRemitLog.setUpdateTime(LocalDateTime.now());
|
|
|
}
|
|
|
return super.saveOrUpdate(gameRemitLog);
|
|
@@ -78,7 +79,7 @@ public class GameRemitLogServiceImpl extends ServiceImpl<GameRemitLogMapper, Gam
|
|
|
.amount(param.getAmount())
|
|
|
.payPlatform(PayWayEnum.getKeyByPayWayId(param.getPayPlatform()))
|
|
|
.payAccount(param.getPayAccount())
|
|
|
- .createdTime(param.getCreatedTime())
|
|
|
+ .createdTime(DateUtil.milliToLocalDateTime(param.getCreatedTime()))
|
|
|
.createTime(LocalDateTime.now())
|
|
|
.updateTime(LocalDateTime.now())
|
|
|
.build();
|