| | |
| | | import com.dsh.guns.modular.system.model.*; |
| | | import com.dsh.guns.modular.system.service.*; |
| | | import com.dsh.guns.modular.system.util.ResultUtil; |
| | | import net.bytebuddy.asm.Advice; |
| | | import org.aspectj.weaver.ast.Var; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Controller; |
| | | import org.springframework.ui.Model; |
| | |
| | | return siteClient.listExipre(vo); |
| | | } |
| | | |
| | | @Autowired |
| | | private TOperatorService tOperatorService; |
| | | |
| | | /** |
| | | * 跳转到添加场地管理 |
| | | */ |
| | |
| | | }else if(objectType == 3){ |
| | | stores= storeClient.getStoreByStoreStaffId(objectId);; |
| | | } |
| | | List<TOperator> list = tOperatorService.list(); |
| | | model.addAttribute("yysList",list); |
| | | model.addAttribute("userType",objectType); |
| | | HashSet<String> set = new HashSet<String>(list1); |
| | | QueryWrapper<TSiteType> wrapper = new QueryWrapper<>(); |
| | |
| | | return cityManagerClient.getAccount(oneId); |
| | | } |
| | | |
| | | |
| | | // 选择账号 获取对应门店 |
| | | @RequestMapping(value = "/getStore") |
| | | @ResponseBody |
| | | public Object getStore(Integer oneId) { |
| | | if (oneId == null){ |
| | | return null; |
| | | } |
| | | List<Store> list = storeClient.getStoreByCityManagerId(oneId); |
| | | if (list.size()==0){ |
| | | return list; |
| | | } |
| | | return list; |
| | | } |
| | | |
| | | // 选择市后 获取对应门店 |
| | | @RequestMapping(value = "/storeChangeNext") |
| | | @ResponseBody |