| | |
| | | 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 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 |