|
|
@@ -1,14 +1,13 @@
|
|
|
package com.lc.ibps.org.api;
|
|
|
|
|
|
+import com.lc.ibps.org.party.persistence.entity.*;
|
|
|
import org.hibernate.validator.constraints.NotBlank;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import com.lc.ibps.cloud.entity.APIResult;
|
|
|
-import com.lc.ibps.org.party.persistence.entity.PartyRelPo;
|
|
|
+
|
|
|
+import javax.validation.Valid;
|
|
|
|
|
|
|
|
|
/**
|
|
|
@@ -57,5 +56,14 @@ public interface IPartyRelService {
|
|
|
public APIResult<Boolean> isOrgManager(
|
|
|
@NotBlank(message = "{com.lc.ibps.org.userId}")
|
|
|
@RequestParam(name = "userId", required = true) String userId);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 保存参与者与人对象
|
|
|
+ * @param partyRelPo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/save", method = RequestMethod.POST)
|
|
|
+ public APIResult<Void> save(
|
|
|
+ @RequestBody(required = true) @Valid PartyRelPo partyRelPo) ;
|
|
|
|
|
|
}
|