| | |
| | | import com.dsh.guns.modular.system.model.*; |
| | | import com.dsh.guns.modular.system.service.*; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import com.sun.org.apache.regexp.internal.RE; |
| | | import groovyjarjarpicocli.CommandLine; |
| | | import net.bytebuddy.asm.Advice; |
| | | import org.aspectj.weaver.ast.Var; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | private SiteLockClient siteLockClient; |
| | | |
| | | |
| | | /** |
| | | * 选择市 返回场地列表 |
| | | */ |
| | | @ResponseBody |
| | | @RequestMapping(value = "/getSiteByCity") |
| | | public List<TSite> getSiteByCity(String oneId) { |
| | | if (oneId.equals("")){ |
| | | return siteService.list(new QueryWrapper<TSite>()); |
| | | } |
| | | return siteService.list(new QueryWrapper<TSite>().eq("cityCode",oneId)); |
| | | } |
| | | /** |
| | | * 跳转到场地管理首页 |
| | | */ |
| | |
| | | Region name = regionService.getOne(new QueryWrapper<Region>().eq("name", province)); |
| | | return regionService.list(new QueryWrapper<Region>().eq("parent_id", name.getId())); |
| | | } |
| | | |
| | | /** |
| | | * 添加场地管理 |
| | | */ |