|
@ -5,6 +5,7 @@ import com.kms.system.domain.SysXzqh; |
|
|
import com.kms.system.service.SysXzqhService; |
|
|
import com.kms.system.service.SysXzqhService; |
|
|
import com.kms.yxgh.base.Response; |
|
|
import com.kms.yxgh.base.Response; |
|
|
import io.swagger.annotations.Api; |
|
|
import io.swagger.annotations.Api; |
|
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
import lombok.AllArgsConstructor; |
|
|
import lombok.AllArgsConstructor; |
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
@ -31,6 +32,7 @@ public class CommonApiController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/xzgh/getGuangDong") |
|
|
@GetMapping("/xzgh/getGuangDong") |
|
|
|
|
|
@ApiOperation("获取广东省下属市区") |
|
|
public Response<List<SysXzqh>> getGuangDong() { |
|
|
public Response<List<SysXzqh>> getGuangDong() { |
|
|
List<SysXzqh> list = sysXzqhService.list(Wrappers.lambdaQuery(SysXzqh.class) |
|
|
List<SysXzqh> list = sysXzqhService.list(Wrappers.lambdaQuery(SysXzqh.class) |
|
|
.likeRight(SysXzqh::getXzqhdm, "44") |
|
|
.likeRight(SysXzqh::getXzqhdm, "44") |
|
|