|
|
@@ -3,6 +3,7 @@ package com.siwei.apply.controller;
|
|
|
|
|
|
import com.siwei.apply.service.*;
|
|
|
import com.siwei.common.core.domain.R;
|
|
|
+import com.siwei.common.core.utils.StringUtils;
|
|
|
import com.siwei.common.core.web.controller.BaseController;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
@@ -91,6 +92,12 @@ public class ThematicController extends BaseController {
|
|
|
@PostMapping("/launchLand")
|
|
|
public R<Object> launchLand(String name, String ztry, String ztdw,String fwlx,String bh) {
|
|
|
try {
|
|
|
+ if(StringUtils.isBlank(ztry)){
|
|
|
+ ztry = "未知";
|
|
|
+ }
|
|
|
+ if(StringUtils.isBlank(ztdw)){
|
|
|
+ ztdw = "未知";
|
|
|
+ }
|
|
|
R<Object> res = thematicService.launchLand(name, ztry,ztdw,fwlx,bh);
|
|
|
return res;
|
|
|
} catch (Exception e) {
|