|
@@ -17,6 +17,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
|
|
+import com.uas.platform.b2b.model.Distribute;
|
|
|
import com.uas.platform.b2b.model.User;
|
|
import com.uas.platform.b2b.model.User;
|
|
|
import com.uas.platform.b2b.model.UserInfo;
|
|
import com.uas.platform.b2b.model.UserInfo;
|
|
|
import com.uas.platform.b2b.model.Vendor;
|
|
import com.uas.platform.b2b.model.Vendor;
|
|
@@ -269,4 +270,13 @@ public class UserController {
|
|
|
public List<Vendor> findChooseVendor(@PathVariable("uu") Long userUU) {
|
|
public List<Vendor> findChooseVendor(@PathVariable("uu") Long userUU) {
|
|
|
return userService.findChooseVendor(userUU);
|
|
return userService.findChooseVendor(userUU);
|
|
|
}
|
|
}
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询当前登录用户的分分配企业
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ @RequestMapping(value = "/findDistribute", method = RequestMethod.GET)
|
|
|
|
|
+ @ResponseBody
|
|
|
|
|
+ public List<Vendor> findDistribute() {
|
|
|
|
|
+ return userService.findDistribute();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|