大赛管理功能
This commit is contained in:
parent
07e23db1db
commit
1931e5f52f
|
@ -1 +1 @@
|
|||
Subproject commit 66d5d3dc2b65341762998d7cf2c09c19669dbec3
|
||||
Subproject commit 339190b74e518b397088b00a94e99400c1b8996b
|
|
@ -3377,13 +3377,13 @@ public final class RaceTask {
|
|||
getStandardsBytes();
|
||||
|
||||
/**
|
||||
* <code>int64 sceneId = 5;</code>
|
||||
* <code>int64 scene_id = 5;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
long getSceneId();
|
||||
|
||||
/**
|
||||
* <code>int64 parentId = 6;</code>
|
||||
* <code>int64 parent_id = 6;</code>
|
||||
* @return The parentId.
|
||||
*/
|
||||
long getParentId();
|
||||
|
@ -3583,10 +3583,10 @@ public final class RaceTask {
|
|||
}
|
||||
}
|
||||
|
||||
public static final int SCENEID_FIELD_NUMBER = 5;
|
||||
public static final int SCENE_ID_FIELD_NUMBER = 5;
|
||||
private long sceneId_ = 0L;
|
||||
/**
|
||||
* <code>int64 sceneId = 5;</code>
|
||||
* <code>int64 scene_id = 5;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
@ -3594,10 +3594,10 @@ public final class RaceTask {
|
|||
return sceneId_;
|
||||
}
|
||||
|
||||
public static final int PARENTID_FIELD_NUMBER = 6;
|
||||
public static final int PARENT_ID_FIELD_NUMBER = 6;
|
||||
private long parentId_ = 0L;
|
||||
/**
|
||||
* <code>int64 parentId = 6;</code>
|
||||
* <code>int64 parent_id = 6;</code>
|
||||
* @return The parentId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
@ -3712,10 +3712,10 @@ public final class RaceTask {
|
|||
hash = (53 * hash) + getContent().hashCode();
|
||||
hash = (37 * hash) + STANDARDS_FIELD_NUMBER;
|
||||
hash = (53 * hash) + getStandards().hashCode();
|
||||
hash = (37 * hash) + SCENEID_FIELD_NUMBER;
|
||||
hash = (37 * hash) + SCENE_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getSceneId());
|
||||
hash = (37 * hash) + PARENTID_FIELD_NUMBER;
|
||||
hash = (37 * hash) + PARENT_ID_FIELD_NUMBER;
|
||||
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
|
||||
getParentId());
|
||||
hash = (29 * hash) + getUnknownFields().hashCode();
|
||||
|
@ -4309,7 +4309,7 @@ public final class RaceTask {
|
|||
|
||||
private long sceneId_ ;
|
||||
/**
|
||||
* <code>int64 sceneId = 5;</code>
|
||||
* <code>int64 scene_id = 5;</code>
|
||||
* @return The sceneId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
@ -4317,7 +4317,7 @@ public final class RaceTask {
|
|||
return sceneId_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 sceneId = 5;</code>
|
||||
* <code>int64 scene_id = 5;</code>
|
||||
* @param value The sceneId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
|
@ -4329,7 +4329,7 @@ public final class RaceTask {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 sceneId = 5;</code>
|
||||
* <code>int64 scene_id = 5;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearSceneId() {
|
||||
|
@ -4341,7 +4341,7 @@ public final class RaceTask {
|
|||
|
||||
private long parentId_ ;
|
||||
/**
|
||||
* <code>int64 parentId = 6;</code>
|
||||
* <code>int64 parent_id = 6;</code>
|
||||
* @return The parentId.
|
||||
*/
|
||||
@java.lang.Override
|
||||
|
@ -4349,7 +4349,7 @@ public final class RaceTask {
|
|||
return parentId_;
|
||||
}
|
||||
/**
|
||||
* <code>int64 parentId = 6;</code>
|
||||
* <code>int64 parent_id = 6;</code>
|
||||
* @param value The parentId to set.
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
|
@ -4361,7 +4361,7 @@ public final class RaceTask {
|
|||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>int64 parentId = 6;</code>
|
||||
* <code>int64 parent_id = 6;</code>
|
||||
* @return This builder for chaining.
|
||||
*/
|
||||
public Builder clearParentId() {
|
||||
|
@ -5820,16 +5820,16 @@ public final class RaceTask {
|
|||
"\n\007content\030\004 \001(\t\022\021\n\tstandards\030\005 \001(\t\022\017\n\007sc" +
|
||||
"eneId\030\006 \001(\003\022\016\n\006ruleId\030\010 \001(\003\022\020\n\010parentId\030" +
|
||||
"\n \001(\003\022(\n\nmodifyInfo\030\013 \001(\0132\024.common.Modif" +
|
||||
"yInfoVO\"u\n\020RaceTaskCreateVO\022\014\n\004name\030\001 \001(" +
|
||||
"yInfoVO\"w\n\020RaceTaskCreateVO\022\014\n\004name\030\001 \001(" +
|
||||
"\t\022\014\n\004desc\030\002 \001(\t\022\017\n\007content\030\003 \001(\t\022\021\n\tstan" +
|
||||
"dards\030\004 \001(\t\022\017\n\007sceneId\030\005 \001(\003\022\020\n\010parentId" +
|
||||
"\030\006 \001(\003\"\206\001\n\014RaceTaskBind\022\016\n\006bindId\030\002 \001(\003\022" +
|
||||
"1\n\010bindType\030\003 \001(\0162\037.race.RaceTaskBind.Ta" +
|
||||
"skBindType\022\016\n\006status\030\004 \001(\005\"#\n\014TaskBindTy" +
|
||||
"pe\022\010\n\004rule\020\000\022\t\n\005scene\020\001\"B\n\017RaceTaskBindA" +
|
||||
"ll\022\016\n\006taskId\030\001 \001(\003\022\016\n\006ruleId\030\002 \001(\003\022\017\n\007sc" +
|
||||
"eneId\030\003 \001(\003B\033\n\031club.joylink.rtss.vo.race" +
|
||||
"b\006proto3"
|
||||
"dards\030\004 \001(\t\022\020\n\010scene_id\030\005 \001(\003\022\021\n\tparent_" +
|
||||
"id\030\006 \001(\003\"\206\001\n\014RaceTaskBind\022\016\n\006bindId\030\002 \001(" +
|
||||
"\003\0221\n\010bindType\030\003 \001(\0162\037.race.RaceTaskBind." +
|
||||
"TaskBindType\022\016\n\006status\030\004 \001(\005\"#\n\014TaskBind" +
|
||||
"Type\022\010\n\004rule\020\000\022\t\n\005scene\020\001\"B\n\017RaceTaskBin" +
|
||||
"dAll\022\016\n\006taskId\030\001 \001(\003\022\016\n\006ruleId\030\002 \001(\003\022\017\n\007" +
|
||||
"sceneId\030\003 \001(\003B\033\n\031club.joylink.rtss.vo.ra" +
|
||||
"ceb\006proto3"
|
||||
};
|
||||
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
||||
.internalBuildGeneratedFileFrom(descriptorData,
|
||||
|
|
|
@ -18,7 +18,7 @@ public class SceneServiceTest {
|
|||
@Test
|
||||
public void publishTest() {
|
||||
RaceScenePublishVO.Builder p = RaceScenePublishVO.newBuilder();
|
||||
p.setTraningPublishId(847);
|
||||
p.setDafitid(847);
|
||||
p.setName("asdfasdf");
|
||||
this.sceneService.publishHere(p.build(), SeasonServiceTest.createAccount());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue