|
@ -47,7 +47,7 @@ public class BaseDoctorRoleEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiOperation(value = "创建")
|
|
|
public Envelop create (
|
|
|
@ApiParam(name = "jsonData", value = "Json数据", required = true)
|
|
|
@RequestBody String jsonData){
|
|
|
@RequestParam String jsonData){
|
|
|
try {
|
|
|
JSONObject json = JSON.parseObject(jsonData);
|
|
|
String roleCode = json.getString("roleCode");
|
|
@ -116,7 +116,7 @@ public class BaseDoctorRoleEndpoint extends EnvelopRestEndpoint {
|
|
|
@ApiOperation(value = "更新")
|
|
|
public Envelop update (
|
|
|
@ApiParam(name = "jsonData", value = "Json数据", required = true)
|
|
|
@RequestBody String jsonData) {
|
|
|
@RequestParam String jsonData) {
|
|
|
try {
|
|
|
//先删除在新增
|
|
|
JSONObject json = JSON.parseObject(jsonData);
|