|
@@ -1,6 +1,7 @@
|
|
|
package com.onemap.apply.controller.zymlapplication;
|
|
|
|
|
|
import com.onemap.apply.domain.zymlapplication.TZymlApplicationRecord;
|
|
|
+import com.onemap.apply.domain.zymlapplication.TZymlFiled;
|
|
|
import com.onemap.apply.service.zymlapplication.IShareConfigurationService;
|
|
|
import com.onemap.apply.service.zymlapplication.ITZymlApplicationRecordService;
|
|
|
import com.onemap.common.core.utils.StringUtils;
|
|
@@ -33,7 +34,7 @@ public class ShareConfigurationController extends BaseController {
|
|
|
* 共享资源配置
|
|
|
*/
|
|
|
@Log(title = "共享资源配置", businessType = BusinessType.INSERT)
|
|
|
- @PutMapping
|
|
|
+ @PutMapping("/zyml")
|
|
|
public AjaxResult edit(@RequestBody TZymlApplicationRecord tZymlApplicationRecord) {
|
|
|
if (StringUtils.isNull(tZymlApplicationRecord)) {
|
|
|
return AjaxResult.error("参数缺失");
|
|
@@ -59,6 +60,17 @@ public class ShareConfigurationController extends BaseController {
|
|
|
return AjaxResult.success(shareConfigurationService.selectTZymlFiledList(tZymlApplicationRecord.getId()));
|
|
|
}
|
|
|
|
|
|
+ @PutMapping("/filed")
|
|
|
+ public AjaxResult filedsEdit(@RequestBody TZymlFiled zymlFiled) {
|
|
|
+ if (StringUtils.isNull(zymlFiled)) {
|
|
|
+ return AjaxResult.error("参数缺失");
|
|
|
+ }
|
|
|
+ if (StringUtils.isEmpty(zymlFiled.getId())) {
|
|
|
+ return AjaxResult.error("参数缺失");
|
|
|
+ }
|
|
|
+ return toAjax(shareConfigurationService.updateTZymlFiledList(zymlFiled));
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 详细信息
|
|
|
*/
|