~
This commit is contained in:
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdCgfy;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdCgfyService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdCgfyController extends BaseController<WgdCgfy> {
|
||||
return Result.success(iWgdCgfyService.getAllWgdCgfys());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllCgfys")
|
||||
@GetMapping("/queryAllCgfys")
|
||||
public ResponseMessage<Object> queryAllWgdCgfys(WgdCgfy wgdCgfy){//多条件查询
|
||||
List<WgdCgfy> wgdCgfys = iWgdCgfyService.queryAllWgdCgfys(wgdCgfy);
|
||||
PageInfo pageInfo = getPageInfo(wgdCgfy.getPager(),wgdCgfys);
|
||||
@@ -58,12 +55,12 @@ public class WgdCgfyController extends BaseController<WgdCgfy> {
|
||||
return Result.success(iWgdCgfyService.insertWgdCgfy(WgdCgfy));
|
||||
}
|
||||
|
||||
@GetMapping("/delCgfy")
|
||||
@DeleteMapping("/delCgfy")
|
||||
ResponseMessage<Object> deleteWgdCgfy(String id){//删除
|
||||
return Result.success(iWgdCgfyService.deleteWgdCgfy(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delCgfys")
|
||||
@DeleteMapping("/delCgfys")
|
||||
ResponseMessage<Object> deleteWgdCgfys(String ids){//批量删除
|
||||
return Result.success(iWgdCgfyService.deleteWgdCgfys(ids));
|
||||
}
|
||||
|
||||
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdFyfy;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdFyfyService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdFyfyController extends BaseController<WgdFyfy> {
|
||||
return Result.success(iWgdFyfyService.getAllWgdFyfys());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllFyfys")
|
||||
@GetMapping("/queryAllFyfys")
|
||||
public ResponseMessage<Object> queryAllWgdFyfys(WgdFyfy wgdFyfy){//多条件查询
|
||||
List<WgdFyfy> wgdFyfys = iWgdFyfyService.queryAllWgdFyfys(wgdFyfy);
|
||||
PageInfo pageInfo = getPageInfo(wgdFyfy.getPager(),wgdFyfys);
|
||||
@@ -58,12 +55,12 @@ public class WgdFyfyController extends BaseController<WgdFyfy> {
|
||||
return Result.success(iWgdFyfyService.insertWgdFyfy(WgdFyfy));
|
||||
}
|
||||
|
||||
@GetMapping("/delFyfy")
|
||||
@DeleteMapping("/delFyfy")
|
||||
ResponseMessage<Object> deleteWgdFyfy(String id){//删除
|
||||
return Result.success(iWgdFyfyService.deleteWgdFyfy(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delFyfys")
|
||||
@DeleteMapping("/delFyfys")
|
||||
ResponseMessage<Object> deleteWgdFyfys(String ids){//批量删除
|
||||
return Result.success(iWgdFyfyService.deleteWgdFyfys(ids));
|
||||
}
|
||||
|
||||
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdSrb;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdSrbService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdSrbController extends BaseController<WgdSrb> {
|
||||
return Result.success(iWgdSrbService.getAllWgdSrbs());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllSrbs")
|
||||
@GetMapping("/queryAllSrbs")
|
||||
public ResponseMessage<Object> queryAllWgdSrbs(WgdSrb wgdSrb){//多条件查询
|
||||
List<WgdSrb> wgdSrbs = iWgdSrbService.queryAllWgdSrbs(wgdSrb);
|
||||
PageInfo pageInfo = getPageInfo(wgdSrb.getPager(),wgdSrbs);
|
||||
@@ -58,12 +55,12 @@ public class WgdSrbController extends BaseController<WgdSrb> {
|
||||
return Result.success(iWgdSrbService.insertWgdSrb(WgdSrb));
|
||||
}
|
||||
|
||||
@GetMapping("/delSrb")
|
||||
@DeleteMapping("/delSrb")
|
||||
ResponseMessage<Object> deleteWgdSrb(String id){//删除
|
||||
return Result.success(iWgdSrbService.deleteWgdSrb(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delSrbs")
|
||||
@DeleteMapping("/delSrbs")
|
||||
ResponseMessage<Object> deleteWgdSrbs(String ids){//批量删除
|
||||
return Result.success(iWgdSrbService.deleteWgdSrbs(ids));
|
||||
}
|
||||
|
||||
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdWbtj;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdWbtjService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdWbtjController extends BaseController<WgdWbtj> {
|
||||
return Result.success(iWgdWbtjService.getAllWgdWbtjs());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllWbtjs")
|
||||
@GetMapping("/queryAllWbtjs")
|
||||
public ResponseMessage<Object> queryAllWgdWbtjs(WgdWbtj wgdWbtj){//多条件查询
|
||||
List<WgdWbtj> wgdWbtjs = iWgdWbtjService.queryAllWgdWbtjs(wgdWbtj);
|
||||
PageInfo pageInfo = getPageInfo(wgdWbtj.getPager(),wgdWbtjs);
|
||||
@@ -58,12 +55,12 @@ public class WgdWbtjController extends BaseController<WgdWbtj> {
|
||||
return Result.success(iWgdWbtjService.insertWgdWbtj(WgdWbtj));
|
||||
}
|
||||
|
||||
@GetMapping("/delWbtj")
|
||||
@DeleteMapping("/delWbtj")
|
||||
ResponseMessage<Object> deleteWgdWbtj(String id){//删除
|
||||
return Result.success(iWgdWbtjService.deleteWgdWbtj(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delWbtjs")
|
||||
@DeleteMapping("/delWbtjs")
|
||||
ResponseMessage<Object> deleteWgdWbtjs(String ids){//批量删除
|
||||
return Result.success(iWgdWbtjService.deleteWgdWbtjs(ids));
|
||||
}
|
||||
|
||||
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdWbxd;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdWbxdService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdWbxdController extends BaseController<WgdWbxd> {
|
||||
return Result.success(iWgdWbxdService.getAllWgdWbxds());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllWbxds")
|
||||
@GetMapping("/queryAllWbxds")
|
||||
public ResponseMessage<Object> queryAllWgdWbxds(WgdWbxd wgdWbxd){//多条件查询
|
||||
List<WgdWbxd> wgdWbxds = iWgdWbxdService.queryAllWgdWbxds(wgdWbxd);
|
||||
PageInfo pageInfo = getPageInfo(wgdWbxd.getPager(),wgdWbxds);
|
||||
@@ -58,12 +55,12 @@ public class WgdWbxdController extends BaseController<WgdWbxd> {
|
||||
return Result.success(iWgdWbxdService.insertWgdWbxd(WgdWbxd));
|
||||
}
|
||||
|
||||
@GetMapping("/delWbxd")
|
||||
@DeleteMapping("/delWbxd")
|
||||
ResponseMessage<Object> deleteWgdWbxd(String id){//删除
|
||||
return Result.success(iWgdWbxdService.deleteWgdWbxd(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delWbxds")
|
||||
@DeleteMapping("/delWbxds")
|
||||
ResponseMessage<Object> deleteWgdWbxds(String ids){//批量删除
|
||||
return Result.success(iWgdWbxdService.deleteWgdWbxds(ids));
|
||||
}
|
||||
|
||||
+4
-7
@@ -7,11 +7,8 @@ import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.wgdCensusLeo.entity.WgdZcb;
|
||||
import com.adc.da.slrs.wgdCensusLeo.service.IWgdZcbService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
import java.util.List;
|
||||
@@ -36,7 +33,7 @@ public class WgdZcbController extends BaseController<WgdZcb> {
|
||||
return Result.success(iWgdZcbService.getAllWgdZcbs());
|
||||
}
|
||||
|
||||
@PostMapping("/queryAllZcbs")
|
||||
@GetMapping("/queryAllZcbs")
|
||||
public ResponseMessage<Object> queryAllWgdZcbs(WgdZcb wgdZcb){//多条件查询
|
||||
List<WgdZcb> wgdZcbs = iWgdZcbService.queryAllWgdZcbs(wgdZcb);
|
||||
PageInfo pageInfo = getPageInfo(wgdZcb.getPager(),wgdZcbs);
|
||||
@@ -58,12 +55,12 @@ public class WgdZcbController extends BaseController<WgdZcb> {
|
||||
return Result.success(iWgdZcbService.insertWgdZcb(WgdZcb));
|
||||
}
|
||||
|
||||
@GetMapping("/delZcb")
|
||||
@DeleteMapping("/delZcb")
|
||||
ResponseMessage<Object> deleteWgdZcb(String id){//删除
|
||||
return Result.success(iWgdZcbService.deleteWgdZcb(id));
|
||||
}
|
||||
|
||||
@GetMapping("/delZcbs")
|
||||
@DeleteMapping("/delZcbs")
|
||||
ResponseMessage<Object> deleteWgdZcbs(String ids){//批量删除
|
||||
return Result.success(iWgdZcbService.deleteWgdZcbs(ids));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user