修复时间问题
This commit is contained in:
parent
b9361ac3ff
commit
b98d91a2fb
@ -18,7 +18,7 @@ import com.red.circle.other.infra.database.rds.service.user.user.CpValueService;
|
||||
import com.red.circle.other.infra.enums.user.user.CpRelationshipStatus;
|
||||
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
@ -93,13 +93,14 @@ class UserCpPairUserProfileQryExeTest {
|
||||
}
|
||||
|
||||
private static CpRelationship relationship(Long userId, Long cpUserId, Long cpValId) {
|
||||
return new CpRelationship()
|
||||
CpRelationship relationship = new CpRelationship()
|
||||
.setUserId(userId)
|
||||
.setCpUserId(cpUserId)
|
||||
.setCpValId(cpValId)
|
||||
.setRelationType("BROTHER")
|
||||
.setStatus(CpRelationshipStatus.NORMAL.name())
|
||||
.setCreateTime(new Date(System.currentTimeMillis() - 86_400_000L));
|
||||
.setStatus(CpRelationshipStatus.NORMAL.name());
|
||||
relationship.setCreateTime(new Timestamp(System.currentTimeMillis() - 86_400_000L));
|
||||
return relationship;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user